Skip to content
FunCoding

08-debug

Reproduce and fix a known bug, or find an unknown root cause by hypothesis validation. Use when the user wants to fix a bug, find why something breaks, or reopen a stuck investigation. Not for building a feature or reviewing a diff.

Star
593
License
MIT
Last commit
Dec 1, 2026

plugins/aidd-dev/skills/08-debug/SKILL.md

View on GitHub

Skill: debug

Diagnose and fix issues through structured hypothesis validation, root-cause analysis, and a test-driven fix.

Actions

#ActionWhen to use
01reproduceA known bug must be fixed end to end: reproduce, test-driven fix, branch, PR
02debugRoot cause unknown: enumerate hypotheses, validate each, confirm the cause
03reflect-issueStuck or prior fixes failed: reopen the search space, instrument logs first

Pick the one action matching the intent; never default to 01. Triggers like "reproduce and fix" route to 01, "why does this happen" to 02, "I'm stuck" or "previous fixes didn't work" to 03. Ask one question when the intent is ambiguous. Before running an action, read its file in actions/, not only the table or assets.

Transversal rules

  • One action per run: follow only the matching action file.
  • Scope each fix to its bug: never bundle drive-by refactors.
  • Confirm the root cause before fixing; the diagnostic actions stop at a confirmed cause.

Assets

  • assets/task-template.md: the per-hypothesis tracking file the debug action fills.

References

  • references/mermaid-conventions.md: the project's Mermaid conventions for the action-path flowchart.

Similar Skills

rea-analysis-optimization

MOmorluto/rea485k9,215 new stars in the last 7 days

codebase-design

MAmattpocock/skills336k5,004 new stars in the last 7 days

Featured

diagnosing-bugs

Diagnose hard bugs and performance regressions by building a feedback loop with tests or scripts.

MAmattpocock/skills336k5,004 new stars in the last 7 days

setup-ts-deep-modules

MAmattpocock/skills336k5,004 new stars in the last 7 days

code-review

MAmattpocock/skills336k5,004 new stars in the last 7 days

implement

MAmattpocock/skills336k5,004 new stars in the last 7 days