How to write a bug report a developer can reproduce
Write a bug report a developer can reproduce: title, numbered steps, expected vs actual results, and one bug per report, with a checklist.
Updated · Markdown version
A bug report is useful when a developer who never saw the failure can trigger it on their own machine. The steps below turn a failure you watched into a short numbered report with a clear title, observed and expected results, and one problem per ticket.
Collect the facts while the failure is still visible
Before you write anything, note the exact build or version, the account or data involved, and the settings that were active. Take a screenshot or copy the error text now, because a second attempt often changes the details. Chromium's guidelines also ask whether the problem appears in other browsers, which is a useful question for any web-facing bug.
Steps
- Try to reproduce the failure from a known starting state and record whether it happens every time, sometimes, or not again. Do not discard a non-reproducible report when you have unique evidence such as a crash identifier, exact error, log or environment detail; state clearly that it is intermittent or was observed once.
- Write the steps as a numbered list with one action per line. Begin at a point a reader can reach without guessing, such as "sign in with a free account" rather than "go to the usual place." Note what each step is meant to do when the reason is not obvious.
- Write the observed result and the expected result in separate lines. Keep any idea about the cause out of both lines and place it in a note at the bottom.
- Write a title of roughly ten words that describes what the user sees. A title such as "Cancelling a file copy dialog crashes the file manager" is more useful than "Software crashes," and it should not name the fix you have in mind.
- Attach evidence: a screenshot, the log excerpt, the exact version, and a URL when the bug involves a web page. For Chromium-style reports, add a reduced test case when the failure can be cut down to a small example.
- Check the draft for a second problem. If it describes two failures, split it into two reports so each can be closed on its own.
- On GitHub, open the repository, click Issues, then New issue. Use Get started on a template when one fits, or Open a blank issue. Fill in Title and the body, then click Submit new issue.
Check that it worked. If practical, hand the draft to someone who did not observe the failure or follow it yourself from the stated starting state. For Firefox profile-dependent problems, Mozilla specifically recommends testing a new profile and recording any settings or extensions needed. If the result changes or a step was implicit, revise the report before filing.
Worked example
Title: Saving a profile without a surname clears the email field
Environment: Web app 4.8.2; Firefox 145; Windows 11; free account; reproduced 3 of 3 attempts
Steps to reproduce:
- Sign in with a free account whose profile already has an email address.
- Open Settings > Profile.
- Clear the Surname field.
- Select Save.
Actual result: The save succeeds, but the Email field becomes empty after the page reloads.
Expected result: The existing email address remains unchanged. If surname is required, the form instead explains that requirement before saving.
Evidence: Attach a screenshot after removing private account details and include the exact console error as text.
If an AI assistant drafts the report, give it only the facts above and ask it not to infer a cause. Review every generated step, remove secrets or personal data, and perform the reproduction check yourself; generated prose is not evidence that the bug occurred.
Pitfalls
- The title proposes a fix. "Add a null check in the parser" hides the symptom. Notice it by reading the title alone and asking whether it names what the user sees. Rewrite it around the visible failure.
- Steps skip the setup. "Then it crashes" tells a developer nothing about the account, data, or settings involved. Notice it by handing the steps to someone who has not seen the bug. Add the missing state as an explicit first step.
- Two bugs in one ticket. A fix often covers only one of them, and the report stays open. Notice it when the steps reach two unrelated results. Split the report.
- Guesses in the result lines. "Actual: the cache is stale" presents a theory as an observation. Move the theory to a note so the reviewer can test it.
- Missing version. A bug from an old build may already be fixed. Chromium's guidelines ask reporters to confirm the problem on the latest build before filing.
When to use a skill instead
The related project-tickets-writer and systematic-debugging catalogue entries may provide reusable guidance for ticket breakdown or debugging. Their stored LIFT verdicts are provisional single-run results from three author-provided tasks, not proof that they improve every bug report or investigation. Their Claude Code probes checked named-skill recognition and stopped; they were not end-to-end demonstrations. For one report, the checklist and an independent factual review are still sufficient.
FAQ
What does creating a bug report mean? It means writing down a failure in a form another person can reproduce, check, and fix without asking you what you did. The report usually covers the version, the steps, the observed result, and the expected result.
What are examples of a bug? A bug is any behavior that differs from what the software should do, such as a dialog that crashes the program when the user presses Cancel or a form that drops the last field on submit. A good report names the visible symptom and the steps that trigger it, for example "Cancelling a file copy dialog crashes the file manager."
How do I write a bug report on GitHub? Open the repository's Issues tab, choose New issue, then pick a template or Open a blank issue. Enter a title and a description with numbered steps, the observed and expected results, and any evidence, then click Submit new issue.
Related skills in this catalog
Platform Score is our assessment under a published method. It is not a safety guarantee.
Related guides
Sources
- https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/creating-an-issue (accessed 2026-11-25)
- https://www.chromium.org/for-testers/bug-reporting-guidelines/ (accessed 2026-11-25)
- https://bugzilla.mozilla.org/page.cgi?id=bug-writing.html (accessed 2026-11-25)