Reproduce the Bug

A minimal reproduction plan for a reported bug, with exact steps and test data.

Intermediate · Works with ChatGPT, Claude, Gemini, Copilot

The prompt

Write a minimal reproduction plan for this bug: exact steps, the smallest data set needed, and the expected versus actual result.

Ask for any specific missing detail that's genuinely blocking a reliable repro, rather than guessing around it, and consider whether the reported symptom might not be the actual failure.

Bug report:
{{CODE}}

Environment and stack:
{{STACK}}

Why this prompt works

Asking for missing details only when genuinely blocking keeps the process fast while avoiding a repro built on wrong assumptions.

How to customize it

  • Answer the flagged missing-detail question before running the repro plan.
  • Try the minimal repro before assuming the original bug report's framing is accurate.

Common mistakes

  • Accepting a vague bug report ('sometimes fails') without narrowing the trigger first.
  • Building a repro that's more complex than the smallest case needed.

Example

Input

Bug report: User says the export button 'sometimes' produces an empty CSV, no clear pattern

What a good answer looks like

Exact numbered repro steps, a minimal data set, and expected vs. actual behavior.

Make this prompt fit your work

ModelCoach.ai scores your version, shows what to improve and explains why, right inside ChatGPT, Claude, Gemini and Copilot.

Related prompts