New to Claude Skills? Learn how to install them →

github on GitHub

Bug Reproduction Brief

OfficialFree

Transform vague bug reports into clear reproductions.

by github37.7k stars on github/awesome-copilot
2 views
Updated Aug 10, 2026
Get this skill

Free · Opens the source repo

What Bug Reproduction Brief does

The Bug Reproduction Brief skill is designed to assist developers in creating a structured and evidence-backed reproduction of bugs that may be vague, intermittent, or environment-specific. By following a systematic approach, this skill helps ensure that the bug is clearly documented before any diagnosis or repair is attempted. This is crucial in software development, where understanding the exact nature of a bug can significantly streamline the troubleshooting process.

The skill guides users through a series of steps that begin with recording the observed failure, including capturing the error message, the context in which it occurred, and any relevant logs. It emphasizes the importance of identifying the environment in which the bug was found, detailing aspects such as repository versions, operating systems, and feature flags. This information is vital for replicating the issue in a controlled manner.

In addition to documenting the failure and environment, the skill instructs users to clearly separate expected behavior from actual outcomes. This clarity helps in narrowing down the problem without making assumptions about the cause. The process of reducing the reproduction to the smallest possible scenario is also emphasized, ensuring that extraneous factors do not cloud the investigation.

Ultimately, the Bug Reproduction Brief skill stops short of diagnosing or fixing the issue, focusing solely on verifying that the bug can be reproduced. This separation of concerns is critical in maintaining the integrity of the evidence collected, allowing developers to approach the actual repair with a clear understanding of the problem at hand. This skill is especially valuable for teams dealing with complex systems where bugs may arise from a multitude of sources.

When to use it

Use this skill when faced with a bug report that lacks detail or is difficult to reproduce consistently.

When not to use it

This skill is not suitable for diagnosing or fixing bugs; it focuses solely on reproduction.

What you can build with it

Documenting a Vague Bug Report

When a bug report lacks specific details, use this skill to gather necessary information and clarify the issue.

Reproducing Environment-Specific Bugs

In cases where bugs occur only in certain environments, this skill helps isolate and document the conditions needed to reproduce the issue.

Preparing for a Bug Fix

Before attempting to fix a bug, use this skill to ensure you have a verified reproduction to guide your troubleshooting.

How to install Bug Reproduction Brief

View source

1. Install with the skills CLI

npx skills add github/awesome-copilot/bug-reproduction-brief --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by 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.

Frequently asked questions about Bug Reproduction Brief

Similar skills