gsd-config
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<objective>
Configure GSD settings interactively with a single consolidated command.
</routing>
Mode routing:
- default (no flag): Common-case toggles (model, research, plan_check, verifier, branching) → settings workflow
- --advanced: Power-user knobs (planning tuning, timeouts, branch templates, cross-AI execution) → settings-advanced workflow
- --integrations: Third-party API keys, code-review CLI routing, agent-skill injection → settings-integrations workflow
- --profile <name>: Switch model profile (quality|balanced|budget|inherit) → set-profile (inline) </objective>
| Flag | Action | Workflow |
|---|---|---|
| (none) | Interactive 5-question common-case config prompt | settings |
| --advanced | Power-user knobs: planning, execution, discussion, cross-AI, git, runtime | settings-advanced |
| --integrations | API keys (Brave/Firecrawl/Exa), review CLI routing, agent skills | settings-integrations |
| --profile <name> | Switch model profile without interactive prompt | gsd-tools query config-set-model-profile |
<execution_context>
@/.claude/gsd-core/workflows/settings.md
@/.claude/gsd-core/workflows/settings-advanced.md
@~/.claude/gsd-core/workflows/settings-integrations.md
</execution_context>
<context>
Arguments: $ARGUMENTS
Parse the first token of $ARGUMENTS:
- If it is : strip the flag, execute settings-advanced workflow
--advanced - If it is : strip the flag, execute settings-integrations workflow
--integrations - If it starts with : extract the profile name (remainder after
--profile), then:--profile- Verify is on PATH via
gsd-tools; if absent, emit the install hintcommand -v gsd-toolsand stop.Install GSD via 'npm i -g @opengsd/gsd-core' - Run: and display the output verbatim.
gsd-tools query config-set-model-profile <profile-name> --raw
- Verify
- Otherwise: execute settings workflow (no argument needed) </context>
<objective>
通过单个整合命令交互式配置GSD设置。
</routing>
模式路由:
- 默认 (无标志): 通用场景开关(model、research、plan_check、verifier、branching)→ settings工作流
- --advanced: 高级用户控制项(规划调优、超时设置、分支模板、跨AI执行)→ settings-advanced工作流
- --integrations: 第三方API密钥、代码审查CLI路由、agent-skill注入 → settings-integrations工作流
- --profile <name>: 切换模型配置文件(quality|balanced|budget|inherit)→ set-profile(内联方式) </objective>
| 标志 | 操作 | 工作流 |
|---|---|---|
| 无 | 交互式5个问题的通用场景配置提示 | settings |
| --advanced | 高级用户控制项:规划、执行、讨论、跨AI、git、运行时 | settings-advanced |
| --integrations | API密钥(Brave/Firecrawl/Exa)、审查CLI路由、agent技能 | settings-integrations |
| --profile <name> | 无需交互式提示即可切换模型配置文件 | gsd-tools query config-set-model-profile |
<execution_context>
@/.claude/gsd-core/workflows/settings.md
@/.claude/gsd-core/workflows/settings-advanced.md
@~/.claude/gsd-core/workflows/settings-integrations.md
</execution_context>
<context>
参数: $ARGUMENTS
解析$ARGUMENTS的第一个令牌:
- 如果是: 移除该标志,执行settings-advanced工作流
--advanced - 如果是: 移除该标志,执行settings-integrations工作流
--integrations - 如果以开头: 提取配置文件名称(
--profile之后的剩余部分),然后:--profile- 通过验证
command -v gsd-tools是否在PATH中;如果不存在,输出安装提示gsd-tools并停止。Install GSD via 'npm i -g @opengsd/gsd-core' - 运行: 并原样显示输出。
gsd-tools query config-set-model-profile <profile-name> --raw
- 通过
- 否则: 执行settings工作流(无需参数) </context>