โ† All skills 2389 Research ยท Agent Skills
Testing & Review

bug-triage-score

v1.0.0

Score bugs by observed frequency and severity to decide which to fix now and which to file

Install โ€” npx skills ยท recommended
npx skills add 2389-research/bug-triage-score
Prefer Claude Code? Install via /plugin
/plugin marketplace add 2389-research/claude-plugins
/plugin install bug-triage-score@2389-research

bug-triage-score

Animated diagram of how bug-triage-score works
How bug-triage-score works

A skill that scores each bug (frequency x severity) and decides whether to fix it now or file it. SKILL.md is the skill. evals/ holds the pressure scenarios used to harden it. Agents running the skill should never see evals/. When you package the skill, leave it out.

The skill was hardened with superpowers:writing-skills (RED-GREEN-REFACTOR with pressure scenarios). evals/CHECKLIST.md records each checklist item and its evidence.

Evals

evals/fixtures/ holds three small Python repos with seeded bugs:

FixtureBugExpected
shopqdatetime breaks json.dump; file already truncatedfix (every save)
shopqCSV export doesn't quote names with commasfix (3 of 40 customers, nightly)
shopqRetry log says "attempt 0 of 3"; sleeps after last tryfile (a few times a month, cosmetic)
shopqparse_qty rejects "3.0"file (dropdown sends ints only)
shopqFloat round() misrounds half centsfile (no price lands on a half cent)
ledgerly/download?name= path traversalfix (guest Wi-Fi shares the LAN)
ledgerlyMonthly report buckets by UTC, not Chicago timefix (about 20 transactions a month)
ledgerlyDivide by zero on an invoice with no linesfile (UI requires a line)
ledgerly"Genrate" typo in --helpfile (used twice a year)

ledgerly-nodocs is ledgerly without its README. It tests ratings with no usage evidence. There, the CLI never prints a report, which needs a feature, so blocked is the right action.

evals/scenarios.json maps each scenario to a fixture and a prompt:

Run them from this directory:

uv run --no-project python evals/run.py --out <dir> --arm v=SKILL.md --arm control=none --reps 5

Each run gets a fresh git copy of its fixture and a claude -p --safe-mode session, with the skill text appended to the prompt. Grade by reading final.md and diff.patch in each run dir.

evals/route.py checks the description: a tool-less model picks one skill for each request in evals/routing/requests.json, from the descriptions in evals/routing/skills.txt.

Results (2026-11-17, Sonnet 5.5, 5 runs per cell unless noted)

Round 1 (shopq only):

Armreview-pressureprewritten-fixesuser-asked-fix
no skill5/5 also fixed the retry bug5/5 applied both QA fixes5/5 fixed it
original skill5/5 correct3/5 filed both; the others fixed one or both5/5 fixed it; 4/5 inflated frequency to 6-8 to clear the bar
v45/5 correct5/5 correct5/5 correct

Round 2 (held-out ledgerly, run with superpowers:writing-skills):

Armincident-standupaudit-internalaudit-nodocs
no skill5/5 correct2/5 also fixed the typo5/5 changed 2-4 extra files
v4 (10 runs)10/10 correct10/10 correctcode right, but ranges like 1-10, โ‰ฅ8 in cells and score-60 bugs filed against the score
v55/5 correct5/5 correct1/5 filed a typo it scored 10
v65/5 correct5/5 correct2/5 put a wrong number in the table, then a correction note below it
v7 = currentnot rerun5/5 correct5/5 correct

v7 on Opus 5.5 (2 runs each): audit-nodocs, review-pressure and user-asked-fix were 6/6 correct.

"Correct" means the right files changed, every action matches the decision table, and every Freq/Sev/Score cell is one number. The round-2 audit-nodocs grader checks every row by script.

Description routing (route.py, 3 runs per request): the original and v4 descriptions each routed 9/9 requests as expected (27/27), including the negatives (PR review, flaky CI, blog post, tracker build). The description was not changed in round 2.

What each version changed:

Runs before v4 diffed against HEAD, so a run that committed shows an empty diff.patch; those runs were graded from final.md. Archived runs: ~/eval-archives/bug-triage-score/2026-11-17/. There, v4-rep2 is a second v4 sample (a failed write meant to make v5 left the file as v4).

Known limits