minimal-repro Skill
Help create a minimal reproduction for a TypeSpec compiler or emitter bug. Use when a user provides TypeSpec source (pasted code or a GitHub URL) and describes an issue. Reproduces locally and reduces to a single-file repro. Published by microsoft in typespec.
What is minimal-repro Skill?
Help create a minimal reproduction for a TypeSpec compiler or emitter bug. Use when a user provides TypeSpec source (pasted code or a GitHub URL) and describes an issue. Reproduces locally and reduces to a single-file repro. Published by microsoft in typespec. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Writing
- Writing use cases
Technical details
- Install or run with Copy skill directory
When to use minimal-repro Skill
- Use it for writing.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/typespec
- Skill file: .github/skills/minimal-repro/SKILL.md
What it does
Help create a minimal reproduction for a TypeSpec compiler or emitter bug. Use when a user provides TypeSpec source (pasted code or a GitHub URL) and describes an issue. Reproduces locally and reduces to a single-file repro.
Skill instructions
Minimal Reproduction Reduce a user-reported TypeSpec bug to the smallest single .tsp file that still triggers the issue. Inputs - TypeSpec source (pasted or GitHub URL) - Error description (diagnostic code, message, or incorrect emitter output) Environment Use packages/samples/scratch/ as the working directory — it's gitignored and the packages/samples package already depends on compiler, http, rest, openapi3, versioning, json-schema, etc. If the repro needs packages NOT in the workspace (e.g., @azure-tools/), use a temp folder with npm install instead. Steps 1. Reproduce — Write the user's code to packages/samples/scratch/main.tsp, compile with npx tsp compile main.tsp (add --emit <emitter if relevant), and confirm the same error occurs. 2. Minimize — Iteratively remove code (unused imports, models, properties, decorators, operations, namespaces) and re-compile after each removal. Keep only what's needed to trigger the same error. Undo any removal that makes the error disappear. 3. Pr
Explore related resources
Frequently asked questions
What is minimal-repro?
minimal-repro is a open-source AI agent skill with Copy skill directory. Help create a minimal reproduction for a TypeSpec compiler or emitter bug. Use when a user provides TypeSpec source (pasted code or a GitHub URL) and describes an issue.
Who is minimal-repro best for?
minimal-repro is best for reusing agent instructions, scripts, and references, writing workflows.
How do I install minimal-repro?
Install or run minimal-repro using Copy skill directory. Check minimal-repro for the latest setup command.
Is minimal-repro actively maintained?
minimal-repro may need a closer maintenance check before production use.
Auto-fetched from GitHub.