Agent skill
systematic-debugging
结构化调试 — Bug修复时自动激活
Install this agent skill to your Project
npx add-skill https://github.com/WenJunDuan/Rlues/tree/main/vibeCoding/old version/config-agent_v9.1.8/.claude/skills/systematic-debugging
SKILL.md
触发: 需求含 bug/fix/error/crash/失败/报错
四阶段 (不允许跳过)
1. 复现
- 找到稳定触发步骤
- 写失败测试证明bug
- 不能复现 = 不能修复
2. 根因追踪
- 从错误往上追调用链
- augment-context-engine 搜相关代码
- LSP diagnostics / ast-grep 辅助 (如可用)
- 确认根因, 不是表面症状
3. 防御性修复
- 修根因, 不绕症状
- 添加防御检查防同类
- 失败测试变绿
4. 验证
- 全量测试无回归
- ast-grep搜同类bug (如可用)
- lessons.md 记录
禁止
- 看到报错就改, 没复现
- 只修症状不查根因
- 改完不测
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-teams
Path D 并行编排 — 子代理分工 + Agent Teams 协作。需要 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
tdd
Path 分级 TDD 策略
context7
E 阶段按需拉取库文档 — 用 ctx7 获取准确 API 信息
knowledge
跨会话经验管理 — 在 .ai_state 内沉淀和复用项目经验
code-quality
Rev 阶段 Plugin 编排顺序
verification
V 阶段 Path 分级验证清单
Didn't find tool you were looking for?