Agent Skills
› aiming-lab/MetaClaw
› debug-systematically
debug-systematically
GitHub指导系统化排查代码缺陷、异常行为或测试失败的技能。强调通过复现、隔离、假设验证等结构化步骤定位根因,避免盲目修改,提升调试效率与准确性。
Trigger Scenarios
诊断Bug
测试失败分析
代码行为异常排查
Install
npx skills add aiming-lab/MetaClaw --skill debug-systematically -g -y
SKILL.md
Frontmatter
{
"name": "debug-systematically",
"category": "coding",
"description": "Use this skill when diagnosing a bug, unexpected behavior, test failure, or any situation where code does not behave as expected. Follow a structured debugging process instead of randomly changing code."
}
Debug Systematically
Process:
- Reproduce the bug with the smallest possible input.
- Isolate — narrow down which component/function causes it.
- Hypothesize — form a specific, falsifiable hypothesis.
- Test — verify or disprove the hypothesis with a minimal experiment.
- Fix — address the root cause, not just the symptom.
- Verify — re-run the failing test and related tests.
Useful tools: print/logging, pdb/ipdb, unit tests, git bisect.
Anti-patterns:
- Changing multiple things at once and not knowing what fixed it.
- Ignoring related test failures.
- Commenting out code instead of understanding it.
Version History
- 922caf3 Current 2026-07-25 11:08


