refactor: consolidate expertise into agents

Commands load agent expertise directly via Task tool spawning.
Thin orchestrator pattern — agents have methodology baked in.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-01-16 16:59:42 -06:00
parent 247e991eaf
commit 6fd95c3ce5
25 changed files with 6 additions and 524 deletions

View File

@@ -1,14 +0,0 @@
# Debug Workflow (DEPRECATED)
This workflow has been consolidated into the `gsd-debugger` agent.
**Location:** `agents/gsd-debugger.md`
**Reason:** The gsd-debugger agent contains all debugging expertise. Loading a separate workflow into orchestrator context was wasteful.
**Migration:**
- `/gsd:debug` now spawns `gsd-debugger` agent directly
- All debugging methodology lives in the agent file
- Templates remain at `get-shit-done/templates/DEBUG.md`
See `agents/gsd-debugger.md` for debugging expertise.

View File

@@ -107,7 +107,7 @@ For: Choosing between options, new external integration.
5. **Cross-verify:** Any WebSearch finding → confirm with Context7/official docs.
6. **Quality check:** Before finalizing findings, consult ~/.claude/get-shit-done/references/research-pitfalls.md to avoid common research gaps.
6. **Quality check:** Before finalizing findings, consult the gsd-researcher agent's verification protocols to avoid common research gaps.
7. **Create DISCOVERY.md** using ~/.claude/get-shit-done/templates/discovery.md structure:
@@ -160,7 +160,7 @@ For: Architectural decisions, novel problems, high-risk choices.
- Mark what's verified vs assumed
- Flag contradictions
6. **Quality check:** Before finalizing findings, consult ~/.claude/get-shit-done/references/research-pitfalls.md to ensure comprehensive coverage and avoid common research gaps.
6. **Quality check:** Before finalizing findings, consult the gsd-researcher agent's verification protocols to ensure comprehensive coverage and avoid common research gaps.
7. **Create comprehensive DISCOVERY.md:**

View File

@@ -1,41 +0,0 @@
# DEPRECATED: Plan-Phase Workflow
**This workflow has been consolidated into the gsd-planner agent.**
## Migration
Planning expertise is now baked into:
- `agents/gsd-planner.md` - Complete planning methodology
The `/gsd:plan-phase` command spawns the gsd-planner agent directly.
## Why This Changed
The thin orchestrator pattern reduces main context usage:
- Before: ~3,580 lines loaded into main context
- After: ~150 lines in orchestrator, expertise in agent
## Historical Reference
This file previously contained:
- Decimal phase numbering rules
- Required reading list (8 reference files)
- Planning principles and philosophy
- Discovery level definitions (Level 0-3)
- Project history assembly via frontmatter dependency graph
- Gap closure mode process
- Task breakdown with TDD detection
- Dependency graph building
- Wave assignment algorithm
- Plan grouping rules
- Scope estimation and depth calibration
- Phase prompt writing (PLAN.md structure)
- User setup frontmatter for external services
- Git commit step
- Success criteria (standard and gap closure modes)
All content preserved in `agents/gsd-planner.md`.
---
*Deprecated: 2026-01-16*
*Replaced by: agents/gsd-planner.md*

View File

@@ -1,17 +0,0 @@
# Research Phase Workflow
## DEPRECATED
**This workflow has been consolidated into the gsd-researcher agent.**
The research methodology, tool strategy, source hierarchy, and verification protocols now live in:
- `agents/gsd-researcher.md`
The `/gsd:research-phase` command spawns the gsd-researcher agent directly.
**Migration:** No action needed - the command handles this automatically.
---
*Deprecated: 2026-01-15*
*Replaced by: agents/gsd-researcher.md*

View File

@@ -1,23 +0,0 @@
# Research Project Workflow
## DEPRECATED
**This workflow has been consolidated into the gsd-researcher agent.**
The research methodology for project research now lives in:
- `agents/gsd-researcher.md`
The `/gsd:research-project` command spawns 4 parallel gsd-researcher agents:
- Stack agent -> .planning/research/STACK.md
- Features agent -> .planning/research/FEATURES.md
- Architecture agent -> .planning/research/ARCHITECTURE.md
- Pitfalls agent -> .planning/research/PITFALLS.md
The orchestrator synthesizes SUMMARY.md after all agents complete.
**Migration:** No action needed - the command handles this automatically.
---
*Deprecated: 2026-01-15*
*Replaced by: agents/gsd-researcher.md*

View File

@@ -19,7 +19,6 @@ Then verify each level against the actual codebase.
<required_reading>
**Load these references:**
- ~/.claude/get-shit-done/references/goal-backward.md (derivation process)
- ~/.claude/get-shit-done/references/verification-patterns.md (detection patterns)
- ~/.claude/get-shit-done/templates/verification-report.md (output format)
</required_reading>
@@ -97,7 +96,7 @@ If no must_haves in frontmatter, derive using goal-backward process:
5. **Document derived must-haves** before proceeding to verification.
See ~/.claude/get-shit-done/references/goal-backward.md for detailed derivation guidance.
<!-- Goal-backward derivation expertise is baked into the gsd-verifier agent -->
</step>
<step name="verify_truths">