agentleFS
ruslanlapruslanlap/ai-dev-pipeline-skills/skills/triage/SKILL.md

triage

Skill0 starsChanged 2 months agoMITView on GitHub

Classifies a new ticket (bug / feature / other), checks information completeness, proposes solutions for gaps, searches for duplicates and sets labels. Use when a ticket has no ai:triaged label.

194 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-matt-pocock-skills, writing-beats 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.
  • AWSSkill

    setup-matt-pocock-skills

    Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

    Also in 80 projects that use this

  • RoentekSkill

    writing-beats

    Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.

    Also in 27 projects that use this

  • qhuang20Skill

    migrate-to-shoehorn

    Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.

    Also in 31 projects that use this

  • loulanyueSkill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 17 projects that use this

  • RoentekSkill

    writing-shape

    Writing, exploit — shape raw material into an article, paragraph by paragraph.

    Also in 24 projects that use this

  • AnasX7Skill

    scaffold-exercises

    Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.

    Also in 31 projects that use this

  • +1 more from Roentek

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 4

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

    Stop and do nothing if:

    line 18
  2. Distinctive:

    If it does not — it is a feature, even when the author writes "bug".

    line 36
  3. Distinctive:

    Ask a question only where a proposal would be pure guessing: when different answers produce

    line 53
  4. Very specific:

    Leave needs-info only when nothing can move without the author: the ticket is unclear, or it is a bug you did not reproduce and have no …

    line 56
  5. Distinctive:

    Before concluding, read AGENTS.md and the file the ticket concerns.

    line 71

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

Ticket Triage

You are the first agent in the pipeline. Your job is to classify and check completeness, not to fix.

The ticket number is in $ISSUE. Repository: vidprog/coffee-ground-tests.

Step 0. Check whether work is needed

gh issue view $ISSUE --json number,title,body,labels,author,state

Stop and do nothing if:

  • the ticket is closed;
  • it already has the ai:triaged label (unless a human removed it or explicitly asked to re-triage);
  • it has the ai:in-progress label — another agent is working on it;
  • it has the needs-human label and there is no explicit human command.

Otherwise set ai:in-progress and work. Remove it at the end always, even on error.

Step 1. Classify

TypeSigns
type:bugdescribed behavior that differs from expected; words like "doesn't work", "breaks", "error"
type:featurea request to add or change behavior that does not exist now
type:otherquestion, documentation, an idea without specifics, spam

Doubting between bug and feature — check whether the described functionality exists today. If it does not — it is a feature, even when the author writes "bug".

Step 2. Check completeness — and propose solutions

For type:bug there must be: reproduction steps, expected result, actual result, browser. For type:feature there must be: who/why, what exactly, acceptance criteria.

Something is missing — do not stop at a question. First read the code (step 4), then give a concrete answer of your own for each gap. Not "where should the toggle live?", but "I propose an icon in the header to the right of the title: the spot already exists, it does not break at 360px".

The proposal must be answerable with "yes" or a one-line correction:

  • one main option, not a menu of five;
  • a short "why exactly this" grounded in the code or conventions from AGENTS.md;
  • explicitly marked as the agent's assumption, not as the author's words.

Ask a question only where a proposal would be pure guessing: when different answers produce different products, and the code does not hint which one is needed.

Leave needs-info only when nothing can move without the author: the ticket is unclear, or it is a bug you did not reproduce and have no steps for. In that case — do not set any other labels besides the type. In all other cases, a proposal a human can silently approve or fix with one line beats a question that blocks the ticket for a day.

Step 3. Search for duplicates

gh issue list -R vidprog/coffee-ground-tests --state all --limit 50 --json number,title,state

A similar ticket — mention it in the comment ("looks like #7"), but close nothing yourself.

Step 4. Read the project

Before concluding, read AGENTS.md and the file the ticket concerns. Triage without reading the code is guessing. A proposal from step 2 without reading the code is guessing twice.

Step 5. Write the comment

The format — exactly this:

## 🔍 Triage

**Type:** bug
**What is clear:** briefly, 1–2 sentences in your own words.
**Likely area in code:** `app.js:renderResult` — with an explanation of why exactly there.
**What's missing:** a list, or "everything is in place".
**Proposal:** what you propose for each gap and why; "not needed" if everything is in place.
**Similar tickets:** #7 or "none found".

**Next:** a reproduction attempt.

<sub>🤖 Automated triage · [how the pipeline works](../blob/main/PIPELINE.md)</sub>

Step 6. Set labels

gh issue edit $ISSUE -R vidprog/coffee-ground-tests \
  --add-label "type:bug,ai:triaged" --remove-label "ai:in-progress"

Forbidden

Closing tickets, writing code, setting spec:approved, promising deadlines. Passing off your own proposal as a human decision.

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.