bugs-triage
Skill3 starsChanged 19 days agoMITView on GitHub
Triages the open bugs in the backlog: finds the ones bug-fix could not start from (no usable steps to reproduce, no Expected or Actual), possible duplicates of each other, open bugs that look like one already fixed, vague summaries, and bugs missing from the recommended fix order, then proposes what to do about each. Read-only: it never edits the backlog; the fixes go through bug-report, bugs-archive and bugs-next once the user agrees. TRIGGER when asked to triage, clean up, refine or review the bug backlog, to find duplicate bugs, or to check which bugs are ready to be fixed. For counts and progress use bugs-status instead.
- Commits and pushes
In this repository17 other files it gives its agents.
- backlog-cycleSkill
- backlog-forecastSkill
- backlog-importSkill
- backlog-reportSkill
- bug-fixSkill
- bug-reportSkill
- bugs-archiveSkill
- bugs-nextSkill
- bugs-statusSkill
- decision-recordSkill
- feature-developmentSkill
- feature-planSkill
- features-archiveSkill
- features-nextSkill
- features-statusSkill
- features-triageSkill
- gitflowSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
After showing the report, read the files of the bugs it names and propose, per finding:
- Distinctive: line 46
Ask before every change (AskUserQuestion, one decision at a time when there are few findings.
- Very specific: line 52
Read-only: this skill never edits a backlog file.
- Very specific: line 54
If bugs-open.md is missing or has no table, report that and stop.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Triage the open bugs in <backlog>/bugs-open.md against their files in <backlog>/bugs/ and <backlog>/bugs-fixed.md, and propose what to fix in the backlog itself. Read-only.
<backlog> is docs/backlog unless .backlog-kit.toml sets [paths] backlog_dir.
Input: None required. Optionally a looser or stricter duplicate match ("be more aggressive finding duplicates"): map it to --threshold (default 0.5, between 0 and 1).
Script
scripts/triage.py does the checking. Run it from this skill's base directory:
python3 scripts/triage.py <repo-root> [--threshold 0.5] [--json]It prints the ## Bug Triage report: one list per finding. The duplicate and regression matches compare the words of the summaries, so they are candidates to look at, never a verdict.
Proposing actions
After showing the report, read the files of the bugs it names and propose, per finding:
- No usable repro / no Expected or Actual — ask the user for the missing detail, or offer to try to reproduce it. The detail goes into
<backlog>/bugs/BUG-NNN.mdas the user confirms it;bug-fixstops onFIX_BLOCKED — cannot reproducewithout it. - Possible duplicate — read both files and say whether they describe the same symptom and cause. If they do, offer to close the newer one with
bugs-archive <BUG-ID> wont-fix "duplicate of BUG-NNN". - Looks like a fixed bug — read the fixed bug's Resolution line and say whether this is a regression, a bug the fix missed, or a coincidence. Offer a note in the open bug's file pointing to the earlier one.
- Vague summary — propose a one-sentence rewrite naming the route or component and the visible symptom (see
bug-report). - Not in the fix order — suggest running
bugs-next, which re-derives the order.
Ask before every change (AskUserQuestion, one decision at a time when there are few findings; a printed list and a "which ones?" question when there are many). Do the change through the skill that owns it; do not edit the backlog files from here.
Guardrails
- Read-only: this skill never edits a backlog file. Closing, completing or reordering a bug is the job of
bugs-archive,bug-reportandbugs-next, and only after the user agrees. - Say plainly when a finding is a guess (a similarity score is not proof) and never close a bug as a duplicate without reading both files.
- If
bugs-open.mdis missing or has no table, report that and stop. - 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.

