minimal-repro

Generate structured minimal reproduction environments with pnpm-run patterns.

3|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/t6adev/claude-code-tools --skill minimal-repro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimal-repro
Source: https://github.com/t6adev/claude-code-tools/tree/main/tools/skills/code/minimal-repro
Command: npx skills add https://github.com/t6adev/claude-code-tools --skill minimal-repro

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generating structured minimal reproduction environments to isolate the cause of issues across multiple patterns.

Core Features & Use Cases

  • Create a baseline that mirrors the current environment and multiple patterns for targeted investigation.
  • Support for version-matrix, isolation, and code-variant analyses to pinpoint root causes.
  • Outputs a ready-to-run repro template including package.json and repro.ts, plus README guidance for each pattern.

Quick Start

Run the init-repro.sh script to generate a baseline and multiple patterns under a parent directory.

Frequently Asked Questions about minimal-repro

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a minimal reproduction environment for debugging package-related failures?

To create a minimal reproduction environment, run the init-repro.sh script to generate a baseline and multiple pattern directories. Each pattern directory is self-contained, including package.json and repro.ts files, ready to be installed and executed with pnpm.

What debugging patterns are supported for isolating root causes in code projects?

Supported debugging patterns for isolating root causes include baseline, version-matrix, isolation, and code-variant analyses. These patterns pinpoint root causes by mirroring the current environment and applying targeted investigation across multiple pattern directories.

Do I need pnpm to run the generated minimal reproduction environments?

Yes, you need pnpm to run the generated minimal reproduction environments. The script-driven workflow outputs self-contained pattern directories with package.json files that are conventionally designed to be installed and executed using the pnpm package manager.

What is the best way to isolate environment-related failures across different dependency versions?

The best way to isolate environment-related failures across different dependency versions is using the version-matrix pattern. This approach generates structured minimal reproduction environments that apply targeted investigation to pinpoint the exact root cause of the issue.

What files are included in the generated minimal reproduction template?

The generated minimal reproduction template includes a package.json for dependency management and a repro.ts script for execution. It also provides README guidance for each pattern to help navigate the structured directory output.

When should I use an isolation pattern for debugging environment failures?

You should use an isolation pattern for debugging environment failures when you need to isolate the cause of issues across multiple patterns. It creates a conventional directory structure that separates variables to pinpoint root causes in package or environment-related failures.