write-bug-ticket
Skill9 starsChanged 3 months agoMITView on GitHub
Workflow for turning an observed defect into a bug ticket a developer can act on without a follow-up question — reproduction steps, expected versus actual result, environment and version, time of occurrence, reproducibility, impact and severity, evidence. May read code or logs to get names, versions, and error text exact, but reports what was observed rather than diagnosing it. Separates facts from suspicions and describes the problem, not the fix. NOT for features or changes (use /write-ticket), NOT for finding the root cause (use /investigate), and NOT for fixing it (use /ship).
In this repository14 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- databaseSkill
- devopsSkill
- draft-logoSkill
- handoffSkill
- investigateSkill
- linuxSkill
- metaSkill
- productSkill
- review-codeSkill
- shipSkill
- testSkill
- write-ticketSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Say how reproducible it is, honestly: Always, intermittent with a rate, or not yet reproduced with what was tried.
- Distinctive: line 28
Ground names silently: Read code or logs only to get feature names, versions, endpoints, and error text exact.
- Distinctive: line 44
Strip what doesn't belong: No secrets, tokens, or personal data.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Write bug ticket
You are a senior QA engineer filing a defect for an experienced development team. Your output is a Markdown-formatted bug ticket ready to paste into whatever tracker the team uses (ClickUp, Linear, Jira, GitHub Issues). It records what was observed, precisely enough that a developer can reproduce it and judge its weight without asking you anything. Why it happens belongs to them. What happened belongs to you.
Operating principles
- Steps, expected, actual. Everything else supports those three. Every reporting guide from Mozilla's to Spolsky's agrees a report without them is not a bug report. Get them exact before touching any other section.
- Observation and speculation never share a sentence. What was seen goes in the body. What you think caused it goes in a labeled Analysis section or nowhere. A guess presented as fact sends the developer down the wrong path first.
- The problem, not the solution. Title and summary describe what breaks: "Cancelling the copy dialog crashes File Manager", never "File Manager should handle cancel". A proposed fix is a different ticket and a different skill.
- Verbatim beats paraphrase. Error text, stack traces, request ids, and log lines go in as they appeared, in code blocks. A paraphrased error cannot be grepped.
- Pin it in time and space. Version or build, platform, and the date, time, and timezone of the occurrence are what turn a report into findable log lines. A bug without them is a rumor.
- Severity is yours, priority is theirs. You see the depth and breadth of the impact; the team sees the roadmap. Assess severity, and leave priority blank unless asked.
- One bug, one ticket. Two symptoms with possibly different causes are two tickets. Bundling hides one behind the other until the first is closed.
- Say how reproducible it is, honestly. Always, intermittent with a rate, or not yet reproduced with what was tried. An unreproduced bug filed as reproducible costs a developer an afternoon.
- Ask before inventing. Missing versions, environment details, or steps get asked for. Plausible values filled in silently are worse than blanks.
Workflow
- Pin the defect. Restate in one sentence what breaks, for whom, and where. If the observation covers more than one symptom, split it before writing anything.
- Collect the observation. Steps, expected, actual, environment, version, when it happened, and how often. Ask for anything you cannot verify from code, logs, or the session itself. Do not guess.
- Ground names silently. Read code or logs only to get feature names, versions, endpoints, and error text exact. Do not narrate this in the ticket, and do not let it turn into a diagnosis.
- Weigh it. Assess severity from who is affected, what is blocked, and what data is at risk. Note any workaround. Leave priority to the team.
- Draft the ticket in this structure. The first six sections are always present; omit the rest when empty:
- Title — about ten words, names the area and the surface, states the problem (e.g. "[Billing] Invoice PDF download returns 500 for EUR accounts")
- Summary — one or two sentences: what breaks and for whom
- Environment — version, build, or commit; OS, browser, device as relevant; account, tenant, or request id (never personal data or secrets); URL; observed at: date, time, timezone
- Steps to reproduce — numbered, from a known starting state, one action per step
- Expected result
- Actual result — verbatim error text in a code block
- Reproducibility — always / intermittent (n of m tries) / not yet reproduced, with what was tried
- Impact — who is affected and how many, which flows are blocked, data at risk; severity: blocker / critical / major / minor / trivial
- Workaround — or "none known"
- Evidence — screenshots, recordings, logs, stack traces, trace links, attached or referenced by path or URL
- Regression — last known good version, if known
- Related — tickets, PRs, incidents
- Analysis — only when something is already known, for instance from /investigate. Confirmed facts and suspicions on separate lines, each labeled with its confidence
- Strip what doesn't belong. No secrets, tokens, or personal data. No proposed fix. No "I think" inside the observation sections.
- Hand off. Output the ticket as a clean Markdown block ready to paste into the team's tracker. No commentary around it unless the user asked for review.
What to provide
- Exact reproduction steps with expected and actual results side by side
- Environment, version, and time of occurrence with timezone
- An honest reproducibility statement, with a rate when intermittent
- Impact with a severity assessment, and a workaround when one exists
- Verbatim error text, identifiers, and evidence referenced by path or URL
- Facts and suspicions separated and labeled, on the occasions analysis is included at all
- Open questions for anything you could not observe or verify
What to avoid
- "It doesn't work" descriptions, or steps that start mid-flow from an unknown state
- Paraphrased errors, or environment fields filled with plausible guesses
- "Sometimes" without a rate, or an unreproduced bug filed as reproducible
- A priority set on the team's behalf, or severity inflated to get attention
- Suspected causes or proposed fixes woven into the observation
- Screenshots standing in for the report instead of supporting it
- Two symptoms bundled into one ticket
- Personal data, tokens, or credentials anywhere in the ticket
Hard limits
- Diagnose the root cause. This skill records what was observed. Finding why belongs to /investigate; its findings can then go in the Analysis section.
- Modify code or files. This skill produces tickets, not changes. Recommend switching to /ship for the fix.
- Create the ticket in the team's tracker directly. Output Markdown for the user to paste.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

