docs: 在全语言文档中补充 --reviewer-prompt 与 --commit-msg-prompt 配置命令

This commit is contained in:
unclesam committed 2026-08-23 22:39:42 +08:00
1 parent 35193909e8
commit 49867987ab
3 files changed
+18

No files matched your search

+6
View File
@@ -150,6 +150,12 @@ git air config set --price-input 0.75 --price-output 3.75
# 14. 永久设置 Commit Message 默认语言 (可选: auto, zh, en, ja, ko)
git air config set --commit-lang en
# 15. 配置专属代码审查自定义提示词 (可选)
git air config set --reviewer-prompt "你是一位严谨的 Go 资深专家,重点关注并发与内存"
# 16. 配置专属 Commit Message 自定义提示词 (可选)
git air config set --commit-msg-prompt "生成提交信息时,严格使用 Angular 规范"
```
查看当前配置状态(含自定义费率与脱敏 Key):
+6
View File
@@ -149,6 +149,12 @@ git air config set --price-input 0.75 --price-output 3.75
# 14. Permanently Set Default Commit Message Language (auto, zh, en, ja, ko)
git air config set --commit-lang en
# 15. Set Dedicated Custom Code Reviewer Prompt (Optional)
git air config set --reviewer-prompt "You are a principal Go architect focusing on concurrency and memory safety"
# 16. Set Dedicated Custom Commit Message Prompt (Optional)
git air config set --commit-msg-prompt "Always follow the strict Angular commit conventions"
```
Check current configuration (including masked keys and custom rates):
+6
View File
@@ -149,6 +149,12 @@ git air config set --price-input 0.75 --price-output 3.75
# 14. コミットメッセージのデフォルト言語を永続設定 (任意: auto, zh, en, ja, ko)
git air config set --commit-lang ja
# 15. コードレビュー専用のカスタムプロンプトを設定 (任意)
git air config set --reviewer-prompt "並行処理とメモリ安全性を最重要視するGoシニアアーキテクトとしてレビューしてください"
# 16. コミットメッセージ専用のカスタムプロンプトを設定 (任意)
git air config set --commit-msg-prompt "AngularのConventional Commits規範に厳格に従って生成してください"
```
現在の設定を確認(カスタム料金やマスク化Keyを含む):