Skip to content
Back to skills

Bugs Triage

ASecurity

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 ...

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 17, 2026
ai-agentspythongorailsgit

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 17, 2026

npx -y skills add jpablodrexler/backlog-kit --skill bugs-triage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bugs Triage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bugs Triage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jpablodrexler-bugs-triage/badge)](https://www.skillsdirectory.com/skills/jpablodrexler-bugs-triage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bugs-triage
description: >-
  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.
license: MIT
metadata:
  author: Juan Pablo Drexler
---

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.md` as the user confirms it; `bug-fix` stops on `FIX_BLOCKED — cannot reproduce` without 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-report` and `bugs-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.md` is missing or has no table, report that and stop.
- **Never run `git commit`, `git push` or open a PR.**

Files in this skill

  • SKILL.md3.2 KB
  • scripts/backlog_kit.py10.9 KB
  • scripts/triage.py6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.