mikecfisher/claude-debug-mode · Archived

debug-reproduced

User confirms the bug was reproduced. Analyze logs and iterate on hypotheses.

First seen Mar 18, 2026

Installation

$ npx skills add mikecfisher/claude-debug-mode --skill debug-reproduced

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from mikecfisher/claude-debug-mode.

npx skills add mikecfisher/claude-debug-mode

Browse all from mikecfisher/claude-debug-mode

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,547 B
  • docs SUMMARY.md 101 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

Debug Reproduced

User has reproduced the bug. Analyze log evidence and iterate.

User Notes

$ARGUMENTS

Workflow

Step 1: Analyze Logs

Run the analyzer:

bun ./scripts/analyze-logs.mjs

Or read raw logs:

cat .debug/debug.log

Step 2: Evaluate Hypotheses

For each hypothesis, assign one verdict:

  • CONFIRMED: Log evidence proves this is the cause
  • REJECTED: Log evidence rules this out
  • INCONCLUSIVE: Need more instrumentation

Always cite specific log entries as evidence:

Hypothesis A: CONFIRMED

- Log at 14:32:05.123 shows items is undefined at function entry
- Log at 14:32:05.156 shows error "Cannot read property 'length' of undefined"
- Root cause: order.items not provided by caller

Hypothesis B: REJECTED

- Logs show loadUser completed at 14:32:05.100
- renderProfile started at 14:32:05.200
- Order is correct, no race condition

Step 3: Take Action

If hypothesis CONFIRMED:

  1. Implement the fix
  2. Keep instrumentation in place (do NOT remove logs yet)
  3. Provide new reproduction steps to verify fix
  4. After user reproduces, compare before/after logs — cite specific entries showing the fix worked

If INCONCLUSIVE:

  1. Add more instrumentation to narrow down
  2. Provide new reproduction steps

If ALL hypotheses REJECTED:

  1. Generate NEW hypotheses from different subsystems
  2. Add instrumentation for new hypotheses
  3. Provide new reproduction steps

Step 4: Next Iteration

Provide exact reproduction steps:

<reproduction_steps>

  1. [Step 1]
  2. [Step 2]

... </reproduction_steps>

End with:

Follow these steps, then run /debug-reproduced when done, or /debug-fixed if the issue is resolved.

Critical Rules

  1. NEVER fix without 100% confidence with log proof
  2. NEVER remove instrumentation before verified fix
  3. ALWAYS cite specific log entries — "Log at 14:32:05 shows X was null"
  4. Iteration is expected — Failed fixes mean new hypotheses, not giving up
  5. 3 failed fixes = step back — Reconsider assumptions, look at different subsystems
  6. Taking longer is better — Thorough debugging beats quick guesses

Note on Log Accumulation

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.