/bug-reporter:bug-reporterfrom bug-reporter
Create, improve, format, or safely investigate evidence for fix-ready bug reports covering software, hardware, APIs, CLIs, SDKs, apps, services, integrations, data pipelines, infrastructure, build and test systems, and research tooling. Use when the requested deliverable is a bug report, issue, defect handoff, reproduction packet, or private vulnerability report, including from failures, regressions, crashes, hangs, incorrect results, performance problems, intermittent behavior, usability defects, logs, screenshots, reproduction notes, or an existing issue. Do not use when the requested outcome is only to implement a fix, troubleshoot interactively, or propose a feature without a defect report or handoff.
Ships in bug-reporter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Reduce the maintainer's path from report to confirmed failure to verified fix. Produce a truthful evidence packet, not a longer retelling of the complaint.
Infer the narrowest mode from the request:
A request to write a report does not authorize a product patch, public issue, message, or submission. Take those actions only when separately authorized.
SECURITY.md or the target's private disclosure channel. Never put exploit
details or sensitive evidence in a public issue.Inspect the most authoritative evidence available: current local source, installed versions, live schemas or capability descriptions, issue templates, tests, specifications, and official documentation. Record only environment details that could explain or reproduce the failure.
Define expected behavior in observable terms. Anchor it to a specification, documented contract, test, invariant, previous working version, or an obvious safety property. If the expectation is a product preference rather than a contract violation, label it as a usability problem or feature request.
Capture these universal elements when known:
4/5 attempts, or Not reproduced with
unique forensic evidence;Keep causal hypotheses and fix ideas out of the title and summary. Put them in
Analysis, labeled as inference, so the maintainer sees the observed defect
before the reporter's theory.
Prefer pasteable text, commands, paths, and stable artifact links. A screenshot or video may support a report but must not be the only description of the failure. Preserve exact error text inside code fences and include enough surrounding context to interpret it, not an indiscriminate log dump.
Read evidence-by-defect.md before collecting or evaluating evidence for a specialized failure such as a crash, performance regression, intermittent race, data error, accessibility defect, distributed request, or build failure.
2/20 into sometimes.Do not discard a non-reproducible crash, corruption event, or intermittent failure when it has unique diagnostic evidence. State what was attempted, how many times, and what evidence remains available.
Use three explicit claim levels:
Correlation, a nearby code change, or a workaround is not automatically root cause. Include suspected component ownership, fix direction, or code locations only when evidence makes them useful. Do not prescribe an implementation that the report has not justified.
Never invent versions, commands, reproduction rates, expected behavior,
severity, impact, root cause, or results. When a missing fact blocks a useful
report, ask no more than three high-information questions. Otherwise produce
the best complete draft and put the gap under Missing evidence with the next
safe probe.
Name material gaps briefly, then choose one Next probe with the highest
information gain. If the minimal failure has not been captured, do not invent a
specific test harness or fix-dependent acceptance test; use an observable
criterion and make the regression test conditional on a reproducible case.
Do not punish the reader with empty boilerplate. Omit irrelevant sections and
fields. Use Not captured only when the absence itself matters.
Follow the target tracker template when one exists. Otherwise adapt bug-report.md. Remove every unused heading, instruction, and placeholder from the finished report.
Lead with the defect and impact. Put diagnostic depth after the reproduction contract. Keep implementation notes optional and evidence-labeled.
Always write the finished report to a Markdown file. Do not print or duplicate the report body in chat, even when the user did not explicitly ask for a file. The request for a bug report authorizes creation or update of this report artifact only; it does not authorize a product patch, submission, or message.
Choose the destination in this order:
.md file, update
that file unless the user supplied a different output destination.<workspace-root>/bug-reports/YYYY-MM-DD-<title-slug>.md. If the host does
not identify a workspace root, use the current working directory as the
workspace root.Treat an explicit path ending in .md as a file. Treat every other explicit
destination as a directory and place the generated filename inside it. Use the
host's local date. Build <title-slug> from the report title by lowercasing it,
replacing each run of characters outside a-z and 0-9 with one hyphen,
trimming leading and trailing hyphens, and truncating it to 64 characters after
trimming. Use bug-report if nothing remains.
Create the parent directory when permitted. Never overwrite an unrelated
file. Updating the source report in improve mode is intentional; for every
other existing destination, append the lowest available numeric suffix before
.md, starting with -2.
Before handoff, read the saved file back and verify that it:
.md extension;Return one compact link in this exact shape:
Saved: [filename.md](/absolute/path/to/filename.md)
Add only an essential security, submission, or temporary-storage warning after the link. Do not repeat the report, summarize it, or add a generic completion recap. If no safe writable destination is available, ask for one and stop; do not fall back to putting the report body in chat.
Before handoff, verify that a person or agent can answer:
If any unavailable answer prevents action, name the missing evidence and the single best next probe instead of decorating the gap with confidence.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mylesmcook/mcook-plugins --plugin bug-reporter