MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

Bug-Reproduction-Brief

Bug-Reproduction-Brief is an code AI skill with a core value of Turn a vague, intermittent, or environment-specific bug report into a minimal evidence-backed reproduction before proposing a fix. It helps developers solve real-world problems in the code domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

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

Last verified on: 2026-08-02

Quick Facts

Category code
Works With GitHub Copilot, Claude
Source github/awesome-copilot
Stars ⭐ 34.1k
Last Verified 2026-08-02
Risk Level Low
mkdir -p ./skills/bug-reproduction-brief && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/bug-reproduction-brief/SKILL.md -o ./skills/bug-reproduction-brief/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# 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:


text
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


markdown
# 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


text
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.

🎯 Best For

  • GitHub Copilot users
  • Claude users
  • Software engineers
  • Development teams
  • Tech leads

💡 Use Cases

  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open GitHub Copilot or Claude and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Bug-Reproduction-Brief to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Is Bug-Reproduction-Brief compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for Bug-Reproduction-Brief?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install Bug-Reproduction-Brief?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/bug-reproduction-brief/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills