From helloagents
Guides systematic debugging: feedback loops via tests/scripts, Git history review, 4-phase method (locate-analyze-hypothesize-fix), temporary logging, escalation. For bugs, failed tests, anomalies.
npx claudepluginhub hellowind777/helloagents --plugin helloagentsThis skill uses the workspace's default tool permissions.
调试相关工作必须遵循以下规范。
Guides root cause debugging for bugs, test failures, and unexpected behavior. Enforces reproduce-investigate-hypothesize-fix process with evidence before fixes. No guessing.
Guides systematic debugging of bugs, test failures, or unexpected behavior via reproduce-understand-hypothesize-fix-verify phases before fixes.
Guides systematic debugging in 4 stages—root cause investigation, pattern analysis, hypothesis validation, targeted fixes—for bugs, test failures, builds, performance, and integrations before proposing solutions.
Share bugs, ideas, or general feedback.
调试相关工作必须遵循以下规范。
禁止未经根因分析直接修复。 先建立可运行、可重复、可判断的反馈循环;没有反馈循环,不直接猜原因或改代码。
每次调试前,先读取相关的 git 历史:
git log --oneline -20 查看最近变更git log --all --grep="revert" 查看过去的失败回滚反馈循环是调试入口,必须能证明“问题出现 / 问题消失”:
[DEBUG-a4f2]连续修复失败时,按以下阶梯升级策略:
第 1-2 次失败:正常反思,调整修复方向 第 3 次失败:停止。3 次失败意味着可能是架构问题而非局部 bug。重新从根因分析开始,质疑当前方向是否正确 第 4 次失败:扩大范围——重读所有相关文件,审查 git 历史中的相关变更,检查是否有隐藏的依赖或副作用 第 5 次失败:必须与用户讨论。提出以下选项:
超过 5 次:停止自主尝试,转为用户决策。