---
name: minimal-repro-pack
description: >
  Build a minimal reproduction package for a bug. Use when debugging prod issues,
  writing GitHub issues, or Chinese "最小复现", "repro", "怎么复现". Shrink to smallest steps.
---

# Minimal Repro Pack

## Overview

Shrink a bug to the smallest steps and assets another engineer (or agent) can run in minutes.

## Steps

1. State expected vs actual.  
2. Environment: OS, versions, branch, feature flags.  
3. Minimal steps (numbered). Remove unrelated setup.  
4. Minimal code/data: seed script, sample payload, one failing test if possible.  
5. What you already tried.  
6. Package list: files to attach / commands to run.  

## Exit criteria

- [ ] Expected/actual clear  
- [ ] Steps ≤ ~10 and ordered  
- [ ] Env noted  
- [ ] Someone else can follow without tribal knowledge  

## Anti-patterns

- “Open the whole monorepo and click around”  
- Missing versions  

## Output template

```markdown
## Minimal repro
### Expected / actual
### Env
### Steps
1. ...
### Files / commands
### Already tried
```
