Bug Reproduction Brief
GitHubOfficialFirst committed by skyestrelaDistributed by GitHub
- Skill
- Content generator
- Software development
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The Bug Reproduction Brief skill provides a systematic approach to isolating software defects. By focusing on creating a minimal, repeatable failure case, it prevents developers from jumping to premature conclusions or modifying code without sufficient evidence. The process emphasizes environmental clarity, separation of expected versus actual behavior, and strict safety boundaries to ensure that reproduction efforts remain non-destructive and focused on observable facts.
What it does
- Documents the exact observed failure including error messages and affected system states.
- Captures precise environmental details like versions, commits, and configurations.
- Forces a clear distinction between expected and actual system behavior.
- Guides the reduction of complex scenarios into the smallest possible failing test case.
- Verifies the repeatability of the bug without modifying the underlying implementation.
- Produces a standardized brief containing evidence and remaining unknowns for further analysis.
When to use it
- When a bug report is vague, intermittent, or difficult to replicate.
- Before starting any diagnostic or repair work on a reported issue.
- When you need to prove a failure exists in a controlled, isolated environment.
- When working with environment-specific issues that require careful documentation.
Advantages
- Prevents premature code changes that could mask the root cause.
- Ensures that debugging efforts are based on verifiable, minimal evidence.
- Improves communication by providing a standardized format for bug reports.
- Reduces the risk of accidental data corruption or production impact during testing.
- Helps identify the exact conditions required to trigger a failure.
Usage examples
- “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.”
- The agent will analyze the failing test, strip away unnecessary data to create a minimal reproduction case, and output a structured brief detailing the environment, expected vs actual behavior, and the evidence of the failure.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/github/bug-reproduction-brief/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip bug-reproduction-brief.zip -d .agents/skills
Documentation by skyestrela
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.
Files
- ATTRIBUTION.mdAdded by AutoGineer881 B
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md2.9 KiB
Requirements and compatibility
Written for: GitHub Copilot
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- First committed by
skyestrela
- Publisher
- GitHub (Official)
- Distributed by
- GitHub
- Source
- github/awesome-copilot · skills/bug-reproduction-brief · commit 797337f
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- skyestrela
AutoGineer is not affiliated with or endorsed by skyestrela or GitHub.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download bug-reproduction-brief.zip