Skip to content
Back to skills

Repro

ASecurity

Build a minimal, reliable reproduction of a bug before attempting to fix it

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 3, 2026
ai-agentsgodebugging

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add black141312/ada --skill repro --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Repro?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Repro
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/black141312-repro/badge)](https://www.skillsdirectory.com/skills/black141312-repro)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: repro
description: Build a minimal, reliable reproduction of a bug before attempting to fix it
category: debugging
---

# Repro

Use when a bug is reported vaguely or only happens "sometimes." A minimal repro turns a fuzzy report into a concrete, debuggable artifact — and often reveals the cause by itself.

1. Capture the original conditions: inputs, environment, versions, and the exact observed failure.
2. Get it failing once on your machine, however ugly — full app, real data, whatever it takes.
3. Strip it down: remove unrelated code, mock external services, shrink the input toward the smallest case that still fails.
4. Pin nondeterminism — fix random seeds, freeze clocks, force single-threaded, hardcode the offending input — until it fails every run.
5. Turn it into a runnable script or a failing test that anyone can execute with one command.
6. Confirm the repro fails for the right reason (same error/trace), not a new unrelated one.

## Rules
- A repro you can't run on demand isn't done — "it happened in prod once" is a lead, not a repro.
- Remove things one at a time; if the failure disappears, you just found a clue about the cause.
- Keep the input as small as possible — a 3-line case beats a 300-line dump for finding the bug.
- Prefer a failing test over a throwaway script so the repro stays as a regression guard after the fix.
- If you genuinely can't reproduce, add logging in the real environment to capture the conditions next time it fires.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…