结构化调试 — Bug 修复时自动激活
Scanned 9/5/2026
Install to Claude Code
npx -y skills add WenJunDuan/Rlues --skill systematic-debugging --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Systematic Debugging?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/wenjunduan-systematic-debugging-rlues)More formats (shields.io, HTML) on the badges page.
---
name: systematic-debugging
description: 结构化调试 — Bug 修复时自动激活
---
## 触发: 需求含 bug/fix/error/crash/失败/报错
## 四阶段 (不允许跳过)
### 1. 复现
- 找到稳定触发步骤
- 写失败测试证明 bug 存在
- **不能复现 = 不能修复, 先搞清楚条件**
### 2. 根因追踪
- 从错误往上追调用链
- 搜索项目代码找相关逻辑
- 确认根因, 不是表面症状
### 3. 防御性修复
- 修根因, 不绕症状
- 添加防御检查防同类
- 失败测试变绿
### 4. 验证
- 全量测试无回归
- 搜索同类 bug (ast-grep 如可用)
- lessons.md 记录
## 禁止
- 看到报错就改代码, 没有先复现
- 只修症状不查根因
- 改完不跑测试
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!