Bug Reproduction Brief

Bug Reproduction Brief

Turns a vague or intermittent bug report into a minimal, evidence-backed reproduction by recording the failure, environment and expected versus actual behaviour before any fix.

Skill files1 file
SKILL.md86 lines
1
---
2
name: bug-reproduction-brief
3
description: 'Turn a vague, intermittent, or environment-specific bug report into a minimal evidence-backed reproduction before proposing a fix.'
4
---
5
6
# Bug Reproduction Brief
7
8
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.
9
10
## 1. Record the observed failure
11
12
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.
13
14
## 2. Identify the environment
15
16
Record only facts you can inspect:
17
18
- repository and commit;
19
- runtime and package-manager versions;
20
- operating system or container;
21
- dependency lockfile;
22
- relevant feature flags;
23
- whether the target is local, test, staging, or production.
24
25
Never guess credentials or production configuration.
26
27
## 3. Separate expected from actual behaviour
28
29
Write two explicit observable statements:
30
31
```text
32
Expected: [observable result]
33
Actual: [observable result, including status or error]
34
```
35
36
Do not put the suspected cause in either statement.
37
38
## 4. Reduce the reproduction
39
40
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.
41
42
Prefer an isolated test, minimal script, or smallest safe request over reproducing against production.
43
44
## 5. Prove repeatability
45
46
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.
47
48
## 6. Stop before repair
49
50
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.
51
52
## Output
53
54
```markdown
55
# Bug Reproduction Brief
56
57
- Target and commit:
58
- Environment:
59
- Expected:
60
- Actual:
61
- Minimal steps:
62
- Minimal fixture:
63
- Reproduced: yes / no / intermittent
64
- Evidence:
65
- Unknowns:
66
- Safe next hypothesis to test:
67
```
68
69
## Safety boundaries
70
71
- Do not change production data merely to reproduce a bug.
72
- Do not publish secrets, customer records, or private source.
73
- Do not claim a root cause from correlation alone.
74
- Use read-only or reversible discovery first.
75
- Stop after a verified reproduction; diagnosis and repair are separate workflows.
76
77
## Example prompt
78
79
```text
80
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.
81
```
82
83
## Source and licence
84
85
Adapted from the MIT-licensed workflow at https://github.com/skyestrela/ai-agent-skill-preview.
86

© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 13,708 prompts

More by @OpenSourceBuffGuy

See all
Woman in gingham top at a Christmas record cafe prompt image

Woman in gingham top at a Christmas record cafe

Creates a Y2K compact-camera flash portrait of a woman in a red gingham outfit at a Christmas record café table, with every prop, light and lens detail given as JSON fields.

image-prompt, json-prompt, gpt-image, nano-banana, face-reference, portrait, woman, christmas, holiday, y2k, film-photography, film-grain, structured-output, photorealistic, medium-shot, cozy, night-scene, candid, smartphone-photo, vintage, music, food-photography, for-photographers, long-form, warm-colors, soft-lighting, still-life, fashion

Lovart hero banner with floating GPT Image 2 mockups prompt image

Lovart hero banner with floating GPT Image 2 mockups

Builds a futuristic AI product-launch hero banner from a JSON spec: a glowing app interface in the centre with floating posters, model menu and capability cards, all with exact text.

image-prompt, json-prompt, ui-mockup, text-rendering, structured-output, 3d-render, futuristic, neon, dramatic-lighting, widescreen, night-scene, bokeh, symmetry, mockup, social-media-graphic, poster, gpt-image, advertising, branding, luxury, cyberpunk, long-form, advanced, for-designers, for-marketers, product-photography, glassmorphism

Selfie vlog of a ramen bowl in kitchen prompt image

Selfie vlog of a ramen bowl in kitchen

Generates a 15-second handheld selfie-vlog of a young woman enjoying a ramen bowl, with eight timed shots, short spoken lines and an authentic phone-footage look.

video-prompt, hailuo, ugc-video, vlog, multi-shot, timed-beats, lip-sync, handheld, product-video, food-photography, smartphone-photo, negative-prompt, reference-image, image-to-video, short-form-video, tiktok, japan, woman, selfie, pov, close-up, high-angle, natural-light, character-consistency, cozy, for-content-creators

Reviews

Loading reviews…

Discussion

Loading comments…