Skip to content
Skillpedia
Writing40k · #5046

bug-reproduction-brief

Has your agent turn vague bug reports into clear steps to reproduce the issue. This helps find the cause and propose a fix.

What it does

This tool helps turn vague bug descriptions into a simple, clear step-by-step guide that shows exactly where and how the error occurs. The goal is to have the minimal proof of the problem before trying to fix it.

When to use it

  • ✓When a bug happens only sometimes.
  • ✓When a bug only occurs on a specific computer or setup.
  • ✓When the bug description is unclear or incomplete.

Example of what to ask your AI

“Turn this checkout error into a minimal step-by-step guide that reproduces it. Show what should happen, what actually happened, and what parts are still unknown.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/github/awesome-copilot/blob/main/skills/bug-reproduction-brief/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/bug-reproduction-brief/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It asks you to record the exact error, the environment where it happens (like the program version), and what should happen versus what does happen. Then, it guides you to simplify the steps as much as possible until you find the shortest sequence that still causes the error, without trying to fix it.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add github/awesome-copilot --skill bug-reproduction-brief

Or download just the file:

curl -L https://raw.githubusercontent.com/github/awesome-copilot/main/skills/bug-reproduction-brief/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Bug Reproduction Brief

Use this skill when a bug report is incomplete, intermittent, environment-specific, or mixed with an assumed cause. The goal is to prove the smallest observable failure before diagnosis or repair begins.

1. Record the observed failure

Capture the exact error, incorrect output, timestamp, affected route or command, and the smallest known input. Preserve relevant logs without secrets or personal data. Label second-hand descriptions as unverified.

2. Identify the environment

Record only facts you can inspect:

  • repository and commit;
  • runtime and package-manager versions;
  • operating system or container;
  • dependency lockfile;
  • relevant feature flags;
  • whether the target is local, test, staging, or production.

Never guess credentials or production configuration.

3. Separate expected from actual behaviour

Write two explicit observable statements:

Expected: [observable result]
Actual:   [observable result, including status or error]

Do not put the suspected cause in either statement.

4. Reduce the reproduction

Start from the reported path, then remove unrelated data, services, and steps one at a time. Keep the smallest fixture that still fails. If the failure stops, restore the last removed condition and record it.

Prefer an isolated test, minimal script, or smallest safe request over reproducing against production.

5. Prove repeatability

Run the minimal reproduction at least twice where safe. Record commands and outputs. If the failure is intermittent, report the observed frequency and duration instead of calling it deterministic.

6. Stop before repair

A verified reproduction is the deliverable. Do not edit implementation code while building the brief because that can destroy the evidence or mix diagnosis with remediation.

Output

# Bug Reproduction Brief

- Target and commit:
- Environment:
- Expected:
- Actual:
- Minimal steps:
- Minimal fixture:
- Reproduced: yes / no / intermittent
- Evidence:
- Unknowns:
- Safe next hypothesis to test:

Safety boundaries

  • Do not change production data merely to reproduce a bug.
  • Do not publish secrets, customer records, or private source.
  • Do not claim a root cause from correlation alone.
  • Use read-only or reversible discovery first.
  • Stop after a verified reproduction; diagnosis and repair are separate workflows.

Example prompt

Use the Bug Reproduction Brief skill on the failing checkout test. Do not fix it yet. Reduce it to the smallest safe failing fixture and report the exact command evidence, expected result, actual result, and remaining unknowns.

Source and licence

Adapted from the MIT-licensed workflow at https://github.com/skyestrela/ai-agent-skill-preview.

FAQ

What is a 'bug report'?

It's a description of a problem or error found in a program or system.

What does 'minimal reproduction' mean?

It's the smallest sequence of actions or the smallest set of data that can reliably make the error happen again.

Why shouldn't I try to fix the bug when using this tool?

Because the goal is first to have clear and simple proof of the bug. Trying to fix it beforehand can change the problem and make it harder to identify the real cause.

Details

Original description by the author

Turn a vague, intermittent, or environment-specific bug report into a minimal evidence-backed reproduction before proposing a fix.

repo: github/awesome-copilot

Popularity

GitHub stars
40k
Ranking position
#5046
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills