debug
Use whenever behavior is wrong, tests fail, or the user reports a bug. Docs-first root-cause triage, observation mode, two-failure stop. (Lineage: superpowers/systematic-debugging, godmode/error-recovery, godmode/fault-diagnosis)
Install
npx skills add https://github.com/bmtrnavsky/disciplined-vibe-coding/tree/main/skills/debug
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install bmtrnavsky-disciplined-vibe-coding@llmmart
git clone https://github.com/bmtrnavsky/disciplined-vibe-coding.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole bmtrnavsky/disciplined-vibe-coding collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Debug — docs before theory, cause before fix
Prime directive
Never patch a symptom you haven't explained.
Steps (in order)
- Reproduce if you can; else observation mode (the user's symptoms, exact errors, timing). No blind coding.
- Docs ALWAYS via
researchdocs step; vendor changelogs count as docs for post-update breakage. Log it. - Ranked falsifiable theories, each one-step checkable.
- Isolate cause. "Fix worked" without "cause is X" is not done.
- Fix + guard where guardable; unguardable stacks get honest declaration + recorded manual check.
- Two-failure stop: tried / learned / unexplained / options. The user's call.
Cognitive traps
- "I know this stack" — confident wrong fixes are born there. Docs.
- "One more edit" — the counter exists for this.
- "Can't reproduce = guess" — live-system guesses break more than they fix.
Guardrails
- Third same-shape attempt prohibited.
- Never silence warnings or catch-alls as a "fix."
- No live-production edits without understood cause and rollback path.
Rung scaling (economy ladder)
One-liner: reproduce, fix, smoke-check, done. Micro-spec and above: docs step plus ranked theories required. MONEY-tier: guard plus recorded manual check mandatory; unguarded fixes never ship.
Files (disciplined-vibe-coding)
-
SKILL.md 1.5 KB
--- name: debug description: Use whenever behavior is wrong, tests fail, or the user reports a bug. Docs-first root-cause triage, observation mode, two-failure stop. (Lineage: superpowers/systematic-debugging, godmode/error-recovery, godmode/fault-diagnosis) phase: Build --- # Debug — docs before theory, cause before fix ## Prime directive Never patch a symptom you haven't explained. ## Steps (in order) 1. **Reproduce** if you can; else observation mode (the user's symptoms, exact errors, timing). No blind coding. 2. **Docs ALWAYS** via `research` docs step; vendor changelogs count as docs for post-update breakage. Log it. 3. **Ranked falsifiable theories**, each one-step checkable. 4. **Isolate cause.** "Fix worked" without "cause is X" is not done. 5. **Fix + guard** where guardable; unguardable stacks get honest declaration + recorded manual check. 6. **Two-failure stop:** tried / learned / unexplained / options. The user's call. ## Cognitive traps - "I know this stack" — confident wrong fixes are born there. Docs. - "One more edit" — the counter exists for this. - "Can't reproduce = guess" — live-system guesses break more than they fix. ## Guardrails - Third same-shape attempt prohibited. - Never silence warnings or catch-alls as a "fix." - No live-production edits without understood cause and rollback path. ## Rung scaling (economy ladder) One-liner: reproduce, fix, smoke-check, done. Micro-spec and above: docs step plus ranked theories required. MONEY-tier: guard plus recorded manual check mandatory; unguarded fixes never ship.
Reviews (0)
No reviews yet.
Comments
Sign in to join the conversation.
No comments yet. Start the conversation.