debug-reproduced
User confirms the bug was reproduced. Analyze logs and iterate on hypotheses.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
User confirms the bug was reproduced. Analyze logs and iterate on hypotheses.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
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.