/reproduce
Turns a bug into a failing regression test in the repository suite first, confirms it 3× for flakiness, and optionally bisects in an isolated worktree.
npx skills@latest add luci-efe/skills -s reproduce- BuildStage
- 03 Evidence of done · 01 ObservableMethod
- Regression test in repo suite · .ramos/
reproduce/ {predicate.sh,bisect.log} (bisect)Produced artifact / output
Use when
Something is broken — a bug report, a failing test, a regression, or "it used to work" — before changing any code to fix it.
Support & adapters
- Instructions usable across harnesses
Decision tree
- 01→ Observed pre-fix failure
1–2. Classify report & write failing test
Record HEAD baseline, locate throw site with rg, and write the smallest failing test in the existing suite (max 3 attempts)
- 02→ .ramos/
3–4. Flakiness check & optional bisect
Run failing test 3×; if "it used to work", bisect in isolated .ramos/
worktrees/ bisect with .ramos/ reproduce/ predicate.sh reproduce/ bisect.log - 03→ Committed regression test
5–6. Fix & verify without editing test
Apply fix so the unmodified regression test passes and full suite is no worse than baseline; hand off to /
proof
Prerequisites & install recipes
- gitrequired · default & bisect branches
gitbrew install git
Completion criteria
- Deliverable is a regression test committed in the repository suite that fails before the fix and passes after.
- Never runs stash, reset, or checkout over the user working tree; bisect runs in .ramos/
worktrees/ bisect. - Distinguishes a broken test environment from the reported bug before editing source code.
Want something like this built for your company?
Book a callMessage me on LinkedInSee Agentic Engineering