跳到正文
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
许可证
MIT
最近提交
2026年12月1日

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

在 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.

相似的 Skill

rea-analysis-optimization

MOmorluto/rea485k近 7 天新增 9,215 个 star

codebase-design

MAmattpocock/skills336k近 7 天新增 5,004 个 star

精选

diagnosing-bugs

诊断困难 bug 和性能回归,用测试或脚本构建反馈循环定位问题。

MAmattpocock/skills336k近 7 天新增 5,004 个 star

setup-ts-deep-modules

MAmattpocock/skills336k近 7 天新增 5,004 个 star

code-review

MAmattpocock/skills336k近 7 天新增 5,004 个 star

implement

MAmattpocock/skills336k近 7 天新增 5,004 个 star