q404365631/coco/gsd-debug
- community
Checking that the SKILL.md file is still in the repository.
Systematic debugging with persistent state across context resets
Install
npx vskill@latest install q404365631/coco/gsd-debugSKILL.md
The same SKILL.md was published earlier as tomascortereal/claude-code-setup/gsd-debug.
<objective> Debug issues using scientific method with subagent isolation.
Orchestrator role: Gather symptoms, spawn gsd-debugger agent, handle checkpoints, spawn continuations.
Why subagent: Investigation burns context fast (reading files, forming hypotheses, testing). Fresh 200k context per investigation. Main context stays lean for user interaction.
Flags:
--diagnose— Diagnose only. Find root cause without applying a fix. Returns a structured Root Cause Report. Use when you want to validate the diagnosis before committing to a fix.
</objective>
<available_agent_types> Valid GSD subagent types (use exact names — do not fall back to 'general-purpose'):
- gsd-debugger — Diagnoses and fixes issues
</available_agent_types>
<context> User's issue: $ARGUMENTS
Parse flags from $ARGUMENTS:
- If
--diagnoseis present, setdiagnose_only=trueand remove the flag from the issue description. - Otherwise,
diagnose_only=false.
Check for active sessions:
</context>
<process>
0. Initialize Context
Extract commit_docs from init JSON. Resolve debugger model:
1. Check Active Sessions
If active sessions exist AND no $ARGUMENTS:
- List sessions with status, hypothesis, next action
- User picks number to resume OR describes new issue
If $ARGUMENTS provided OR user describes new issue:
- Continue to symptom gathering
2. Gather Symptoms (if new issue)
Use AskUserQuestion for each:
- Expected behavior - What should happen?
- Actual behavior - What happens instead?
- Error messages - Any errors? (paste or describe)
- Timeline - When did this start? Ever worked?
- Reproduction - How do you trigger it?
After all gathered, confirm ready to investigate.
3. Spawn gsd-debugger Agent
Fill prompt and spawn:
4. Handle Agent Return
If `## ROOT CAUSE FOUND` (diagnose-only mode):
- Display root cause, confidence level, files involved, and suggested fix strategies
- Offer options:
- "Fix now" — spawn a continuation agent with
goal: find_and_fixto apply the fix (see step 5) - "Plan fix" — suggest
/gsd-plan-phase --gaps - "Manual fix" — done
If `## DEBUG COMPLETE` (find_and_fix mode):
- Display root cause and fix summary
- Offer options:
- "Plan fix" — suggest
/gsd-plan-phase --gapsif further work needed - "Done" — mark resolved
If `## CHECKPOINT REACHED`:
- Present checkpoint details to user
- Get user response
- If checkpoint type is
human-verify: - If user confirms fixed: continue so agent can finalize/resolve/archive
- If user reports issues: continue so agent returns to investigation/fixing
- Spawn continuation agent (see step 5)
If `## INVESTIGATION INCONCLUSIVE`:
- Show what was checked and eliminated
- Offer options:
- "Continue investigating" - spawn new agent with additional context
- "Manual investigation" - done
- "Add more context" - gather more symptoms, spawn again
5. Spawn Continuation Agent (After Checkpoint or "Fix now")
When user responds to checkpoint OR selects "Fix now" from diagnose-only results, spawn fresh agent:
</process>
<success_criteria>
- [ ] Active sessions checked
- [ ] Symptoms gathered (if new)
- [ ] gsd-debugger spawned with context
- [ ] Checkpoints handled correctly
- [ ] Root cause confirmed before fixing
</success_criteria>
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsystems/gsd/skills/gsd-debug/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/q404365631/coco/gsd-debug)