Phase 13: Dedicated Debug Agent - 3 plans in 2 waves Wave 1: - 13-01: Create gsd-debugger agent with consolidated debugging expertise Wave 2 (parallel): - 13-02: Refactor /gsd:debug to thin orchestrator - 13-03: Deprecate debugging reference files with agent pointers Goal: ~95% context reduction in orchestrator (2,400 → 150 lines) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
4.4 KiB
phase, plan, type, wave, depends_on, files_modified, autonomous, must_haves
| phase | plan | type | wave | depends_on | files_modified | autonomous | must_haves | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 13-debug-agent | 03 | execute | 2 |
|
|
true |
|
Purpose: Eliminate duplicate content. Debugging expertise now lives solely in the agent file.
Output: 5 reference files reduced to redirect notices.
<execution_context>
@/.claude/get-shit-done/workflows/execute-plan.md
@/.claude/get-shit-done/templates/summary.md
</execution_context>
Agent that now contains this content:
@agents/gsd-debugger.md
Task 1: Deprecate all debugging reference files get-shit-done/references/debugging/debugging-mindset.md get-shit-done/references/debugging/hypothesis-testing.md get-shit-done/references/debugging/investigation-techniques.md get-shit-done/references/debugging/verification-patterns.md get-shit-done/references/debugging/when-to-research.md Replace each file with a redirect notice pointing to the agent.Template for each file (~15 lines):
# [Original Title] (DEPRECATED)
This reference has been consolidated into the `gsd-debugger` agent.
**Location:** `agents/gsd-debugger.md`
**Section:** `<[relevant_section_name]>`
**Reason:** Debugging expertise is now baked into the agent. Loading separate reference files into orchestrator context was wasteful (~95% context reduction).
See `agents/gsd-debugger.md` for the consolidated debugging methodology.
Specific mappings:
debugging-mindset.md→<philosophy>sectionhypothesis-testing.md→<hypothesis_testing>sectioninvestigation-techniques.md→<investigation_techniques>sectionverification-patterns.md→<verification_patterns>sectionwhen-to-research.md→<research_vs_reasoning>section
Each file should be ~15 lines with the redirect notice. All 5 files exist with redirect notices. Each file is <20 lines. Each file points to agents/gsd-debugger.md. Each file specifies the relevant section in the agent. All debugging reference files deprecated with agent pointers
Task 2: Update installer to include agents directory bin/install.js Verify that `bin/install.js` copies the `agents/` directory during installation.Check if agents/ is already included. If not, add it to the copy list.
Expected behavior:
agents/*.mdfiles copied to~/.claude/agents/(global) or.claude/agents/(local)- Similar to how
commands/,get-shit-done/, etc. are handled
If already handled: No changes needed, note in summary.
If not handled: Add agents directory to the copy list.
Run: node bin/install.js --local --dry-run (if dry-run exists) or check install.js code
Confirm agents/ directory will be copied on install.
Installer copies agents/ directory
<success_criteria>
- Debugging reference files deprecated
- No duplicate content between references and agent
- Installer copies agents directory </success_criteria>