Phase B-provide of epic #1258. Adds a build-generated skills/ dir + a skills manifest field so plugin-installed GSD exposes gsd-core:<skill> the native Claude Code way. Closes the gap where plugin-only installs lacked the skill surface because bin/install.js never ran. - scripts/gen-plugin-skills.cjs: build step converting commands/gsd/*.md to skills/gsd-<stem>/SKILL.md via convertClaudeCommandToClaudeSkill - .claude-plugin/plugin.json: add "skills": "./skills/" - package.json: add skills to files, gen:plugin-skills to build chain - tests/issue-766-plugin-manifest.test.cjs: Section H conformance (manifest field + dir + frontmatter + count parity) + C2 skills symlink - docs/adr/766-*.md: dated amendment adding skills surface row - .changeset/rapid-bears-hum.md: type Added - skills/: 69 generated gsd-<stem>/SKILL.md files (build-committed) Closes #1596
2.4 KiB
2.4 KiB
name, description, argument-hint, allowed-tools
| name | description | argument-hint | allowed-tools | ||||
|---|---|---|---|---|---|---|---|
| gsd-config | Configure GSD settings — workflow toggles, advanced knobs, integrations, and model profile | [--advanced | --integrations | --profile <name>] |
|
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 : Switch model profile (quality|balanced|budget|inherit) → set-profile (inline)
| 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>
Parse the first token of $ARGUMENTS:
- If it is
--advanced: strip the flag, execute settings-advanced workflow - If it is
--integrations: strip the flag, execute settings-integrations workflow - If it starts with
--profile: extract the profile name (remainder after--profile), then:- Verify
gsd-toolsis on PATH viacommand -v gsd-tools; if absent, emit the install hintInstall GSD via 'npm i -g @opengsd/gsd-core'and stop. - Run:
gsd-tools query config-set-model-profile <profile-name> --rawand display the output verbatim.
- Verify
- Otherwise: execute settings workflow (no argument needed)