analyze
Deep-research analysis of a codebase, a topic, or both. Clarifies the question, agrees the research angles with you, then runs a…
Systematically diagnose and resolve bugs through conversational investigation and root cause analysis
Claude Code
$ npx -y skills add rsmdt/the-startup --skill debug --agent claude-code
Codex
$ npx skills add rsmdt/the-startup --skill debug -a codex -y
Cursor
$ npx skills add rsmdt/the-startup --skill debug -a cursor -y
Gemini CLI
$ npx skills add rsmdt/the-startup --skill debug -a gemini-cli -y
GitHub Copilot
$ npx skills add rsmdt/the-startup --skill debug -a github-copilot -y
OpenCode
$ npx skills add rsmdt/the-startup --skill debug -a opencode -y
Windsurf
$ npx skills add rsmdt/the-startup --skill debug -a windsurf -y
name: debug description: Systematically diagnose and resolve bugs through conversational investigation and root cause analysis user-invocable: true argument-hint: "describe the bug, error message, or unexpected behavior"
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 reproduction: Reliable | Once | Unknown hypotheses = [] // each tagged: pending | supported | ruled out | demonstrated evidence = [] rootCause?: string // only set when [demonstrated] mode: Standard | Agent Team | Dynamic Workflow }
**Always:**
**Never:**
Before forming any hypothesis: can you trigger the bug on demand?
Either:
Acceptable Phase 0 exits:
Don't proceed past Phase 0 without one of these. Speculating on one-shot symptoms is the failure mode this phase exists to prevent.
Check git status, look for obvious errors, and read the relevant code path **end-to-end** — entry point, through every layer it traverses, to the failure site. Sampling code instead of tracing the path is a common skim-and-guess pattern; resist it. Most bugs labelled "mysterious" are visible in code that wasn't read.
Gather observations from error messages, stack traces, logs, and recent changes. Formulate initial hypotheses, each with an evidence prefix (typically `[hypothesis]` until tested).
Present brief summary per reference/output-format.md.
Ask the user to choose: Standard (default for simple bugs) — conversational step-by-step debugging Agent Team — adversarial investigation with competing hypotheses Dynamic Workflow — one inline workflow script tests each hypothesis in parallel, cross-checks them adversarially, and returns a ranked hypothesis ledger
**Agent Team or Dynamic Workflow is REQUIRED, not advisory, when ANY of:**
Standard mode is appropriate when a stack trace points at a clear file:line and one read of that file plausibly reveals the cause.
The Agentic Startup - A collection of Claude Code commands, skills, and agents.
Deep-research analysis of a codebase, a topic, or both. Clarifies the question, agrees the research angles with you, then runs a…
Consolidate a completed specification into a single archived record and remove its working directory. Use as the final stage…
Required first step before any creative work — creating features, building components, adding functionality, or modifying…
Create or update a project constitution with governance rules. Uses discovery-based approach to generate project-specific rules.
Generate and maintain documentation for code, APIs, and project components
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.