agentleFS
philoserfphiloserf/claude-code-config/skills/issue-triage/SKILL.md

issue-triage

Skill13 starsChanged 2 months agoMITView on GitHub

Organizes filed issues into milestones and repairs their metadata — severity labels, blocked-by relations, and project-board fields. Use when sorting a backlog, planning a release's scope, recording what blocks what, or when issues have been filed but not placed.

24 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use pr-triage, design-patterns and 3 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.
  • FlorianBruniauxSkill

    pr-triage

    Also in 3 projects that use this

  • ratacatSkill

    design-patterns

    Use when designing software architecture, refactoring code structure, solving recurring design problems, or when code exhibits symptoms like tight coupling, rigid hierarchies, scattered responsibilities, or difficult-to-test components. Also use when choosing between architectural approaches or reviewing code for structural improvements.

    Also in 3 projects that use this

  • ArogyaReddySkill

    changelog-generator

    Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

    Also in 3 projects that use this

  • JetBrainsSkill

    brand-guidelines

    Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

    Also in 3 projects that use this

  • MicrosoftSkill

    skill-creator

    Guide for creating effective GitHub Copilot skills (.github/skills/) in this repository. Use when creating a new skill, updating an existing skill, or when asked about skill structure, format, or best practices for the vscode-documentdb project.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do not record a relation for issues that merely touch the same file.

    line 75
  2. Distinctive:

    Sequencing stated only in prose is invisible to every tool: When a body says _"sequence this before #69"_ and no relation exists, this is …

    line 79

“Common” is measured: kept by at least 6 in 10 of the 17 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Issue triage

The step between filing issues and working them. A finding written to .issues/ and pushed to GitHub arrives with a title, a body and a label; it does not arrive knowing which release it belongs to, what it waits on, or where it sits on the board. This skill supplies that.

Triage is about placement, not truth. Whether a finding is still correct is issue-verify's question, and a freshly filed issue usually has not had time to go stale.

Start with the audit

~/.claude/skills/issue-triage/scripts/issue-meta.sh audit [milestone]

One row per open issue, then a GAP line for every missing piece. Exit 2 means gaps were found. With no argument it audits the whole open backlog, which is the right way to catch an issue that was filed and then forgotten because it belonged to no milestone.

Deciding the milestone

The question is not "is this important" but "what breaks if this ships in the same release as everything else in that milestone".

  • A behaviour change belongs in a minor, not a patch — including a bug fix that moves values callers may have pinned.
  • Anything that changes an exported signature, removes a field, or alters an output contract belongs in the next major, even when the change is small. A rendering change that breaks anyone parsing the output is a contract change.
  • Group by the seam they touch, not by size. Five issues about one boundary are worth one release that fixes the boundary; spread across three releases they are three partial rewrites of the same code.
  • Leave it unmilestoned rather than guess. An issue with no milestone is visible in the audit. One in the wrong milestone silently widens a release's scope.
issue-meta.sh milestone v5.0.0 96 104

Where the call is genuinely the maintainer's — an accuracy fix that could be a minor or could wait for the major already in flight — ask, with the two framings. Do not decide it by what is convenient to do next.

Recording what blocks what

issue-meta.sh block <blocked> <blocker>
issue-meta.sh unblock <blocked> <blocker>

The API takes the blocking issue's database id, not its number — {"id":5406149848, "number":71}. The script resolves it; a hand-rolled gh api call passing the number is rejected. It also needs -F rather than -f, because the field is typed as an integer and a string is refused.

Record a relation when one issue's work cannot start, or cannot be correct, until the other lands. That is narrower than "related":

  • A deletion that removes the code another issue is about — the deletion blocks it, and frequently closes it.
  • A duplicate: it is blocked by the issue that supersedes it, and closes on that PR.
  • A fix that re-pins values a second fix will move again — the first blocks the second, so the values are recorded once.

Do not record a relation for issues that merely touch the same file. That is ordering information, and it belongs in the plan release-captain writes, not in the graph. Over- recording turns a useful constraint into a chain that forbids parallel work.

Sequencing stated only in prose is invisible to every tool. When a body says "sequence this before #69" and no relation exists, this is the moment to create it — otherwise the next reader gets an order that looks unconstrained and is not.

Board fields

issue-meta.sh board 96 104

Adds each issue to the project and sets Status and Priority, mapping the severity label:

labelpriority
severity:criticalP0
severity:highP1
severity:mediumP1
severity:lowP2

Promote a high to P0 by hand when the finding is silent data loss or corruption — the user loses work, or gets a wrong answer, without being told. The Workbench board README is the standard; the script cannot judge "silent".

Everything starts in Backlog. Size is left unset deliberately — it is an estimate, and one guessed at triage time is worse than an absent one.

Two gh traps the script handles, both of which fail quietly by hand: gh project item-list defaults to 30 items and will hide a new one, so every listing passes an explicit limit; and gh issue create --project does not return the item id needed to set fields, so adding and editing are two calls.

Every issue gets a disposition

A triage pass that leaves issues untouched has not triaged them. For each one: placed in a milestone, deliberately left unmilestoned with a reason, or closed. List anything parked, explicitly, at the end — a backlog's real cost is the issues nobody decided about.

Do not use when

  • The issues need checking against the code rather than sorting — use issue-verify.
  • A milestone is already well-formed and the work is what remains — use release-captain, whose first phase is verification, not placement.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.