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
1.2 KiB
1.2 KiB
name, description, argument-hint, allowed-tools
| name | description | argument-hint | allowed-tools | ||||
|---|---|---|---|---|---|---|---|
| gsd-health | Diagnose planning directory health and optionally repair issues | [--repair] [--context] |
|
--context runs an orthogonal check: the running session's context utilization. The workflow asks for the model's tokensUsed + contextWindow, calls gsd-tools query validate.context, and renders one of three states:
| Utilization | State | Action |
|---|---|---|
| < 60% | healthy | no action — context is comfortable |
| 60% – 70% | warning | recommend /gsd-thread to start fresh |
| ≥ 70% | critical | reasoning quality may degrade past the fracture point |
<execution_context> @~/.claude/gsd-core/workflows/health.md </execution_context>
Execute end-to-end. Parse `--repair` and `--context` flags from arguments and pass to workflow.