원클릭으로
systematic-debugging
Four-phase debugging discipline with refuse gates.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Four-phase debugging discipline with refuse gates.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Iterative multi-round codebase audit with diminishing-returns detection. Run 5-20+ rounds, each focusing on one specific area. Built from 19 rounds of dogfooding pi-crew on itself.
Pi TUI crew widget data sources, display priority, and rendering performance.
Multi-phase orchestration for planners and executors.
Spawn 3 adversarial subagents (Skeptic, Pragmatist, Critic) to evaluate a decision, architecture choice, or plan. Anti-anchoring: each role receives ONLY the question, not conversation history. Aggregates votes into consensus recommendation with dissent tracking. Use when facing critical decisions, architecture choices, security tradeoffs, or plan reviews where single-perspective analysis is insufficient.
Background worker, heartbeat, stale-run, crash-recovery, and deadletter workflow. Use when debugging stuck/dead workers or changing async run reliability.
Child Pi worker spawning, lifecycle callbacks, and failure modes.
| name | systematic-debugging |
| description | Four-phase debugging discipline with refuse gates. |
| origin | pi-crew |
| triggers | ["debug this","investigate","fix this bug","test failed","crash"] |
Core principle: no fixes without root-cause investigation first. Symptom patches create new bugs and hide the real failure.
Distilled from detailed reads of systematic-debugging, root-cause tracing, TDD, and error-analysis skill patterns.
Before beginning any debug session, recite these four steps:
1. First is reproducibility. Can the issue be reproduced reliably? 2. Know the fail path. Where does the code break and what stops it from breaking? 3. Question your hypothesis. What would disprove it? 4. Every run is a breadcrumb. Cross-reference all of them.
If the user says "skip the ritual" → skip the recitation but still apply the four phases silently.
Before proposing ANY fix:
If ANY answer is NO: → Stop. → State what's missing. → Do not propose a fix.
Exception: if the user explicitly says "just patch the symptom" — proceed but flag it as a symptom patch, not a root-cause fix.
Before any fix:
For pi-crew, trace:
user/tool params → config resolution → team/workflow/agent discovery → model/runtime routing → child args/env → state/events/artifacts → status/UI
Maintain a running ledger of every experiment in this session. Each entry:
| # | What Changed | What Happened | Ruled In/Out |
|---|---|---|---|
| 1 | Added [DBG-001] probe | Got [output] | Hypothesis A ruled out |
| 2 | Changed X to Y | Same error persists | Not X |
| 3 | Checked Z config | Found mismatch | Z is contributing |
When a new hypothesis surfaces, walk the ledger:
When in doubt, design the single experiment whose outcome makes it certain — run that next.
Update the ledger after every run. It is your memory across the session.