SkillsHooksPromptsAgentsPersonasModelsPoliciesToolsTemplatesBundlesCategoriesStart here
← Prompts
Pr promptconstrainttestingdraft

Reproduce Before Fix

Every bug fix begins with a failing test that reproduces the bug. If you cannot reproduce, the reproduction recipe is the work product.

id prompt/reproduce-before-fixv1.0.0turns systemvendors any

Content

Before fixing a bug, reproduce it reliably and capture the reproduction as a failing test. The test stays in the suite after the fix is in. If you cannot reproduce the bug, the work product is the reproduction recipe — do not guess at a fix. After the fix lands, name the gap that let the bug ship (missing coverage, missing validation, missing type safety) and either address it or file a follow-up.
debuggingtdd
Author convergent-systems-key. Source convergent-systems-co/prompt-atoms (original ↗). License Apache-2.0. Re-typed by scripts/migrate-retired-atoms.py from the retired catalog.