get-shit-done-cc 1.34.2 → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -14
- package/README.zh-CN.md +8 -4
- package/agents/gsd-advisor-researcher.md +23 -0
- package/agents/gsd-ai-researcher.md +133 -0
- package/agents/gsd-code-fixer.md +11 -10
- package/agents/gsd-code-reviewer.md +2 -2
- package/agents/gsd-codebase-mapper.md +13 -2
- package/agents/gsd-debug-session-manager.md +314 -0
- package/agents/gsd-debugger.md +147 -76
- package/agents/gsd-doc-verifier.md +1 -1
- package/agents/gsd-doc-writer.md +14 -1
- package/agents/gsd-domain-researcher.md +153 -0
- package/agents/gsd-eval-auditor.md +175 -0
- package/agents/gsd-eval-planner.md +154 -0
- package/agents/gsd-executor.md +108 -38
- package/agents/gsd-framework-selector.md +160 -0
- package/agents/gsd-integration-checker.md +12 -1
- package/agents/gsd-intel-updater.md +40 -20
- package/agents/gsd-nyquist-auditor.md +14 -3
- package/agents/gsd-pattern-mapper.md +335 -0
- package/agents/gsd-phase-researcher.md +112 -13
- package/agents/gsd-plan-checker.md +104 -10
- package/agents/gsd-planner.md +125 -167
- package/agents/gsd-project-researcher.md +25 -2
- package/agents/gsd-research-synthesizer.md +3 -3
- package/agents/gsd-roadmapper.md +12 -1
- package/agents/gsd-security-auditor.md +14 -3
- package/agents/gsd-ui-auditor.md +3 -3
- package/agents/gsd-ui-checker.md +11 -2
- package/agents/gsd-ui-researcher.md +27 -4
- package/agents/gsd-verifier.md +13 -19
- package/bin/install.js +671 -77
- package/commands/gsd/add-backlog.md +13 -10
- package/commands/gsd/ai-integration-phase.md +36 -0
- package/commands/gsd/autonomous.md +2 -1
- package/commands/gsd/code-review-fix.md +1 -1
- package/commands/gsd/code-review.md +1 -1
- package/commands/gsd/debug.md +175 -98
- package/commands/gsd/discuss-phase.md +3 -3
- package/commands/gsd/eval-review.md +32 -0
- package/commands/gsd/execute-phase.md +2 -2
- package/commands/gsd/extract_learnings.md +22 -0
- package/commands/gsd/from-gsd2.md +47 -0
- package/commands/gsd/graphify.md +201 -0
- package/commands/gsd/inbox.md +38 -0
- package/commands/gsd/intel.md +9 -9
- package/commands/gsd/manager.md +1 -1
- package/commands/gsd/next.md +3 -1
- package/commands/gsd/plan-phase.md +1 -1
- package/commands/gsd/progress.md +2 -1
- package/commands/gsd/quick.md +125 -1
- package/commands/gsd/reapply-patches.md +43 -4
- package/commands/gsd/research-phase.md +3 -3
- package/commands/gsd/review-backlog.md +2 -2
- package/commands/gsd/review.md +4 -2
- package/commands/gsd/set-profile.md +1 -1
- package/commands/gsd/sketch-wrap-up.md +31 -0
- package/commands/gsd/sketch.md +45 -0
- package/commands/gsd/spec-phase.md +62 -0
- package/commands/gsd/spike-wrap-up.md +31 -0
- package/commands/gsd/spike.md +41 -0
- package/commands/gsd/thread.md +139 -39
- package/commands/gsd/workstreams.md +7 -7
- package/get-shit-done/bin/gsd-tools.cjs +219 -11
- package/get-shit-done/bin/lib/audit.cjs +757 -0
- package/get-shit-done/bin/lib/commands.cjs +17 -7
- package/get-shit-done/bin/lib/config.cjs +82 -36
- package/get-shit-done/bin/lib/core.cjs +212 -12
- package/get-shit-done/bin/lib/frontmatter.cjs +6 -8
- package/get-shit-done/bin/lib/graphify.cjs +494 -0
- package/get-shit-done/bin/lib/gsd2-import.cjs +511 -0
- package/get-shit-done/bin/lib/init.cjs +371 -18
- package/get-shit-done/bin/lib/intel.cjs +10 -31
- package/get-shit-done/bin/lib/milestone.cjs +18 -17
- package/get-shit-done/bin/lib/model-profiles.cjs +1 -0
- package/get-shit-done/bin/lib/phase.cjs +249 -122
- package/get-shit-done/bin/lib/profile-output.cjs +17 -5
- package/get-shit-done/bin/lib/roadmap.cjs +12 -5
- package/get-shit-done/bin/lib/state.cjs +505 -240
- package/get-shit-done/bin/lib/template.cjs +8 -4
- package/get-shit-done/bin/lib/uat.cjs +2 -1
- package/get-shit-done/bin/lib/verify.cjs +115 -46
- package/get-shit-done/references/ai-evals.md +156 -0
- package/get-shit-done/references/ai-frameworks.md +186 -0
- package/get-shit-done/references/artifact-types.md +18 -0
- package/get-shit-done/references/autonomous-smart-discuss.md +277 -0
- package/get-shit-done/references/checkpoints.md +30 -0
- package/get-shit-done/references/common-bug-patterns.md +49 -49
- package/get-shit-done/references/continuation-format.md +11 -7
- package/get-shit-done/references/debugger-philosophy.md +76 -0
- package/get-shit-done/references/decimal-phase-calculation.md +5 -5
- package/get-shit-done/references/executor-examples.md +110 -0
- package/get-shit-done/references/git-integration.md +4 -4
- package/get-shit-done/references/git-planning-commit.md +6 -4
- package/get-shit-done/references/ios-scaffold.md +123 -0
- package/get-shit-done/references/mandatory-initial-read.md +2 -0
- package/get-shit-done/references/phase-argument-parsing.md +3 -3
- package/get-shit-done/references/planner-antipatterns.md +89 -0
- package/get-shit-done/references/planner-revision.md +1 -1
- package/get-shit-done/references/planner-source-audit.md +73 -0
- package/get-shit-done/references/planning-config.md +33 -8
- package/get-shit-done/references/project-skills-discovery.md +19 -0
- package/get-shit-done/references/sketch-interactivity.md +41 -0
- package/get-shit-done/references/sketch-theme-system.md +94 -0
- package/get-shit-done/references/sketch-tooling.md +45 -0
- package/get-shit-done/references/sketch-variant-patterns.md +81 -0
- package/get-shit-done/references/tdd.md +67 -0
- package/get-shit-done/references/universal-anti-patterns.md +5 -0
- package/get-shit-done/references/workstream-flag.md +11 -11
- package/get-shit-done/templates/AI-SPEC.md +246 -0
- package/get-shit-done/templates/DEBUG.md +7 -2
- package/get-shit-done/templates/config.json +10 -2
- package/get-shit-done/templates/research.md +40 -0
- package/get-shit-done/templates/spec.md +307 -0
- package/get-shit-done/templates/state.md +8 -0
- package/get-shit-done/workflows/add-phase.md +5 -5
- package/get-shit-done/workflows/add-tests.md +6 -3
- package/get-shit-done/workflows/add-todo.md +5 -3
- package/get-shit-done/workflows/ai-integration-phase.md +284 -0
- package/get-shit-done/workflows/audit-fix.md +1 -1
- package/get-shit-done/workflows/audit-milestone.md +9 -9
- package/get-shit-done/workflows/audit-uat.md +1 -1
- package/get-shit-done/workflows/autonomous.md +20 -288
- package/get-shit-done/workflows/check-todos.md +4 -2
- package/get-shit-done/workflows/cleanup.md +3 -1
- package/get-shit-done/workflows/code-review-fix.md +3 -3
- package/get-shit-done/workflows/code-review.md +6 -6
- package/get-shit-done/workflows/complete-milestone.md +97 -24
- package/get-shit-done/workflows/diagnose-issues.md +4 -4
- package/get-shit-done/workflows/discovery-phase.md +2 -0
- package/get-shit-done/workflows/discuss-phase-assumptions.md +11 -11
- package/get-shit-done/workflows/discuss-phase.md +143 -19
- package/get-shit-done/workflows/do.md +8 -2
- package/get-shit-done/workflows/docs-update.md +5 -3
- package/get-shit-done/workflows/eval-review.md +155 -0
- package/get-shit-done/workflows/execute-phase.md +338 -54
- package/get-shit-done/workflows/execute-plan.md +80 -104
- package/get-shit-done/workflows/explore.md +3 -1
- package/get-shit-done/workflows/extract_learnings.md +232 -0
- package/get-shit-done/workflows/forensics.md +3 -3
- package/get-shit-done/workflows/health.md +2 -2
- package/get-shit-done/workflows/help.md +59 -1
- package/get-shit-done/workflows/import.md +3 -1
- package/get-shit-done/workflows/inbox.md +3 -0
- package/get-shit-done/workflows/insert-phase.md +4 -4
- package/get-shit-done/workflows/list-workspaces.md +1 -1
- package/get-shit-done/workflows/manager.md +5 -3
- package/get-shit-done/workflows/map-codebase.md +19 -5
- package/get-shit-done/workflows/milestone-summary.md +6 -6
- package/get-shit-done/workflows/new-milestone.md +63 -9
- package/get-shit-done/workflows/new-project.md +126 -22
- package/get-shit-done/workflows/new-workspace.md +6 -4
- package/get-shit-done/workflows/next.md +74 -7
- package/get-shit-done/workflows/note.md +2 -0
- package/get-shit-done/workflows/pause-work.md +11 -7
- package/get-shit-done/workflows/plan-milestone-gaps.md +3 -3
- package/get-shit-done/workflows/plan-phase.md +281 -62
- package/get-shit-done/workflows/plant-seed.md +4 -1
- package/get-shit-done/workflows/pr-branch.md +41 -13
- package/get-shit-done/workflows/profile-user.md +15 -13
- package/get-shit-done/workflows/progress.md +133 -21
- package/get-shit-done/workflows/quick.md +67 -27
- package/get-shit-done/workflows/remove-phase.md +8 -8
- package/get-shit-done/workflows/remove-workspace.md +4 -2
- package/get-shit-done/workflows/research-phase.md +3 -3
- package/get-shit-done/workflows/resume-project.md +3 -3
- package/get-shit-done/workflows/review.md +71 -8
- package/get-shit-done/workflows/scan.md +1 -1
- package/get-shit-done/workflows/secure-phase.md +7 -5
- package/get-shit-done/workflows/settings.md +24 -7
- package/get-shit-done/workflows/ship.md +71 -6
- package/get-shit-done/workflows/sketch-wrap-up.md +283 -0
- package/get-shit-done/workflows/sketch.md +260 -0
- package/get-shit-done/workflows/spec-phase.md +262 -0
- package/get-shit-done/workflows/spike-wrap-up.md +273 -0
- package/get-shit-done/workflows/spike.md +270 -0
- package/get-shit-done/workflows/stats.md +1 -1
- package/get-shit-done/workflows/transition.md +12 -12
- package/get-shit-done/workflows/ui-phase.md +20 -12
- package/get-shit-done/workflows/ui-review.md +6 -4
- package/get-shit-done/workflows/undo.md +3 -1
- package/get-shit-done/workflows/update.md +113 -2
- package/get-shit-done/workflows/validate-phase.md +7 -5
- package/get-shit-done/workflows/verify-phase.md +93 -10
- package/get-shit-done/workflows/verify-work.md +50 -10
- package/hooks/dist/gsd-check-update-worker.js +108 -0
- package/hooks/dist/gsd-check-update.js +13 -88
- package/hooks/dist/gsd-context-monitor.js +33 -4
- package/hooks/dist/gsd-phase-boundary.sh +1 -0
- package/hooks/dist/gsd-read-guard.js +5 -0
- package/hooks/dist/gsd-session-state.sh +1 -0
- package/hooks/dist/gsd-statusline.js +149 -15
- package/hooks/dist/gsd-validate-commit.sh +1 -0
- package/hooks/gsd-check-update-worker.js +108 -0
- package/hooks/gsd-check-update.js +13 -88
- package/hooks/gsd-context-monitor.js +33 -4
- package/hooks/gsd-phase-boundary.sh +1 -0
- package/hooks/gsd-read-guard.js +5 -0
- package/hooks/gsd-read-injection-scanner.js +153 -0
- package/hooks/gsd-session-state.sh +1 -0
- package/hooks/gsd-statusline.js +149 -15
- package/hooks/gsd-validate-commit.sh +1 -0
- package/package.json +1 -1
- package/scripts/build-hooks.js +1 -0
- package/scripts/prompt-injection-scan.sh +2 -0
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**English** · [Português](README.pt-BR.md) · [简体中文](README.zh-CN.md) · [日本語](README.ja-JP.md) · [한국어](README.ko-KR.md)
|
|
6
6
|
|
|
7
|
-
**A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code, OpenCode, Gemini CLI, Kilo, Codex, Copilot, Cursor, Windsurf, Antigravity, Augment, Trae, and
|
|
7
|
+
**A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code, OpenCode, Gemini CLI, Kilo, Codex, Copilot, Cursor, Windsurf, Antigravity, Augment, Trae, Qwen Code, Cline, and CodeBuddy.**
|
|
8
8
|
|
|
9
9
|
**Solves context rot — the quality degradation that happens as Claude fills its context window.**
|
|
10
10
|
|
|
@@ -89,13 +89,14 @@ People who want to describe what they want and have it built correctly — witho
|
|
|
89
89
|
|
|
90
90
|
Built-in quality gates catch real problems: schema drift detection flags ORM changes missing migrations, security enforcement anchors verification to threat models, and scope reduction detection prevents the planner from silently dropping your requirements.
|
|
91
91
|
|
|
92
|
-
### v1.
|
|
92
|
+
### v1.36.0 Highlights
|
|
93
93
|
|
|
94
|
-
- **
|
|
95
|
-
- **
|
|
96
|
-
- **
|
|
97
|
-
- **
|
|
98
|
-
- **
|
|
94
|
+
- **Knowledge graph integration** — `/gsd-graphify` brings knowledge graphs to planning agents for richer context connections
|
|
95
|
+
- **SDK typed query foundation** — Registry-based `gsd-sdk query` command with classified errors and handlers for state, roadmap, phase lifecycle, and config
|
|
96
|
+
- **TDD pipeline mode** — Opt-in test-driven development workflow with `--tdd` flag
|
|
97
|
+
- **Context-window-aware prompt thinning** — Automatic prompt size reduction for sub-200K models
|
|
98
|
+
- **Project skills awareness** — 9 GSD agents now discover and use project-scoped skills
|
|
99
|
+
- **30+ bug fixes** — Worktree safety, state management, installer paths, and health check optimizations
|
|
99
100
|
|
|
100
101
|
---
|
|
101
102
|
|
|
@@ -106,17 +107,19 @@ npx get-shit-done-cc@latest
|
|
|
106
107
|
```
|
|
107
108
|
|
|
108
109
|
The installer prompts you to choose:
|
|
109
|
-
1. **Runtime** — Claude Code, OpenCode, Gemini, Kilo, Codex, Copilot, Cursor, Windsurf, Antigravity, Augment, Trae, Cline, or all (interactive multi-select — pick multiple runtimes in a single install session)
|
|
110
|
+
1. **Runtime** — Claude Code, OpenCode, Gemini, Kilo, Codex, Copilot, Cursor, Windsurf, Antigravity, Augment, Trae, Qwen Code, CodeBuddy, Cline, or all (interactive multi-select — pick multiple runtimes in a single install session)
|
|
110
111
|
2. **Location** — Global (all projects) or local (current project only)
|
|
111
112
|
|
|
112
113
|
Verify with:
|
|
113
|
-
- Claude Code / Gemini / Copilot / Antigravity: `/gsd-help`
|
|
114
|
-
- OpenCode / Kilo / Augment / Trae: `/gsd-help`
|
|
114
|
+
- Claude Code / Gemini / Copilot / Antigravity / Qwen Code: `/gsd-help`
|
|
115
|
+
- OpenCode / Kilo / Augment / Trae / CodeBuddy: `/gsd-help`
|
|
115
116
|
- Codex: `$gsd-help`
|
|
116
117
|
- Cline: GSD installs via `.clinerules` — verify by checking `.clinerules` exists
|
|
117
118
|
|
|
118
119
|
> [!NOTE]
|
|
119
|
-
> Claude Code 2.1.88
|
|
120
|
+
> Claude Code 2.1.88+, Qwen Code, and Codex install as skills (`.claude/skills/`, `./.codex/skills/`, or the matching global `~/.claude/skills/` / `~/.codex/skills/` roots). Older Claude Code versions use `commands/gsd/`. `~/.claude/get-shit-done/skills/` is import-only for legacy migration. The installer handles all formats automatically.
|
|
121
|
+
|
|
122
|
+
The canonical discovery contract is documented in [docs/skills/discovery-contract.md](docs/skills/discovery-contract.md).
|
|
120
123
|
|
|
121
124
|
> [!TIP]
|
|
122
125
|
> For source-based installs or environments where npm is unavailable, see **[docs/manual-update.md](docs/manual-update.md)**.
|
|
@@ -175,6 +178,14 @@ npx get-shit-done-cc --augment --local # Install to ./.augment/
|
|
|
175
178
|
npx get-shit-done-cc --trae --global # Install to ~/.trae/
|
|
176
179
|
npx get-shit-done-cc --trae --local # Install to ./.trae/
|
|
177
180
|
|
|
181
|
+
# Qwen Code
|
|
182
|
+
npx get-shit-done-cc --qwen --global # Install to ~/.qwen/
|
|
183
|
+
npx get-shit-done-cc --qwen --local # Install to ./.qwen/
|
|
184
|
+
|
|
185
|
+
# CodeBuddy
|
|
186
|
+
npx get-shit-done-cc --codebuddy --global # Install to ~/.codebuddy/
|
|
187
|
+
npx get-shit-done-cc --codebuddy --local # Install to ./.codebuddy/
|
|
188
|
+
|
|
178
189
|
# Cline
|
|
179
190
|
npx get-shit-done-cc --cline --global # Install to ~/.cline/
|
|
180
191
|
npx get-shit-done-cc --cline --local # Install to ./.clinerules
|
|
@@ -184,7 +195,7 @@ npx get-shit-done-cc --all --global # Install to all directories
|
|
|
184
195
|
```
|
|
185
196
|
|
|
186
197
|
Use `--global` (`-g`) or `--local` (`-l`) to skip the location prompt.
|
|
187
|
-
Use `--claude`, `--opencode`, `--gemini`, `--kilo`, `--codex`, `--copilot`, `--cursor`, `--windsurf`, `--antigravity`, `--augment`, `--trae`, `--cline`, or `--all` to skip the runtime prompt.
|
|
198
|
+
Use `--claude`, `--opencode`, `--gemini`, `--kilo`, `--codex`, `--copilot`, `--cursor`, `--windsurf`, `--antigravity`, `--augment`, `--trae`, `--qwen`, `--codebuddy`, `--cline`, or `--all` to skip the runtime prompt.
|
|
188
199
|
Use `--sdk` to also install the GSD SDK CLI (`gsd-sdk`) for headless autonomous execution.
|
|
189
200
|
|
|
190
201
|
</details>
|
|
@@ -584,6 +595,15 @@ You're never locked in. The system adapts.
|
|
|
584
595
|
| `/gsd-list-workspaces` | Show all GSD workspaces and their status |
|
|
585
596
|
| `/gsd-remove-workspace` | Remove workspace and clean up worktrees |
|
|
586
597
|
|
|
598
|
+
### Spiking & Sketching
|
|
599
|
+
|
|
600
|
+
| Command | What it does |
|
|
601
|
+
|---------|--------------|
|
|
602
|
+
| `/gsd-spike [idea] [--quick]` | Throwaway experiments to validate feasibility before planning — no project init required |
|
|
603
|
+
| `/gsd-sketch [idea] [--quick]` | Throwaway HTML mockups with multi-variant exploration — no project init required |
|
|
604
|
+
| `/gsd-spike-wrap-up` | Package spike findings into a project-local skill for future build conversations |
|
|
605
|
+
| `/gsd-sketch-wrap-up` | Package sketch design findings into a project-local skill for future builds |
|
|
606
|
+
|
|
587
607
|
### UI Design
|
|
588
608
|
|
|
589
609
|
| Command | What it does |
|
|
@@ -809,8 +829,9 @@ This prevents Claude from reading these files entirely, regardless of what comma
|
|
|
809
829
|
|
|
810
830
|
**Commands not found after install?**
|
|
811
831
|
- Restart your runtime to reload commands/skills
|
|
812
|
-
- Verify files exist in `~/.claude/skills/gsd-*/SKILL.md`
|
|
813
|
-
- For
|
|
832
|
+
- Verify files exist in `~/.claude/skills/gsd-*/SKILL.md` or `~/.codex/skills/gsd-*/SKILL.md` for managed global installs
|
|
833
|
+
- For local installs, verify `.claude/skills/gsd-*/SKILL.md` or `./.codex/skills/gsd-*/SKILL.md`
|
|
834
|
+
- Legacy Claude Code installs still use `~/.claude/commands/gsd/`
|
|
814
835
|
|
|
815
836
|
**Commands not working as expected?**
|
|
816
837
|
- Run `/gsd-help` to verify installation
|
|
@@ -846,6 +867,8 @@ npx get-shit-done-cc --windsurf --global --uninstall
|
|
|
846
867
|
npx get-shit-done-cc --antigravity --global --uninstall
|
|
847
868
|
npx get-shit-done-cc --augment --global --uninstall
|
|
848
869
|
npx get-shit-done-cc --trae --global --uninstall
|
|
870
|
+
npx get-shit-done-cc --qwen --global --uninstall
|
|
871
|
+
npx get-shit-done-cc --codebuddy --global --uninstall
|
|
849
872
|
npx get-shit-done-cc --cline --global --uninstall
|
|
850
873
|
|
|
851
874
|
# Local installs (current project)
|
|
@@ -860,6 +883,8 @@ npx get-shit-done-cc --windsurf --local --uninstall
|
|
|
860
883
|
npx get-shit-done-cc --antigravity --local --uninstall
|
|
861
884
|
npx get-shit-done-cc --augment --local --uninstall
|
|
862
885
|
npx get-shit-done-cc --trae --local --uninstall
|
|
886
|
+
npx get-shit-done-cc --qwen --local --uninstall
|
|
887
|
+
npx get-shit-done-cc --codebuddy --local --uninstall
|
|
863
888
|
npx get-shit-done-cc --cline --local --uninstall
|
|
864
889
|
```
|
|
865
890
|
|
package/README.zh-CN.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[English](README.md) · [Português](README.pt-BR.md) · **简体中文** · [日本語](README.ja-JP.md) · [한국어](README.ko-KR.md)
|
|
6
6
|
|
|
7
|
-
**一个轻量但强大的元提示、上下文工程与规格驱动开发系统,适用于 Claude Code、OpenCode、Gemini CLI、Kilo、Codex、Copilot、Cursor、Windsurf、Antigravity、Augment、Trae 和 Cline。**
|
|
7
|
+
**一个轻量但强大的元提示、上下文工程与规格驱动开发系统,适用于 Claude Code、OpenCode、Gemini CLI、Kilo、Codex、Copilot、Cursor、Windsurf、Antigravity、Augment、Trae、CodeBuddy 和 Cline。**
|
|
8
8
|
|
|
9
9
|
**它解决的是 context rot:随着 Claude 的上下文窗口被填满,输出质量逐步劣化的问题。**
|
|
10
10
|
|
|
@@ -92,12 +92,12 @@ npx get-shit-done-cc@latest
|
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
安装器会提示你选择:
|
|
95
|
-
1. **运行时**:Claude Code、OpenCode、Gemini、Kilo、Codex、Copilot、Cursor、Windsurf、Antigravity、Augment、Trae、Cline,或全部
|
|
95
|
+
1. **运行时**:Claude Code、OpenCode、Gemini、Kilo、Codex、Copilot、Cursor、Windsurf、Antigravity、Augment、Trae、CodeBuddy、Cline,或全部
|
|
96
96
|
2. **安装位置**:全局(所有项目)或本地(仅当前项目)
|
|
97
97
|
|
|
98
98
|
安装后可这样验证:
|
|
99
99
|
- Claude Code / Gemini / Copilot / Antigravity:`/gsd-help`
|
|
100
|
-
- OpenCode / Kilo / Augment / Trae:`/gsd-help`
|
|
100
|
+
- OpenCode / Kilo / Augment / Trae / CodeBuddy:`/gsd-help`
|
|
101
101
|
- Codex:`$gsd-help`
|
|
102
102
|
- Cline:GSD 通过 `.clinerules` 安装 — 检查 `.clinerules` 是否存在
|
|
103
103
|
|
|
@@ -157,6 +157,10 @@ npx get-shit-done-cc --augment --local # 安装到 ./.augment/
|
|
|
157
157
|
npx get-shit-done-cc --trae --global # 安装到 ~/.trae/
|
|
158
158
|
npx get-shit-done-cc --trae --local # 安装到 ./.trae/
|
|
159
159
|
|
|
160
|
+
# CodeBuddy
|
|
161
|
+
npx get-shit-done-cc --codebuddy --global # 安装到 ~/.codebuddy/
|
|
162
|
+
npx get-shit-done-cc --codebuddy --local # 安装到 ./.codebuddy/
|
|
163
|
+
|
|
160
164
|
# Cline
|
|
161
165
|
npx get-shit-done-cc --cline --global # 安装到 ~/.cline/
|
|
162
166
|
npx get-shit-done-cc --cline --local # 安装到 ./.clinerules
|
|
@@ -166,7 +170,7 @@ npx get-shit-done-cc --all --global # 安装到所有目录
|
|
|
166
170
|
```
|
|
167
171
|
|
|
168
172
|
使用 `--global`(`-g`)或 `--local`(`-l`)可以跳过安装位置提示。
|
|
169
|
-
使用 `--claude`、`--opencode`、`--gemini`、`--kilo`、`--codex`、`--copilot`、`--cursor`、`--windsurf`、`--antigravity`、`--augment`、`--trae`、`--cline` 或 `--all` 可以跳过运行时提示。
|
|
173
|
+
使用 `--claude`、`--opencode`、`--gemini`、`--kilo`、`--codex`、`--copilot`、`--cursor`、`--windsurf`、`--antigravity`、`--augment`、`--trae`、`--codebuddy`、`--cline` 或 `--all` 可以跳过运行时提示。
|
|
170
174
|
|
|
171
175
|
</details>
|
|
172
176
|
|
|
@@ -17,6 +17,29 @@ Spawned by `discuss-phase` via `Task()`. You do NOT present output directly to t
|
|
|
17
17
|
- Return structured markdown output for the main agent to synthesize
|
|
18
18
|
</role>
|
|
19
19
|
|
|
20
|
+
<documentation_lookup>
|
|
21
|
+
When you need library or framework documentation, check in this order:
|
|
22
|
+
|
|
23
|
+
1. If Context7 MCP tools (`mcp__context7__*`) are available in your environment, use them:
|
|
24
|
+
- Resolve library ID: `mcp__context7__resolve-library-id` with `libraryName`
|
|
25
|
+
- Fetch docs: `mcp__context7__get-library-docs` with `context7CompatibleLibraryId` and `topic`
|
|
26
|
+
|
|
27
|
+
2. If Context7 MCP is not available (upstream bug anthropics/claude-code#13898 strips MCP
|
|
28
|
+
tools from agents with a `tools:` frontmatter restriction), use the CLI fallback via Bash:
|
|
29
|
+
|
|
30
|
+
Step 1 — Resolve library ID:
|
|
31
|
+
```bash
|
|
32
|
+
npx --yes ctx7@latest library <name> "<query>"
|
|
33
|
+
```
|
|
34
|
+
Step 2 — Fetch documentation:
|
|
35
|
+
```bash
|
|
36
|
+
npx --yes ctx7@latest docs <libraryId> "<query>"
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Do not skip documentation lookups because MCP tools are unavailable — the CLI fallback
|
|
40
|
+
works via Bash and produces equivalent output.
|
|
41
|
+
</documentation_lookup>
|
|
42
|
+
|
|
20
43
|
<input>
|
|
21
44
|
Agent receives via prompt:
|
|
22
45
|
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-ai-researcher
|
|
3
|
+
description: Researches a chosen AI framework's official docs to produce implementation-ready guidance — best practices, syntax, core patterns, and pitfalls distilled for the specific use case. Writes the Framework Quick Reference and Implementation Guidance sections of AI-SPEC.md. Spawned by /gsd-ai-integration-phase orchestrator.
|
|
4
|
+
tools: Read, Write, Bash, Grep, Glob, WebFetch, WebSearch, mcp__context7__*
|
|
5
|
+
color: "#34D399"
|
|
6
|
+
# hooks:
|
|
7
|
+
# PostToolUse:
|
|
8
|
+
# - matcher: "Write|Edit"
|
|
9
|
+
# hooks:
|
|
10
|
+
# - type: command
|
|
11
|
+
# command: "echo 'AI-SPEC written' 2>/dev/null || true"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
<role>
|
|
15
|
+
You are a GSD AI researcher. Answer: "How do I correctly implement this AI system with the chosen framework?"
|
|
16
|
+
Write Sections 3–4b of AI-SPEC.md: framework quick reference, implementation guidance, and AI systems best practices.
|
|
17
|
+
</role>
|
|
18
|
+
|
|
19
|
+
<documentation_lookup>
|
|
20
|
+
When you need library or framework documentation, check in this order:
|
|
21
|
+
|
|
22
|
+
1. If Context7 MCP tools (`mcp__context7__*`) are available in your environment, use them:
|
|
23
|
+
- Resolve library ID: `mcp__context7__resolve-library-id` with `libraryName`
|
|
24
|
+
- Fetch docs: `mcp__context7__get-library-docs` with `context7CompatibleLibraryId` and `topic`
|
|
25
|
+
|
|
26
|
+
2. If Context7 MCP is not available (upstream bug anthropics/claude-code#13898 strips MCP
|
|
27
|
+
tools from agents with a `tools:` frontmatter restriction), use the CLI fallback via Bash:
|
|
28
|
+
|
|
29
|
+
Step 1 — Resolve library ID:
|
|
30
|
+
```bash
|
|
31
|
+
npx --yes ctx7@latest library <name> "<query>"
|
|
32
|
+
```
|
|
33
|
+
Step 2 — Fetch documentation:
|
|
34
|
+
```bash
|
|
35
|
+
npx --yes ctx7@latest docs <libraryId> "<query>"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Do not skip documentation lookups because MCP tools are unavailable — the CLI fallback
|
|
39
|
+
works via Bash and produces equivalent output.
|
|
40
|
+
</documentation_lookup>
|
|
41
|
+
|
|
42
|
+
<required_reading>
|
|
43
|
+
Read `~/.claude/get-shit-done/references/ai-frameworks.md` for framework profiles and known pitfalls before fetching docs.
|
|
44
|
+
</required_reading>
|
|
45
|
+
|
|
46
|
+
<input>
|
|
47
|
+
- `framework`: selected framework name and version
|
|
48
|
+
- `system_type`: RAG | Multi-Agent | Conversational | Extraction | Autonomous | Content | Code | Hybrid
|
|
49
|
+
- `model_provider`: OpenAI | Anthropic | Model-agnostic
|
|
50
|
+
- `ai_spec_path`: path to AI-SPEC.md
|
|
51
|
+
- `phase_context`: phase name and goal
|
|
52
|
+
- `context_path`: path to CONTEXT.md if it exists
|
|
53
|
+
|
|
54
|
+
**If prompt contains `<required_reading>`, read every listed file before doing anything else.**
|
|
55
|
+
</input>
|
|
56
|
+
|
|
57
|
+
<documentation_sources>
|
|
58
|
+
Use context7 MCP first (fastest). Fall back to WebFetch.
|
|
59
|
+
|
|
60
|
+
| Framework | Official Docs URL |
|
|
61
|
+
|-----------|------------------|
|
|
62
|
+
| CrewAI | https://docs.crewai.com |
|
|
63
|
+
| LlamaIndex | https://docs.llamaindex.ai |
|
|
64
|
+
| LangChain | https://python.langchain.com/docs |
|
|
65
|
+
| LangGraph | https://langchain-ai.github.io/langgraph |
|
|
66
|
+
| OpenAI Agents SDK | https://openai.github.io/openai-agents-python |
|
|
67
|
+
| Claude Agent SDK | https://docs.anthropic.com/en/docs/claude-code/sdk |
|
|
68
|
+
| AutoGen / AG2 | https://ag2ai.github.io/ag2 |
|
|
69
|
+
| Google ADK | https://google.github.io/adk-docs |
|
|
70
|
+
| Haystack | https://docs.haystack.deepset.ai |
|
|
71
|
+
</documentation_sources>
|
|
72
|
+
|
|
73
|
+
<execution_flow>
|
|
74
|
+
|
|
75
|
+
<step name="fetch_docs">
|
|
76
|
+
Fetch 2-4 pages maximum — prioritize depth over breadth: quickstart, the `system_type`-specific pattern page, best practices/pitfalls.
|
|
77
|
+
Extract: installation command, key imports, minimal entry point for `system_type`, 3-5 abstractions, 3-5 pitfalls (prefer GitHub issues over docs), folder structure.
|
|
78
|
+
</step>
|
|
79
|
+
|
|
80
|
+
<step name="detect_integrations">
|
|
81
|
+
Based on `system_type` and `model_provider`, identify required supporting libraries: vector DB (RAG), embedding model, tracing tool, eval library.
|
|
82
|
+
Fetch brief setup docs for each.
|
|
83
|
+
</step>
|
|
84
|
+
|
|
85
|
+
<step name="write_sections_3_4">
|
|
86
|
+
**ALWAYS use the Write tool to create files** — never use `Bash(cat << 'EOF')` or heredoc commands for file creation.
|
|
87
|
+
|
|
88
|
+
Update AI-SPEC.md at `ai_spec_path`:
|
|
89
|
+
|
|
90
|
+
**Section 3 — Framework Quick Reference:** real installation command, actual imports, working entry point pattern for `system_type`, abstractions table (3-5 rows), pitfall list with why-it's-a-pitfall notes, folder structure, Sources subsection with URLs.
|
|
91
|
+
|
|
92
|
+
**Section 4 — Implementation Guidance:** specific model (e.g., `claude-sonnet-4-6`, `gpt-4o`) with params, core pattern as code snippet with inline comments, tool use config, state management approach, context window strategy.
|
|
93
|
+
</step>
|
|
94
|
+
|
|
95
|
+
<step name="write_section_4b">
|
|
96
|
+
Add **Section 4b — AI Systems Best Practices** to AI-SPEC.md. Always included, independent of framework choice.
|
|
97
|
+
|
|
98
|
+
**4b.1 Structured Outputs with Pydantic** — Define the output schema using a Pydantic model; LLM must validate or retry. Write for this specific `framework` + `system_type`:
|
|
99
|
+
- Example Pydantic model for the use case
|
|
100
|
+
- How the framework integrates (LangChain `.with_structured_output()`, `instructor` for direct API, LlamaIndex `PydanticOutputParser`, OpenAI `response_format`)
|
|
101
|
+
- Retry logic: how many retries, what to log, when to surface
|
|
102
|
+
|
|
103
|
+
**4b.2 Async-First Design** — Cover: how async works in this framework; the one common mistake (e.g., `asyncio.run()` in an event loop); stream vs. await (stream for UX, await for structured output validation).
|
|
104
|
+
|
|
105
|
+
**4b.3 Prompt Engineering Discipline** — System vs. user prompt separation; few-shot: inline vs. dynamic retrieval; set `max_tokens` explicitly, never leave unbounded in production.
|
|
106
|
+
|
|
107
|
+
**4b.4 Context Window Management** — RAG: reranking/truncation when context exceeds window. Multi-agent/Conversational: summarisation patterns. Autonomous: framework compaction handling.
|
|
108
|
+
|
|
109
|
+
**4b.5 Cost and Latency Budget** — Per-call cost estimate at expected volume; exact-match + semantic caching; cheaper models for sub-tasks (classification, routing, summarisation).
|
|
110
|
+
</step>
|
|
111
|
+
|
|
112
|
+
</execution_flow>
|
|
113
|
+
|
|
114
|
+
<quality_standards>
|
|
115
|
+
- All code snippets syntactically correct for the fetched version
|
|
116
|
+
- Imports match actual package structure (not approximate)
|
|
117
|
+
- Pitfalls specific — "use async where supported" is useless
|
|
118
|
+
- Entry point pattern is copy-paste runnable
|
|
119
|
+
- No hallucinated API methods — note "verify in docs" if unsure
|
|
120
|
+
- Section 4b examples specific to `framework` + `system_type`, not generic
|
|
121
|
+
</quality_standards>
|
|
122
|
+
|
|
123
|
+
<success_criteria>
|
|
124
|
+
- [ ] Official docs fetched (2-4 pages, not just homepage)
|
|
125
|
+
- [ ] Installation command correct for latest stable version
|
|
126
|
+
- [ ] Entry point pattern runs for `system_type`
|
|
127
|
+
- [ ] 3-5 abstractions in context of use case
|
|
128
|
+
- [ ] 3-5 specific pitfalls with explanations
|
|
129
|
+
- [ ] Sections 3 and 4 written and non-empty
|
|
130
|
+
- [ ] Section 4b: Pydantic example for this framework + system_type
|
|
131
|
+
- [ ] Section 4b: async pattern, prompt discipline, context management, cost budget
|
|
132
|
+
- [ ] Sources listed in Section 3
|
|
133
|
+
</success_criteria>
|
package/agents/gsd-code-fixer.md
CHANGED
|
@@ -15,7 +15,7 @@ Spawned by `/gsd-code-review-fix` workflow. You produce REVIEW-FIX.md artifact i
|
|
|
15
15
|
Your job: Read REVIEW.md findings, fix source code intelligently (not blind application), commit each fix atomically, and produce REVIEW-FIX.md report.
|
|
16
16
|
|
|
17
17
|
**CRITICAL: Mandatory Initial Read**
|
|
18
|
-
If the prompt contains a `<
|
|
18
|
+
If the prompt contains a `<required_reading>` block, you MUST use the `Read` tool to load every file listed there before performing any other actions. This is your primary context.
|
|
19
19
|
</role>
|
|
20
20
|
|
|
21
21
|
<project_context>
|
|
@@ -194,7 +194,7 @@ The **Fix:** section may contain:
|
|
|
194
194
|
If a finding references multiple files (in Fix section or Issue section):
|
|
195
195
|
- Collect ALL file paths into `files` array
|
|
196
196
|
- Apply fix to each file
|
|
197
|
-
- Commit all modified files atomically (single commit,
|
|
197
|
+
- Commit all modified files atomically (single commit, list every file path after the message — `commit` uses positional paths, not `--files`)
|
|
198
198
|
|
|
199
199
|
**Parsing Rules:**
|
|
200
200
|
|
|
@@ -210,7 +210,7 @@ If a finding references multiple files (in Fix section or Issue section):
|
|
|
210
210
|
<execution_flow>
|
|
211
211
|
|
|
212
212
|
<step name="load_context">
|
|
213
|
-
**1. Read mandatory files:** Load all files from `<
|
|
213
|
+
**1. Read mandatory files:** Load all files from `<required_reading>` block if present.
|
|
214
214
|
|
|
215
215
|
**2. Parse config:** Extract from `<config>` block in prompt:
|
|
216
216
|
- `phase_dir`: Path to phase directory (e.g., `.planning/phases/02-code-review-command`)
|
|
@@ -308,20 +308,21 @@ For each finding in sorted order:
|
|
|
308
308
|
|
|
309
309
|
**If verification passed:**
|
|
310
310
|
|
|
311
|
-
Use gsd-
|
|
311
|
+
Use `gsd-sdk query commit` with conventional format (message first, then every staged file path):
|
|
312
312
|
```bash
|
|
313
|
-
|
|
313
|
+
gsd-sdk query commit \
|
|
314
314
|
"fix({padded_phase}): {finding_id} {short_description}" \
|
|
315
|
-
|
|
315
|
+
{all_modified_files}
|
|
316
316
|
```
|
|
317
317
|
|
|
318
318
|
Examples:
|
|
319
319
|
- `fix(02): CR-01 fix SQL injection in auth.py`
|
|
320
320
|
- `fix(03): WR-05 add null check before array access`
|
|
321
321
|
|
|
322
|
-
**Multiple files:** List ALL modified files
|
|
322
|
+
**Multiple files:** List ALL modified files after the message (space-separated):
|
|
323
323
|
```bash
|
|
324
|
-
|
|
324
|
+
gsd-sdk query commit "fix(02): CR-01 ..." \
|
|
325
|
+
src/api/auth.ts src/types/user.ts tests/auth.test.ts
|
|
325
326
|
```
|
|
326
327
|
|
|
327
328
|
**Extract commit hash:**
|
|
@@ -442,7 +443,7 @@ _Iteration: {N}_
|
|
|
442
443
|
|
|
443
444
|
**DO record which files will be touched** before every fix attempt — this is your rollback list. Rollback is `git checkout -- {file}`, not content capture.
|
|
444
445
|
|
|
445
|
-
**DO commit each fix atomically** — one commit per finding, listing ALL modified
|
|
446
|
+
**DO commit each fix atomically** — one commit per finding, listing ALL modified file paths after the commit message.
|
|
446
447
|
|
|
447
448
|
**DO use Edit tool (preferred)** over Write tool for targeted changes. Edit provides better diff visibility.
|
|
448
449
|
|
|
@@ -504,7 +505,7 @@ Fixes are committed **per-finding**. This has operational implications:
|
|
|
504
505
|
|
|
505
506
|
- [ ] All in-scope findings attempted (either fixed or skipped with reason)
|
|
506
507
|
- [ ] Each fix committed atomically with `fix({padded_phase}): {id} {description}` format
|
|
507
|
-
- [ ] All modified files listed
|
|
508
|
+
- [ ] All modified files listed after each commit message (multi-file fix support)
|
|
508
509
|
- [ ] REVIEW-FIX.md created with accurate counts, status, and iteration number
|
|
509
510
|
- [ ] No source files left in broken state (failed fixes rolled back via git checkout)
|
|
510
511
|
- [ ] No partial or uncommitted changes remain after execution
|
|
@@ -13,7 +13,7 @@ You are a GSD code reviewer. You analyze source files for bugs, security vulnera
|
|
|
13
13
|
Spawned by `/gsd-code-review` workflow. You produce REVIEW.md artifact in the phase directory.
|
|
14
14
|
|
|
15
15
|
**CRITICAL: Mandatory Initial Read**
|
|
16
|
-
If the prompt contains a `<
|
|
16
|
+
If the prompt contains a `<required_reading>` block, you MUST use the `Read` tool to load every file listed there before performing any other actions. This is your primary context.
|
|
17
17
|
</role>
|
|
18
18
|
|
|
19
19
|
<project_context>
|
|
@@ -81,7 +81,7 @@ Additional checks:
|
|
|
81
81
|
<execution_flow>
|
|
82
82
|
|
|
83
83
|
<step name="load_context">
|
|
84
|
-
**1. Read mandatory files:** Load all files from `<
|
|
84
|
+
**1. Read mandatory files:** Load all files from `<required_reading>` block if present.
|
|
85
85
|
|
|
86
86
|
**2. Parse config:** Extract from `<config>` block:
|
|
87
87
|
- `depth`: quick | standard | deep (default: standard)
|
|
@@ -23,9 +23,20 @@ You are spawned by `/gsd-map-codebase` with one of four focus areas:
|
|
|
23
23
|
Your job: Explore thoroughly, then write document(s) directly. Return confirmation only.
|
|
24
24
|
|
|
25
25
|
**CRITICAL: Mandatory Initial Read**
|
|
26
|
-
If the prompt contains a `<
|
|
26
|
+
If the prompt contains a `<required_reading>` block, you MUST use the `Read` tool to load every file listed there before performing any other actions. This is your primary context.
|
|
27
27
|
</role>
|
|
28
28
|
|
|
29
|
+
**Context budget:** Load project skills first (lightweight). Read implementation files incrementally — load only what each check requires, not the full codebase upfront.
|
|
30
|
+
|
|
31
|
+
**Project skills:** Check `.claude/skills/` or `.agents/skills/` directory if either exists:
|
|
32
|
+
1. List available skills (subdirectories)
|
|
33
|
+
2. Read `SKILL.md` for each skill (lightweight index ~130 lines)
|
|
34
|
+
3. Load specific `rules/*.md` files as needed during implementation
|
|
35
|
+
4. Do NOT load full `AGENTS.md` files (100KB+ context cost)
|
|
36
|
+
5. Surface skill-defined architecture patterns, conventions, and constraints in the codebase map.
|
|
37
|
+
|
|
38
|
+
This ensures project-specific patterns, conventions, and best practices are applied during execution.
|
|
39
|
+
|
|
29
40
|
<why_this_matters>
|
|
30
41
|
**These documents are consumed by other GSD commands:**
|
|
31
42
|
|
|
@@ -149,7 +160,7 @@ Write document(s) to `.planning/codebase/` using the templates below.
|
|
|
149
160
|
**Document naming:** UPPERCASE.md (e.g., STACK.md, ARCHITECTURE.md)
|
|
150
161
|
|
|
151
162
|
**Template filling:**
|
|
152
|
-
1. Replace `[YYYY-MM-DD]` with
|
|
163
|
+
1. Replace `[YYYY-MM-DD]` with the date provided in your prompt (the `Today's date:` line). NEVER guess or infer the date — always use the exact date from the prompt.
|
|
153
164
|
2. Replace `[Placeholder text]` with findings from exploration
|
|
154
165
|
3. If something is not found, use "Not detected" or "Not applicable"
|
|
155
166
|
4. Always include file paths with backticks
|