Skip to content
Back to skills

Minimal Reproduction

ASecurity

Use to isolate a bug from a large application into a standalone, runnable script or single test case.

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 29, 2026
ai-agentsapidatabase

Works with

  • api

Security analysis

A100/100

Scanned May 29, 2026

npx -y skills add yeaight7/agent-powerups --skill minimal-reproduction --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Minimal Reproduction?

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

Security grade badge for Minimal Reproduction
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yeaight7-minimal-reproduction/badge)](https://www.skillsdirectory.com/skills/yeaight7-minimal-reproduction)

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: minimal-reproduction
description: "Use to isolate a bug from a large application into a standalone, runnable script or single test case."
---

# Minimal Reproduction

You cannot reliably fix what you cannot reliably reproduce in isolation. 

## The Subtraction Method

1. **Start with the Failure**: Take the code path that fails.
2. **Remove the UI/Network**: If the bug is reported via a web request, write a script that calls the internal controller directly.
3. **Mock Dependencies**: If the bug doesn't require the database, mock it. If it doesn't require the third-party API, mock it.
4. **Prune Data**: If the bug fails on a 10MB JSON payload, binary search the payload down to the exact 2 keys that trigger the failure.
5. **Final Output**: The result must be a single file (e.g., `repro.js` or `test.py`) that relies on ZERO external state, can be run with a single command, and deterministically outputs the exact error reported.

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…