triage
Evaluate incoming issues or external PRs and apply requested triage outcomes. Use for classification, verification, or agent briefs.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-12
- Stars
- ★ 628
- Forks
- 90
01 前言 Front Matter
- name
- triage
- description
- Evaluate incoming issues or external PRs and apply requested triage outcomes. Use for classification, verification, or agent briefs.
- disable-model-invocation
- true
02 资源文件 8
- 参考文档AGENT-BRIEF.md7.8 KB
- 参考文档agents/openai.yaml247 B
- 参考文档OUT-OF-SCOPE.md4.6 KB
- 参考文档references/database-operations.md7.8 KB
- 参考文档references/elastic-pools.md5.9 KB
- 参考文档references/server-management.md5.9 KB
- 参考文档UPSTREAM-LICENSE.txt1.1 KB
- 参考文档UPSTREAM-NOTICE.md1.8 KB
03 SKILL.md 正文
Triage
Move issues on the project issue tracker through a small state machine of triage roles.
If this repo treats external pull requests as a request surface (see the issue-tracker config), triage covers them too: a PR is an issue with attached code — same roles, same states, same machine, with a few deltas marked "for a PR" below. Resolve a bare #42 to an issue or PR per the tracker config.
Every comment or issue posted to the issue tracker during triage must start with this disclaimer:
> *This was generated by AI during triage.*
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:
bug— something is brokenenhancement— new feature or improvement
Five state roles:
needs-triage— maintainer needs to evaluateneeds-info— waiting on reporter for more informationready-for-agent— fully specified, ready for an AFK agentready-for-human— needs human implementationwontfix— will not be actioned
For a PR, the same states read against the attached code: ready-for-agent means a brief is attached and an agent should take the next step on the diff; ready-for-human means it's ready for a human to merge.
Every triaged issue should carry exactly one category role and one state role. If roles conflict, inspect the issue and prior decisions before proposing a repair. An explicit state override supplies the decision. Otherwise ask before an ambiguous label mutation, while continuing read-only verification.
These are canonical role names — the actual label strings used in the issue tracker may differ. Read the existing tracker configuration and labels to establish the mapping. If it remains unclear, prepare the recommendation before asking for a mapping.
State transitions: an unlabeled issue 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. Apply an explicit maintainer override without reconfirming it.
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 #42" (issue or PR)
- "Move #42 to ready-for-agent"
- "What's ready for agents to pick up?"
Show what needs attention
Query the issue tracker and present three buckets, oldest first:
- Unlabeled — never triaged.
needs-triage— evaluation in progress.needs-infowith reporter activity since the last triage notes — needs re-evaluation.
When PRs are in scope, include external PRs in these buckets and tag each line [PR] or [issue]. Discovery surfaces only external PRs (the tracker config defines who counts as external) — a collaborator's in-flight PR is not triage work. This filter is discovery-only; an explicitly named PR is always triaged regardless of author.
Show counts and a one-line summary per item. Let the maintainer pick.
Triage a specific issue or PR
-
Gather context. Read the full issue or PR (body, comments, labels, author, dates; for a PR, the diff too). 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-implemented
wontfix(step 5). (b) prior rejection — read.out-of-scope/*.mdand surface any that resembles this request. -
Form a provisional recommendation. Identify the likely category and state, then verify the claim before presenting the recommendation as established.
-
Verify the claim. Before any grilling, check that the claim holds up. For a bug, reproduce it from the reporter's steps. For a PR, confirm the diff does what it claims — check it out, run the relevant tests or commands. 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, use grill-with-docs for the unresolved decisions. Do not re-interview an issue that already has sufficient acceptance criteria.
-
Apply the authorized outcome. Prepare the concrete label changes and text first. A request to inspect or recommend does not authorize posting comments or closing issues. Reuse explicit authorization already provided. Read back mutations before reporting success. Outcomes:
ready-for-agent— post an agent brief comment (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— post triage notes (template below).wontfix— close, with the comment depending 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) — polite explanation, then close.
- Rejected (enhancement) — write to
.out-of-scope/, link to it from a comment, then close (OUT-OF-SCOPE.md).
- Already implemented — the change already exists in the codebase. Point to where it lives; do not write to
needs-triage— apply the role. Optional comment if there's partial progress.
Quick state override
If the maintainer says "move #42 to ready-for-agent", apply that role directly and verify the resulting labels. This authorizes the requested state change. Do not add comments, close the issue, or start an interview unless requested.
Needs-info template
## Triage Notes
**What we've established so far:**
- point 1
- point 2
**What we still need from you (@reporter):**
- 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 on the issue or PR, 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
nodetool
Use the NodeTool MCP server to build, validate, run, and debug visual AI workflows, and to work with assets, collections, and jobs. Use when the user mentions NodeTool or asks for a workflow graph, a node, or a media generation run on their NodeTool server.
wan-2-6-prompting
Prompt Alibaba's Wan 2.6 video — text-to-video with a global style line plus timing-bracketed shots, and image-to-video that describes only what changes over time. Covers the shot-mode switch per provider, the prompt budget, negative prompts, motion intensity wording, audio input and prompt expansion. Use whenever the model id names a Wan 2.6 video route (alibaba/wan-2.6/text-to-video, alibaba/wan-2.6/image-to-video, wan-video/wan-2.6-t2v, wan-video/wan-2.6-i2v, wan-video/wan2.6-i2v-flash) on generate_video, animate_image or a TextToVideo node. Not for Wan 2.5 or 2.7, or the Wan 2.6 image routes.
video-workflow
Build a reusable NodeTool video workflow for batches or repeated inputs. For a single finished piece, use a storyboard skill.
video-clone
Analyze a reference video and recreate its shot structure with a new product or cast in NodeTool.
video-audio-continuity
Keep sound continuous across a multi-scene piece cut from generated video — why one clip per scene hard-cuts the audio at every boundary, when to write all the scenes into a single generation instead, the sound-design vocabulary that survives a provider's copyright filter, and how to check the length, the aspect ratio and the mix of what came back. Use when a piece has more than one scene and the video model writes its own audio (Seedance 2, Veo 3, MiniMax H3, Kling 2.6 and later), or when a cut's sound drops out at the shot changes.
veo-3-prompting
Prompt Google's Veo 3 video line — the five-element shot/setting/subject/action/dialogue structure, the cinematography vocabulary it reads directly, duration and aspect-ratio tradeoffs, the audio and auto-fix switches per provider, and the fixes for visual drift, temporal inconsistency and audio mismatch. Use whenever the model id contains veo3 or veo-3 (fal-ai/veo3.1 and its fast, lite, image-to-video, first-last-frame and reference-to-video routes, fal-ai/veo3/image-to-video, google/veo3.1 on atlascloud, google/veo-3 and google/veo-3.1 on replicate, kie's veo-3-1, and Gemini's own veo-3.1-generate-preview) on generate_video, animate_image, generate_video_from_references or a TextToVideo node.