From helloagents
Structured debugging workflow: root cause analysis, reproducible feedback loops, git history review, hypothesis testing (3–5 hypotheses), minimal fix with regression tests. Includes escalation rules for repeated failures.
How this skill is triggered — by the user, by Claude, or both
Slash command
/helloagents:hello-debugThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
调试相关工作必须遵循以下规范。
调试相关工作必须遵循以下规范。
禁止未经根因分析直接修复。 先建立可运行、可重复、可判断的反馈循环;没有反馈循环,不直接猜原因或改代码。
每次调试前,先读取相关的 git 历史:
git log --oneline -20 查看最近变更git log --all --grep="revert" 查看过去的失败回滚反馈循环是调试入口,必须能证明“问题出现 / 问题消失”:
[DEBUG-a4f2]连续修复失败时,按以下阶梯升级策略:
第 1-2 次失败:正常反思,调整修复方向 第 3 次失败:停止。3 次失败意味着可能是架构问题而非局部 bug。重新从根因分析开始,质疑当前方向是否正确 第 4 次失败:扩大范围——重读所有相关文件,审查 git 历史中的相关变更,检查是否有隐藏的依赖或副作用 第 5 次失败:必须与用户讨论。提出以下选项:
超过 5 次:停止自主尝试,转为用户决策。
npx claudepluginhub hellowind777/helloagents --plugin helloagentsApplies Zeller's scientific method to debug software: reproduce, hypothesize, binary-search isolate, fix root cause, add regression test. Triggers on bug, error, crash, stack trace.
Implements 4-phase systematic debugging for bugs, test failures, errors, and unexpected behavior: Gather evidence with git/grep, analyze patterns, hypothesize causes, implement/prove fixes.
Methodical 4-phase debugging process for resolving errors, test failures, and unexpected behavior systematically.