debug-reproduced
User confirms the bug was reproduced. Analyze logs and iterate on hypotheses.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
User confirms the bug was reproduced. Analyze logs and iterate on hypotheses.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
User confirms the bug is fixed. Clean up instrumentation and summarize.
Hypothesis-driven debugging with runtime log instrumentation. Use when user reports a bug, unexpected behavior, flaky test, or when runtime evidence is needed to understand code behavior. Invoke for issues like "X isn't working", "I'm seeing Y error", "why does Z happen", or when multiple code paths could cause the problem.
| name | debug-reproduced |
| description | User confirms the bug was reproduced. Analyze logs and iterate on hypotheses. |
User has reproduced the bug. Analyze log evidence and iterate.
$ARGUMENTS
Run the analyzer:
bun ./scripts/analyze-logs.mjs
Or read raw logs:
cat .debug/debug.log
For each hypothesis, assign one verdict:
Always cite specific log entries as evidence:
Hypothesis A: CONFIRMED
- Log at 14:32:05.123 shows
itemsisundefinedat function entry- Log at 14:32:05.156 shows error "Cannot read property 'length' of undefined"
- Root cause:
order.itemsnot provided by callerHypothesis B: REJECTED
- Logs show
loadUsercompleted at 14:32:05.100renderProfilestarted at 14:32:05.200- Order is correct, no race condition
If hypothesis CONFIRMED:
If INCONCLUSIVE:
If ALL hypotheses REJECTED:
Provide exact reproduction steps:
<reproduction_steps>
End with:
Follow these steps, then run
/debug-reproducedwhen done, or/debug-fixedif the issue is resolved.
Logs accumulate across iterations (not auto-cleared). This allows comparing behavior across reproduction cycles. Run bun ./scripts/clear-logs.mjs if you need a fresh start.