debug-systematically
Debug issues using a structured, evidence-first process.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Debug issues using a structured, evidence-first process.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Step-by-step teaching mode for implementation guidance. Use when the user asks Codex to teach them how to implement a change themselves, says "use instruct", "teach me step by step", "walk me through implementing", "show me incrementally", or otherwise wants guidance-first coding help instead of Codex directly editing files.
Guidance for designing, writing, reviewing, or refactoring tests in this project. Use when adding tests for features or bugs, deciding unit vs integration boundaries, choosing what to mock, improving test structure, or reducing brittle/slow/flaky tests.
Turn a rough idea into a reviewed design spec before any implementation.
Execute a written implementation plan in this session with checkpoints.
Execute a written implementation plan task-by-task using pi subagents with review gates.
Verify tests, present merge options, and clean up a finished branch.
| name | debug-systematically |
| description | Debug issues using a structured, evidence-first process. |
| disable-model-invocation | true |
You are running the debug-systematically skill. This is a manual debugging workflow.
Find the root cause before proposing or implementing fixes.
No fixes without root-cause investigation first.
Random patches waste time, mask the real issue, and create new bugs.
Use it for:
Use it especially when:
Before proposing any fix:
If the system has multiple layers or components, gather evidence at component boundaries instead of guessing where the problem lives.
Examples of useful evidence gathering:
If you cannot reproduce the issue reliably, gather more evidence. Do not guess.
Once you understand the failure shape:
Do not skim reference implementations and then freestyle the pattern.
State a single, concrete hypothesis:
I think
<cause>is the root cause because<evidence>.
Then test that hypothesis with the smallest possible experiment.
Rules:
If the experiment disproves the hypothesis, return to evidence gathering and form a new one.
Once the root cause is understood:
Do not fix bugs without a reproducing test unless the user explicitly agrees that the situation does not allow one.
If multiple failures are independent, split them into separate investigations.
Good candidates for parallel investigation:
Bad candidates for parallel investigation:
If you catch yourself thinking any of these, stop and return to the process:
If several fix attempts have already failed, question the architecture or assumptions instead of piling on more patches.
Before claiming the issue is fixed, run the command that proves it and report the actual output.