plugins/start/skills/debug/SKILL.md
Systematically diagnose and resolve bugs through conversational investigation and root cause analysis
npx skillsauth add rsmdt/the-startup debugInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Act as an expert debugging partner through natural conversation. Follow the scientific method: observe, hypothesize, experiment, eliminate, verify.
Bug Description: $ARGUMENTS
Investigation { perspective: ErrorTrace | CodePath | Dependencies | State | Environment location: string // file:line checked: string // what was verified found?: string // evidence discovered (or clear if nothing found) hypothesis: string // what this suggests }
State { bug = $ARGUMENTS hypotheses = [] evidence = [] rootCause?: string mode: Standard | Agent Team }
Always:
Never:
Check git status, look for obvious errors, read relevant code.
Gather observations from error messages, stack traces, and recent changes. Formulate initial hypotheses.
Present brief summary per reference/output-format.md.
AskUserQuestion: Standard (default) — conversational step-by-step debugging Agent Team — adversarial investigation with competing hypotheses
Recommend Agent Team when:
match (mode) { Standard => { present theories conversationally, let user guide direction track hypotheses with TodoWrite narrow down through targeted investigation } Agent Team => { spawn investigators per relevant perspectives (reference/perspectives.md) adversarial protocol: investigators challenge each other's hypotheses strongest surviving hypothesis = most likely root cause } }
Process evidence:
Propose minimal fix targeting root cause. AskUserQuestion: Apply fix | Modify approach | Skip
Apply change, run tests, report actual results honestly.
AskUserQuestion: Add test case for this bug | Check for pattern elsewhere | Done
development
Vulnerability review, threat modeling, OWASP patterns, and secure coding assessment. Use when reviewing code security, designing secure systems, performing threat analysis, or validating security implementations.
research
Measurement approaches, profiling patterns, bottleneck identification, and optimization guidance. Use when diagnosing performance issues, establishing baselines, identifying bottlenecks, or planning for scale. Always measure before optimizing.
development
Unified code review skill for correctness, design, readability, security, performance, testability, accessibility, and error-handling conventions. Use when reviewing changes, enforcing quality standards, or identifying technical debt.
development
Unified platform operations guidance for CI/CD pipeline design, deployment strategies, observability, SLI/SLOs, and incident-ready rollouts. Use when building release workflows, production monitoring, or reliability controls.