garfield247/agent-skill-systematic-debugging/systematic-debugging
Claude Code and agent skill by garfield247/agent-skill-systematic-debugging
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
生产级系统化 Bug 深度排查、根因定位 (Root Cause Analysis, RCA)、风险评估与原子修复工程规范技能。 严格遵循排障五步法 (复现隔离 -> 根因机理剖析 -> 影响面评估与方案提交 -> 用户确认后再修复 -> 回归闭环)、 完成前铁证验证门禁 (Verification Evidence Gate)、坚决杜绝静默添加重试或默认值兜底、 红绿灯测试先行 (Red-Green-Refactor) 与最小破坏性原子修复验证标准。
Install
npx vskill@latest install garfield247/agent-skill-systematic-debugging/systematic-debuggingSKILL.md
The same SKILL.md was published earlier as garfield247/agent-skill-systematic-debugging/systematic-debugging.
系统化 Bug 排查与根因修复工程规范 (Systematic Debugging Skill)
本技能定义了面对缺陷故障、崩溃报警与逻辑异常时的能级分流原则、RCA 根因剖析门禁与渐进式手册索引。
1. 核心铁律与绝对红线 (Core Redlines)
- 🚨 敏捷双通道路由门禁:
- 🟢 L0 快速通道 (自明性单点):Typo、路径兼容、非逻辑样式微调免除写锁与长篇报告阻断,直接原子修复并回显变更事实;
- 🔴 L1/L2 严苛门禁通道 (业务与系统级缺陷):Panic、并发死锁、事务异常等,强制启动只读写锁,在出具 RCA 报告获确认前严禁擅自改动代码。
- 🚨 严禁静默重试与默认兜底 (No Silent Fallback/Retry):
- 坚决杜绝擅自包裹
try-except: return {}或无脑添加自动重试;必须事先向用户阐明脏数据与雪崩次生风险并获授权。
- 🚨 最小破坏性原则 (Minimal Invasive Fix):
- 严格收敛破坏扇区,严禁借排障之名大面积全库格式化或重构历史无关逻辑。
- 🚨 完成前铁证验证门禁 (Verification Evidence Gate):
- 严禁口头声明“已修复”;必须在终端实际执行测试检验命令,提供 Exit Code 0 与真实执行断言铁证。
2. 标准排障工作流 (Standard Workflow)
- 能级分流:根据缺陷影响面判定是走 L0 快速通道还是 L1/L2 严苛通道;
- 隔离排障:抓取报错堆栈与输入入参,调度对应语言排错武器库定位;
- RCA 出具:向用户提交结构化 RCA 报告(直接诱因、深层根因、推荐方案、风险评估);
- 红绿验证:先验证红灯测试确认 Bug,修复后跑绿灯测试获取 Exit Code 0 铁证;
- 闭环交付:精准暂存并提交原子 Commit。
3. 渐进式专业参考手册 (Progressive Disclosure References)
根据具体涉及的业务场景,按需查阅 `references/` 目录下的专门规约,严禁将全量子文档一次性无脑全部展开:
| 场景模块 | 参考子文档 | 核心涵盖规范 | |
|---|---|---|---|
| 缺陷能级分流矩阵 | 01_defect_triage_matrix.md | • L0 极速通道免除写锁机制<br>• L1/L2 复杂缺陷强写锁阻断与流转协议 | |
| 排障五步标准流水线 | 02_sop_five_stage_pipeline.md | • 现象复现、隔离追踪、RCA 分析、方案确认、铁证验证<br>• 红绿灯测试 (Red-Green-Refactor) 规范 | |
| 标准 RCA 报告模板 | 03_rca_report_template.md | • 故障链路、直接诱因与深层架构根因结构化表达<br>• 方案对比、风险评估与验收指令模板 | |
| 跨语言排障武器库 | 04_cross_language_tooling_matrix.md | • Go (-race/pprof)、Python (ASYNCIODEBUG)<br>• MySQL (死锁三板斧)、Redis (SLOWLOG/Lua) 协同 |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/systematic-debugging/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/garfield247/agent-skill-systematic-debugging/systematic-debugging)