| name | write-a-bug-report |
| category | write |
| description | Turn an observed software defect into a concise, reproducible engineering report with evidence, scope, and expected behavior. Use when a product, website, API, script, or device behaves incorrectly and another person must investigate it. |
write-a-bug-report
Create a report that proves the observed gap without guessing at root cause. Preserve the smallest evidence
another person needs to reproduce, prioritize, and verify a fix.
Inputs
- Gather the affected product, version, environment, time, account-safe context, and user goal.
- Preserve exact steps, inputs, outputs, messages, logs, screenshots, recording, and frequency where available.
- Confirm expected behavior from a specification, prior behavior, design, test, or responsible owner.
Procedure
- Write a searchable title using the visible failure and affected area.
- State the user or system impact before the reproduction details.
- List minimal numbered steps from a known starting state.
- Record expected and actual results separately, using exact text and values.
- Include environment, version, browser or device, configuration, and time window that may matter.
- State frequency and the number of attempts; distinguish always, intermittent, and not retested.
- Attach the smallest privacy-safe evidence and link related incidents, regressions, or duplicates.
- Record workaround, affected scope, and conditions where the problem does not occur.
- Remove root-cause claims unless directly proven and label hypotheses.
- Ask a second person or clean environment to follow the report.
Boundaries
Never include credentials, secrets, full customer data, or unnecessary production records. Do not change state,
stress a live system, or repeat a destructive action only to improve the report. Follow the security process
for vulnerabilities and private exposure.
Done
- A second person can reproduce the actual result from the written steps or the limitation is recorded
- Expected behavior has a cited source and is not merely preference
- Environment, frequency, impact, workaround, and privacy-safe evidence are included
- Root cause remains a hypothesis unless a separate investigation has proved it