DebuggingClaude Code

Reproduce and Isolate

Create a minimal reproduction of a bug

Prompt

I have a bug in [describe context]. Help me create the smallest possible reproduction: 1. What's the minimal code/setup needed to trigger this? 2. What dependencies can we remove while still reproducing? 3. Write a failing test that captures this exact bug The goal is a test I can run that fails now and passes when the bug is fixed.