一键导入
systematic-debugging
Use when encountering a bug, test failure, unexpected behavior, intermittent result, or error.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when encountering a bug, test failure, unexpected behavior, intermittent result, or error.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when following the Super Compound BRD -> PRD -> FSD -> GOAL -> IMPLEMENTATION -> VERIFICATION delivery path, artifact traceability, FSD authority, optional ADR handling, zero context bloat issue slicing, or OPEN-* stop conditions.
Use when an approved FSD goal or lightweight issue pointer is ready for implementation.
Use when multi-component work needs cross-component verification of API contracts, data flow, events, auth, config, UI, background jobs, or tests.
Use when /sc-plan needs FSD GOAL-* packets turned into lightweight issue pointers, local Markdown Kanban boards, blocker DAGs, or multi-agent task contracts.
Use when a plan or issue board has 2+ independent execution streams whose time saving exceeds coordination overhead. Dispatches agents in isolated git worktrees only after required delivery gates pass.
Use when an FSD and goal issue board need requirement coverage, goal quality, dependency DAG, sizing, and verification validated before execution.
| name | systematic-debugging |
| description | Use when encountering a bug, test failure, unexpected behavior, intermittent result, or error. |
Announce: "I'm using the systematic-debugging skill to diagnose this issue."
Find the root cause before changing production behavior. A fast, deterministic, red-capable reproduction is the primary debugging tool.
Use for every defect or unexplained failure, including flaky, environment-specific, multi-component, and performance-dependent symptoms.
DO NOT attempt fixes until Phase 1 establishes a reproducible symptom and evidence about where it originates.
Core loop:
verification-before-completion.If reproduction is impossible, gather more data and report uncertainty. Never guess-fix.
| Thought | Required response |
|---|---|
| "Let me try this quick fix" | Return to reproduction and boundary evidence. |
| "I know the cause" | State and test its prediction. |
| "I cannot reproduce it, but..." | Instrument or collect data; do not patch. |
| "A try/catch will handle it" | Explain and fix the originating invalid state. |
| "Another tweak might work" after repeated attempts | Stop after 3+ attempts and question architecture. |
executing-plans routes implementation failures here.test-driven-development governs the regression cycle.verification-before-completion gates the final fix claim.architecture-enforcement helps when no clean test seam exists.knowledge-compounding captures the confirmed cause and reusable solution.