gsd-headless
Orchestrate GSD (Git Ship Done) projects programmatically via headless CLI. Use when an agent…
Deep analysis debugging mode for complex issues. Activates methodical investigation protocol with evidence gathering, hypothesis testing, and rigorous verification. Use when standard troubleshooting fails or when issues require systematic root cause analysis.
$ npx -y skills add open-gsd/gsd-pi --skill debug-like-expert --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/debug-like-expertContext preview
The summary Claude sees to decide when to auto-load this skill.
Deep analysis debugging mode for complex issues. Activates methodical investigation protocol with evidence gathering, hypothesis testing, and rigorous verification. Use when standard troubleshooting fails or when issues require systematic root cause analysis.
name: debug-like-expert description: Deep analysis debugging mode for complex issues. Activates methodical investigation protocol with evidence gathering, hypothesis testing, and rigorous verification. Use when standard troubleshooting fails or when issues require systematic root cause analysis.
<objective> Deep analysis debugging mode for complex issues. This skill activates methodical investigation protocols with evidence gathering, hypothesis testing, and rigorous verification when standard troubleshooting has failed.
The skill emphasizes treating code you wrote with MORE skepticism than unfamiliar code, as cognitive biases about "how it should work" can blind you to actual implementation errors. Use scientific method to systematically identify root causes rather than applying quick fixes. </objective>
<context> This skill activates when standard troubleshooting has failed. The issue requires methodical investigation, not quick fixes. You are entering the mindset of a senior engineer who debugs with scientific rigor.
**Important**: If you wrote or modified any of the code being debugged, you have cognitive biases about how it works. Your mental model of "how it should work" may be wrong. Treat code you wrote with MORE skepticism than unfamiliar code - you're blind to your own assumptions. </context>
<core_principle> **VERIFY, DON'T ASSUME.** Every hypothesis must be tested. Every "fix" must be validated. No solutions without evidence.
**ESPECIALLY**: Code you designed or implemented is guilty until proven innocent. Your intent doesn't matter - only the code's actual behavior matters. Question your own design decisions as rigorously as you'd question anyone else's. </core_principle>
<analysis_only_rule> **THIS SKILL IS READ-ONLY. DO NOT MODIFY CODE.**
The entire purpose is deep analysis and diagnosis. Making changes during investigation:
You are a diagnostician, not a surgeon. Present findings, then let the user decide. </analysis_only_rule>
<quick_start>
<evidence_gathering>
Before proposing any solution:
**A. Document Current State**
**B. Map the System**
**C. Gather External Knowledge (when needed)**
See [references/when-to-research.md](references/when-to-research.md) for detailed guidance on research strategy.
</evidence_gathering>
<root_cause_analysis>
**A. Form Hypotheses**
Based on evidence, list possible causes:
1. [Hypothesis 1] - because [specific evidence] 2. [Hypothesis 2] - because [specific evidence] 3. [Hypothesis 3] - because [specific evidence]
**B. Test Each Hypothesis**
For each hypothesis:
See [references/hypothesis-testing.md](references/hypothesis-testing.md) for scientific method application.
**C. Eliminate or Confirm**
Don't move forward until you can answer:
</root_cause_analysis>
<solution_proposal>
**Only after confirming root cause:**
**A. Design Recommended Fix**
**B. Document, Don't Implement**
**DO NOT make any code changes. Present your recommendations only.**
See [references/verification-patterns.md](references/verification-patterns.md) for verification approaches to use after implementation.
</solution_proposal>
</quick_start>
<critical_rules>
1. **NO DRIVE-BY FIXES**: If you can't explain WHY a change works, don't make it 2. **VERIFY EVERYTHING**: Test your assumptions. Read the actual code. Check the actual behavior 3. **USE ALL TOOLS**:
4. **THINK OUT LOUD**: Document your reasoning at each step 5. **ONE VARIABLE**: Change one thing at a time, verify, then proceed 6. **COMPLETE READS**: Don't skim code. Read entire relevant files 7. **CHASE DEPENDENCIES**: If the issue involves libraries, configs, or external systems, investigate those too 8. **QUESTION PREVIOUS WORK**: Maybe the earlier "fix" was wrong. Re-examine with fresh eyes
</critical_rules>
<success_criteria>
Before completing:
If you can't answer "yes" to all of these, keep investigating.
**CRITICAL**: Present findings via decision gate. Do NOT implement changes.
</success_criteria>
<output_format>
## Issue: [Problem Description] ### Evidence [What you observed - exact errors, beh
GSD Pi is a local-first coding agent for planning, implementing, verifying, and tracking project work from the command line.
Repo: open-gsd/gsd-pi
Orchestrate GSD (Git Ship Done) projects programmatically via headless CLI. Use when an agent…
Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve…
Browser automation CLI for AI agents. Use when interacting with websites — navigating pages,…
Design or review an HTTP/REST/GraphQL API for versioning, pagination, error shapes,…
Apply modern web development best practices for security, compatibility, and code quality.…
Ask a quick side question about your current work without derailing the main task. Answers…