triage
Move issues in `.todo/` through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
- License 许可
- MIT
- 所属仓库
- placek/skills
- 最近更新
- 2026-09-24
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- triage
- description
- Move issues in `.todo/` through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
02 资源文件 2
- 参考文档AGENT-BRIEF.md6.1 KB
- 参考文档OUT-OF-SCOPE.md4.5 KB
03 SKILL.md 正文
Triage
Move issues in the .todo/ directory through a small state machine of triage roles.
An issue is a markdown file: either a standalone .todo/<slug>.md or a file inside a feature directory .todo/<feature-slug>/. Its roles are plain lines under the title:
# <Issue title>
Status: needs-triage
Type: bug
Discussion and triage notes are appended to the bottom of the file under a ## Comments heading, newest last.
Reference docs
- AGENT-BRIEF.md: how to write durable agent briefs
- OUT-OF-SCOPE.md: how the
.out-of-scope/knowledge base works
Roles
Two category roles, recorded on the Type: line:
bug: something is brokenenhancement: new feature or improvement
Five state roles, recorded on the Status: line:
needs-triage: maintainer needs to evaluateneeds-info: waiting on the reporter for more informationready-for-agent: fully specified, ready for an AFK agentready-for-human: needs human implementationwontfix: will not be actioned
Past triage, the implementation skills move an issue on to in-progress and then done. Triage never sets those two.
Every triaged issue should carry exactly one category role and one state role. If an issue has more than one Status: line, flag it and ask the maintainer before doing anything else.
State transitions: an issue with no Status: line normally goes to needs-triage first; from there it moves to needs-info, ready-for-agent, ready-for-human, or wontfix. needs-info returns to needs-triage once the reporter replies. The maintainer can override at any time; flag transitions that look unusual and ask before proceeding.
Invocation
The maintainer invokes /triage and describes what they want in natural language. Interpret the request and act. Examples:
- "Show me anything that needs my attention"
- "Let's look at
.todo/login-timeout.md" - "Move login-timeout to ready-for-agent"
- "What's ready for agents to pick up?"
Show what needs attention
Scan every markdown file under .todo/ (for example grep -rL '^Status:' .todo and grep -rl '^Status: needs-' .todo) and present three buckets, oldest first (by git history, or file modification time):
- No status: never triaged.
needs-triage: evaluation in progress.needs-infowith new comments since the last triage notes: needs re-evaluation.
Show counts and a one-line summary per item. Let the maintainer pick.
Triage a specific issue
-
Gather context. Read the full issue file (body, roles,
## Comments, and its git history). Parse any prior triage notes so you don't re-ask resolved questions. Explore the codebase using the project's domain glossary, respecting ADRs in the area. Run two checks against the codebase: (a) redundancy: search for an existing implementation of the requested behavior by domain concept (not just the request's wording), and report where you looked. If found, it's an already-implementedwontfix(step 5). (b) prior rejection: read.out-of-scope/*.mdand surface any that resembles this request. -
Recommend. Tell the maintainer your category and state recommendation with reasoning, plus a brief codebase summary relevant to the request (including whether it's already implemented). Wait for direction.
-
Verify the claim. Before any grilling, check that the claim holds up. For a bug, reproduce it from the reporter's steps. Report what happened: confirmed (with code path), failed, or insufficient detail (a strong
needs-infosignal). A confirmed verification makes a much stronger agent brief. -
Grill (if needed). If the request needs fleshing out, load two skills with
skill_view(grillinganddomain-modeling) and grill it into shape a round of questions at a time, sharpening domain terms and updatingCONTEXT.md/ADRs inline as decisions land. -
Apply the outcome by editing the
Status:andType:lines, then:ready-for-agent: append an agent brief under## Comments(AGENT-BRIEF.md).ready-for-human: same structure as an agent brief, but note why it can't be delegated (judgment calls, external access, design decisions, manual testing).needs-info: append triage notes (template below).- For
wontfix, the comment depends on why:- Already implemented: the change already exists in the codebase. Point to where it lives; do not write to
.out-of-scope/(that KB is for rejected requests, not built ones). - Rejected (bug): append a short explanation.
- Rejected (enhancement): write to
.out-of-scope/and link to it from a comment (OUT-OF-SCOPE.md).
- Already implemented: the change already exists in the codebase. Point to where it lives; do not write to
needs-triage: set the role. Optional comment if there's partial progress.
Quick state override
If the maintainer says "move login-timeout to ready-for-agent", trust them and set the role directly. Confirm what you're about to do (role changes, comment), then act. Skip grilling. If moving to ready-for-agent without a grilling session, ask whether they want to write an agent brief.
Needs-info template
### Triage Notes
**What we've established so far:**
- point 1
- point 2
**What we still need from you:**
- question 1
- question 2
Capture everything resolved during grilling under "established so far" so the work isn't lost. Questions must be specific and actionable, not "please provide more info".
Resuming a previous session
If prior triage notes exist in the issue file, read them, check whether the reporter has answered any outstanding questions, and present an updated picture before continuing. Don't re-ask resolved questions.
04 同仓库更多 Skills
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
wayfinder
Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets in `.todo/`, and resolve them one at a time until the way to the destination is clear.
wait-what
Stop. That last message did not land: re-pitch it.
verify
Evidence before claims. Use before saying anything is done, fixed, passing, or ready, and before committing, merging, or opening a PR.
to-tickets
Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, saved as one markdown file per ticket in `.todo/`.
to-spec
Turn the current conversation into a spec and save it to `.todo/`: no interview, just synthesis of what you've already discussed.