bug-report
Skill3 starsChanged 19 days agoMITView on GitHub
Adds a bug to the backlog's bugs-open.md: drafts the row (Severity, Area, Environment, Status, Summary), assigns the next BUG-NNN id, writes the details file bugs/BUG-NNN.md (repro / expected / actual), inserts it into the Recommended fix order, and confirms with the user before writing. Creates the backlog files on first use — a missing backlog is a reason to run this skill, never to skip it. TRIGGER proactively whenever the user reports a bug, asks to file/log one, describes something broken or producing a wrong result (symptom, stack trace, console error), or hands over testing-session notes, even mid-task. When fresh bugs should also be fixed now ("plan and fix these bugs"), run this once per bug FIRST, THEN hand off to bug-fix (one) or bugs-batch-fix (several). Bug-family counterpart to feature-plan.
- Commits and pushes
39 other projects use a version of this.
Adopted by
Most recently taken up by
- kao273183/qa-claude-skilltheir own version, first seen Nov 29, 2026
- bullish0x/GameStudiotheir own version, first seen Nov 29, 2026
- chatquill/claude-code-websitestheir own version, first seen Nov 22, 2026
- Sn4kyGit/qa-agent-blueprinttheir own version, first seen Nov 16, 2026
- MohamedRamadanSalah/claude-qa-toolkittheir own version, first seen Nov 15, 2026
- chuanglibs/Claude-Code-Game-Studios-Codextheir own version, first seen Nov 15, 2026
Used with
Projects with it also use setup-engine, team-audio and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CoralGameSkillsetup-engine
Configure the project's game engine and version. Pins the engine in CLAUDE.md, detects knowledge gaps, and populates engine reference docs via WebSearch when the version is beyond the LLM's training data.
Also in 14 projects that use this
CoralGameSkillteam-audio
Orchestrate audio team: audio-director + sound-designer + technical-artist + gameplay-programmer for full audio pipeline from direction to implementation.
Also in 14 projects that use this
lilangMaxSkillpropagate-design-change
When a GDD is revised, scans all ADRs and the traceability index to identify which architectural decisions are now potentially stale. Produces a change impact report and guides the user through resolution.
Also in 12 projects that use this
lilangMaxSkillasset-spec
Generate per-asset visual specifications and AI generation prompts from GDDs, level docs, or character profiles. Produces structured spec files and updates the master asset manifest. Run after art bible and GDD/level design are approved, before production begins.
Also in 11 projects that use this
- +4 more from CoralGame
- +4 more from lilangMax
Other versions39 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 39
- Donchitos/Claude-Code-Game-Studios★ 39ksame name
- pipecat-ai/gradient-bang★ 420same name
- pixel-cellar/Claude-Code-Game-Studios★ 324same name
- oasm-platform/open-asm★ 300same name
- striderZA/OpenCodeGameStudios★ 124same name
- tranhieutt/software_development_department★ 71same name
- cenconq25/claude-code-app-studio★ 40same name
- bullish0x/GameStudio★ 29same name
- CoralGame/Claude-Code-Game-Studios★ 19same name
- composio-community/support-skills★ 18same name
29 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- backlog-cycleSkill
- backlog-forecastSkill
- backlog-importSkill
- backlog-reportSkill
- bug-fixSkill
- bugs-archiveSkill
- bugs-nextSkill
- bugs-statusSkill
- bugs-triageSkill
- decision-recordSkill
- feature-developmentSkill
- feature-planSkill
- features-archiveSkill
- features-nextSkill
- features-statusSkill
- features-triageSkill
- gitflowSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. 0 are common, 8 are distinctive, and 11 are very specific to this project.
0
Common
Most of the 36 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Add a new bug row to <backlog>/bugs-open.md and create its details file <backlog>/bugs/BUG-NNN.md, drafted from the user's report and …
- Distinctive: line 43
If the user pasted several distinct bugs at once (common straight out of a testing session), process them one at a time: draft the first, …
- Distinctive: line 58
If the user already gave enough to reproduce it mentally, proceed without asking.
- Distinctive: line 124
All of these are needed to pick a non-colliding id (step 3) even when freshly created and empty.
- Very specific: line 181
Do not put Severity, Area, or Status in the file — they live only in the table row.
- Distinctive: line 200
Use the AskUserQuestion tool with a single question — "Add this bug to the backlog?" — options: "Yes, add it as drafted", "Let me edit …
- Very specific: line 210
Create <backlog>/bugs/BUG-NNN.md with the step-5 content (create the bugs/ folder if needed).
- Very specific: line 226
Do not append anything to the ## Details section — it holds only the pointer sentence.
- Very specific: line 244
If the list still reads _No open bugs to order._, replace that placeholder: the new bug becomes the list's only entry.
- Distinctive: line 246
Every other bullet stays exactly as it was — inserting a bullet never requires touching any line but the new one.
- Distinctive: line 249
Write the entry line in the same style as its neighbours — severity, the one-phrase reason for its placement (blast radius / quick win / …
- Very specific: line 255
Before reporting success, run python3 ../bugs-status/scripts/status_report.py <repo-root> (from this skill's base directory) and check that …
- Very specific: line 272
Never write a bug row or a bugs/BUG-NNN.md file before the user confirms the draft in step 6 — steps 2–5 are draft-only in memory (except …
- Very specific: line 276
Never edit bugs-fixed.md beyond creating its initial skeleton — this skill only adds to bugs-open.md and creates the new per-bug file.
- Very specific: line 279
Never append a details block to bugs-open.md / bugs-fixed.md — the details live only in bugs/BUG-NNN.md.
- Very specific: line 281
Never reuse a BUG-NNN id — the sequence spans both tables and the bugs/ folder and is monotonic, including for 🚫 Won't fix / ❓ Cannot …
- Distinctive: line 284
Read the Column legend fresh each run rather than relying on a remembered copy of the value vocabulary.
- Distinctive: line 293
If the user pasted several bugs at once, still confirm each one individually — do not write a batch of unconfirmed rows in one pass.
- Very specific: line 299
Prefer the editor tool to an ad-hoc script.
“Common” is measured: kept by at least 6 in 10 of the 36 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Add a new bug row to <backlog>/bugs-open.md and create its details
file <backlog>/bugs/BUG-NNN.md, drafted from the user's report and
confirmed before writing. This is the bug family's analogue of
feature-plan — same shape (draft, confirm, insert, order), different
backlog file and column vocabulary.
<backlog> is docs/backlog unless .backlog-kit.toml sets [paths] backlog_dir.
Layout: the two backlog files (bugs-open.md, bugs-fixed.md) hold
only tables (plus the Column legend and Recommended fix order). Every
bug's write-up lives in its own file <backlog>/bugs/BUG-NNN.md — a
stable path that never moves, even when the bug is closed. Severity, Area,
Environment, and Status live only in the table row (single source of
truth), never in the per-bug file. Each table row's first cell links to
the file: [BUG-NNN](bugs/BUG-NNN.md).
Input: A description of the bug — as much or as little as the user gives (a one-liner, a paragraph, or raw notes from a manual testing session). May optionally include explicit values for Severity / Area / Environment, and explicit repro steps / expected / actual — use whatever is given directly and only draft the rest.
If the user pasted several distinct bugs at once (common straight out of a testing session), process them one at a time: draft the first, run the confirmation, write it, then move to the next. Do not batch several unconfirmed rows into a single write.
Steps
1. Make sure there's enough to draft from
A useful bug row needs, at minimum: what the user did, what they expected, and what actually happened. If the report is just a symptom with no context ("the page is broken"), ask one clarifying question — the route/action, and the observed vs expected behaviour — before drafting. If the user already gave enough to reproduce it mentally, proceed without asking.
2. Read both backlog files, creating them if they don't exist yet
Read:
<backlog>/bugs-open.md<backlog>/bugs-fixed.md
If <backlog>/bugs-open.md doesn't exist yet (the normal case the
first time this skill runs), create it with this skeleton before
continuing — don't silently invent a different structure:
# Open Bugs
## Bug List
| Bug ID | Severity | Area | Environment | Status | Fix | Summary |
| ------ | -------- | ---- | ----------- | ------ | --- | ------- |
_No open bugs._
## Column legend
- **Severity**: `S1` (blocker — app unusable, data loss, security hole) · `S2` (major — a feature is broken with no workaround) · `S3` (minor — a feature is impaired but has a workaround) · `S4` (trivial — cosmetic, copy, layout polish)
- **Area**: the affected route, component, or backend area — e.g. `/settings`, `auth`, `nav`, `backend`, `db`. Use the route where the user hit it; use `db` for a migration/schema/query bug with no single owning route, `backend` for a controller/service bug.
- **Environment**: `local` (reproduces on a local dev run only) · `deployed` (reproduces on the deployed stack only) · `both`
- **Status**: `⬜ Open` · `🔶 In Progress` (a `bug-fix` / `bugs-batch-fix` run has started it) · `✅ Fixed` (transient — `bugs-archive` moves the row to `bugs-fixed.md` in the same pass it sets this) · `🚫 Won't fix` · `❓ Cannot reproduce`
- **Fix**: PR link or commit hash once closed; blank while open.
## Details
<!-- Per-bug details live in bugs/BUG-NNN.md (stable path), one file per bug, linked from its row here. `bugs-archive` moves only the table row to bugs-fixed.md and appends the Resolution line to that file. -->
Details for every bug live in `bugs/BUG-NNN.md`, linked from its row.
## Recommended fix order
Severity tier first (S1 before S2 before S3 before S4), then blast radius / how often it bites, then quick-win effort, then bug number. Not a schedule — a reasoning aid for `bugs-next` and for whoever picks up the next fix by hand. Re-derive whenever the bug set or severities change. A plain bullet list — list position (not a printed number) is what encodes order, so inserting an entry never touches any other line.
_No open bugs to order._If <backlog>/bugs-fixed.md doesn't exist yet either, create it
with the matching archive skeleton so bugs-archive has somewhere to
write later:
# Fixed Bugs
## Bug List
| Bug ID | Severity | Area | Environment | Fixed | Fix | Summary |
| ------ | -------- | ---- | ----------- | ----- | --- | ------- |
## Details
<!-- Per-bug details live in bugs/BUG-NNN.md (stable path). `bugs-archive` moves only the table row between bugs-open.md and bugs-fixed.md and appends the Resolution line to that file. -->
Details for every bug live in `bugs/BUG-NNN.md`, linked from its row.If the <backlog>/bugs/ folder doesn't exist yet, create it (the
first per-bug file in step 7 does this implicitly).
All of these are needed to pick a non-colliding id (step 3) even when freshly created and empty.
3. Derive the Bug ID
Bug ids are BUG-NNN with a zero-padded 3-digit sequence
(BUG-001, BUG-002, …). Run
python3 scripts/next_id.py <repo-root> (from this skill's base directory) — it
scans both table files and the filenames in <backlog>/bugs/ for every
BUG-NNN, takes the highest NNN found, and returns BUG-<max+1>
zero-padded (or BUG-001 for a fresh backlog), printed as JSON:
{"next_id": "BUG-NNN"}. Numbers are one global
sequence across both tables and the folder and are never reused, even for
a 🚫 Won't fix or ❓ Cannot reproduce entry.
4. Draft the attribute columns
Using the Column legend in bugs-open.md as the source of truth for
the value vocabulary (read it fresh each run — don't hardcode a copy here,
so this skill can't drift out of sync with the legend):
- Severity (
S1–S4) — if the user gave one, use it (sanity-check it's valid). Otherwise infer: anything touching auth, a schema migration, data loss, or "can't use the app" isS1; a broken feature with no workaround isS2; an annoyance with a workaround isS3; cosmetic isS4. - Area — the route/module where it was hit.
- Environment —
local/deployed/both. Default tolocalif the user was running a local dev stack and didn't say; usebothonly if they confirmed it on the deployed stack too. - Schema change (details file only, not a table column) —
yesif the fix needs a schema migration or an equivalent change (a new or altered table, column, index or access policy), otherwiseno; infer it from the report and the code path involved.bugs-nextreads this line.
5. Draft the one-line Summary and the per-bug file content
Summary (the table cell): one sentence naming the concrete symptom — the component/route and what visibly goes wrong — not a vague restatement of the title.
Per-bug file (<backlog>/bugs/BUG-NNN.md), in this exact shape —
first line an H1 # BUG-NNN — <short title>, one blank line, then the
bullets:
# BUG-NNN — <short title>
- **Steps to reproduce:**
1. <step>
2. <step>
- **Expected:** <what should happen>
- **Actual:** <what happens instead, including any console error text verbatim if short>
- **Environment:** <local / deployed / both> — <browser / viewport / account notes if relevant>
- **Schema change:** <yes / no> — <if yes, the migration or schema change the fix needs>
- **Notes:** <suspected cause, related code path, screenshots referenced by filename — omit the line if there's nothing>Do not put Severity, Area, or Status in the file — they live only in the
table row. Fill repro/expected/actual from what the user gave; if a step
is genuinely unknown, write <unknown — needs repro> rather than
inventing it.
6. Confirm with the user before writing
Display the fully drafted row and file content:
## Draft Bug
**BUG-NNN — <title>**
**Severity:** <S?> **Area:** <area> **Environment:** <env> **Status:** ⬜ Open
<per-bug file content as above>Use the AskUserQuestion tool with a single question — "Add this bug to
the backlog?" — options: "Yes, add it as drafted", "Let me edit something
first" (resolve free-text edits against the draft and re-display before
writing), "Cancel". Do not write anything under <backlog>/ (other
than the step-2 scaffolding) until the user confirms.
7. Insert the row, create the file, and add the order entry
Once confirmed:
- Create
<backlog>/bugs/BUG-NNN.mdwith the step-5 content (create thebugs/folder if needed). The file name is exactly the Bug ID — it never changes afterwards. - In a single edit to
bugs-open.md: append the row to the## Bug Listtable, preserving the pipe formatting, with the first cell as the link —| [BUG-NNN](bugs/BUG-NNN.md) | <S?> | <area> | <env> | ⬜ Open | | <summary> |. The rows must follow the header separator row (| ------ | …) with no blank line between them: in the skeleton, a blank line and then the_No open bugs._placeholder come after the separator row, so when the placeholder is present remove both the placeholder and that blank line — leaving the blank line detaches the row from the table, so it renders as plain text andbugs-statuscounts zero bugs. - In the same edit, insert the bug into
## Recommended fix order(see step 8). This is not optional — a backlog with rows missing from the order is worse than one with a slightly-uncertain placement.
Do not append anything to the ## Details section — it holds only the
pointer sentence. Do not touch bugs-fixed.md beyond the one-time
skeleton creation in step 2.
8. Update the recommended fix order
The ## Recommended fix order section is a bullet list of
BUG-NNN — <title> entries — list position, not a printed number,
encodes order — ordered severity tier first (S1 before S2 before S3
before S4), then blast radius, then quick-win effort, then bug number.
- Find the tier boundary: the last existing entry whose Severity is the same or higher than the new bug's, and the first whose Severity is strictly lower. The new bug goes between them (same-severity entries keep their existing relative order; the new one lands after all of them, unless the user's description makes it obviously higher blast radius than a same-tier peer — then place it ahead of that peer and say why in the entry line).
- If the list still reads
_No open bugs to order._, replace that placeholder: the new bug becomes the list's only entry. - Every other bullet stays exactly as it was — inserting a bullet never requires touching any line but the new one.
Write the entry line in the same style as its neighbours — severity, the one-phrase reason for its placement (blast radius / quick win / blocks testing of X), and environment where relevant.
9. Verify the table, then display confirmation
Before reporting success, run
python3 ../bugs-status/scripts/status_report.py <repo-root> (from this skill's base directory) and
check that the open count now includes the new bug and that no ⚠ integrity
line appears (a row missing from the count means it fell out of the table —
fix the formatting before continuing).
## Bug Added
**BUG-NNN — <title>** added to bugs-open.md (Severity <S?>, Area <area>, <env>), details in <backlog>/bugs/BUG-NNN.md, inserted into the recommended fix order <right after `<preceding-entry>` | as the first entry>.Guardrails
- Never write a bug row or a
bugs/BUG-NNN.mdfile before the user confirms the draft in step 6 — steps 2–5 are draft-only in memory (except the one-time skeleton creation in step 2, which is scaffolding, not a bug). - Never edit
bugs-fixed.mdbeyond creating its initial skeleton — this skill only adds tobugs-open.mdand creates the new per-bug file. Closing a bug isbugs-archive's job. - Never append a details block to
bugs-open.md/bugs-fixed.md— the details live only inbugs/BUG-NNN.md. - Never reuse a
BUG-NNNid — the sequence spans both tables and thebugs/folder and is monotonic, including for🚫 Won't fix/❓ Cannot reproduceentries. - Read the Column legend fresh each run rather than relying on a remembered copy of the value vocabulary.
- Preserve the exact Markdown table formatting (pipe characters) of the
Bug List table, including the
[BUG-NNN](bugs/BUG-NNN.md)link in the first cell, with every row contiguous with the header separator row (no blank line between them). - Step 6's confirmation is mandatory, even under an "Auto Mode" or similar autonomous-operation instruction that biases toward proceeding without asking — that bias never applies to writing a new row into the backlog.
- If the user pasted several bugs at once, still confirm each one individually — do not write a batch of unconfirmed rows in one pass.
- This skill only records a bug. It never starts a branch, writes a test,
or attempts a fix — that's
bug-fix. - Write the backlog files as UTF-8, and check it. They hold characters outside ASCII (
✅,⬜,—,·). Whatever writes them (the editor tool, a shell command, a script) must write UTF-8 explicitly and must never fall back to the system's default text encoding: on some systems that is a single-byte codepage, and it turns one such character into a byte that is not valid UTF-8 and stops every script that reads the file. Prefer the editor tool to an ad-hoc script. After writing, read each file you changed back as UTF-8 (for examplepython3 -c "open(p, encoding='utf-8').read()"); a decoding error is a failed write, to fix before going on. - Never run
git commit,git pushor open a PR.
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.

