AGENT SKILL

交付看板梳理

triage

梳理交付看板——细化验收标准、确定缺陷优先级、权衡技术债务、归档过期条目、补充待办事项、上报跨团队阻碍。

License 许可
Apache-2.0
所属仓库
colliery-io/kairos
最近更新
2026-11-13
Stars
★ 1
Forks
4

01 前言 Front Matter

name
triage
description
Groom the delivery board — refine acceptance criteria, prioritize bugs, weigh tech debt, archive stale items, restock Todo, escalate cross-team blockers.
argument-hint
[short code | what to groom]
disable-model-invocation
true

02 资源文件 1

03 SKILL.md 正文

Triage

Run the delivery board's backlog grooming ceremony. The board is the state machine: columns Backlog → Todo → Blocked → Active → Completed, item types Task, Bug, Tech Debt. Triage moves items Backlog → Todo (or out of the system) and keeps Todo stocked with the next highest-priority work.

Everything triage learns is written onto the items themselves — the board is the record, not the conversation. Write each note with append_note (short_code, text): one call, no version and no anchor text. A note is not part of the content: get_item shows it after the content under a heading with its id, the date and your name, so the notes stay in time order. Every note starts with:

This was generated by AI during triage.

Invocation

The team lead invokes /kairos:triage and describes what they want in natural language. Interpret and act:

  • no arguments, or "groom the backlog" — the full ceremony (below)
  • "show me what needs attention" — the attention pass only
  • "let's look at <short code>" — triage that one item
  • "move <short code> to todo" — quick override

Resolve the board with whoami/my_boards (the user's delivery board) unless the user names one. When the session is wired to a repository (the repository in the SessionStart context), groom the tasks of this board that link to it by default — board_items with repository=<slug> — and say so; the lead can widen to the whole board ("groom everything"). A request with no repository is not in the filtered list. Find it on the whole board: board_items marks it [support lane]. Duplicate searches (search) stay board-wide regardless: a duplicate in another repo is still a duplicate.

Show what needs attention

board_items on Backlog and Blocked (column=Backlog, then column=Blocked), with details: true: each card then shows its priority and the other metadata values, the date of its last change, and its claim. You need no get_item for each card. board_items gives 200 items at most in one result. When the result is a part of the board, its first lines say so and give the offset of the next part. Call board_items again with that offset until you have each part. The counts of a bucket are the counts of all the parts. Present buckets, oldest first, with counts and a one-line summary per item:

  1. Unrefined — Backlog items without acceptance criteria
  2. Unprioritized bugs — Bugs without a priority value
  3. Stale — Backlog items untouched 90+ days
  4. Blocked — items in Blocked, with what each is waiting on

For a bucket, search gives the answer in one call. Send the board by slug (filter.board). Use filter.metadata_missing for a missing value and filter.updated_before for an age. For the unprioritized bugs that are also stale: {"filter": {"board": "<board>", "task_type": ["bug"], "metadata_missing": ["priority"], "updated_before": "<now minus 90 days, RFC 3339>"}}. list_metadata_definitions gives the slugs and the scale of each definition (the values of priority in their order), and list_templates gives the templates.

Call get_events too: your notifications show the P0 bugs that landed on the board of your team, the tasks of yours that someone cancelled, and the mentions of your name. To mention a person, write @<user name>. list_members gives the user names. Put a P0 bug at the top of the attention list. When the lead has seen them, mark_events_read (ids, or all: true with up_to: the newest id that you read). While you have unread notifications, each answer of a Kairos tool ends with the 5 newest.

Let the lead pick where to start.

Name each item by its short code and the title. Take the column names from the board, not from memory, and translate the lead's words ("ticket", "epic", "sprint") to the Kairos item types: the kairos-vocabulary skill and its ITEM-TYPES.md.

Triage a specific item

Code index first. Find code with the tools of the kairos-code MCP server before you read a file. code_search finds what the code does; symbol finds one name. callers and references find its uses; path finds how one symbol reaches another. Then read only the files that they name. grep is for literal text only: a log line, a config key, an error message. After you change code, run kairos index update.

  1. Gather context. get_item for content, metadata, relationships and the prior triage notes (they follow the content), so you don't re-ask resolved questions. Note the item's lane and repository (get_item prints both). A request from a different team is in the entry column, in the support lane, and needs no repository. Triage it like any other item; its author owes the answers to "needs info" questions. Check redundancy: search the boards for a duplicate item, and search the codebase for an existing implementation of the requested behavior by domain concept, not just the request's wording — report where you looked.
  2. Verify the claim. For a Bug, reproduce it from the reported steps before anything else; report confirmed (with code path), failed, or insufficient detail. For a Task or Tech Debt item, confirm the premise still holds in the codebase.
  3. Recommend. Give the lead your recommendation — refine toward Todo, needs info, cancel, or archive — with reasoning and a brief summary of what you found in the codebase. Wait for direction.
  4. Grill if needed. If the item needs fleshing out, run the grilling skill — sharpen it one question at a time, capturing each answer on the item as it lands.
  5. Apply the outcome (on the item, via edit_item / set_metadata / transition_item). If set_work_class, transition_item, move_item or cancel_item is refused with AGENT_TRIAGE_OFF, the board lets a person decide the triage of intake: write the proposal (the outcome below, and why) with append_note and move on.
    • Refined — acceptance criteria written (read ACCEPTANCE-CRITERIA.md first), effort and priority set via set_metadata on the defined scales (list_metadata_definitions gives them) — ask the lead once for the scale if the organization defines none; moves to Todo when it's next in line. A refined item that needs code links to exactly one repository. set_repository (short_code, repository) sets the link and changes nothing else. An item with no code, such as support work, needs no repository. Work that spans repos is split into one task per repo joined by blocks/parent edges — never one item that "touches both".
    • Into the plan — a support request that the team takes into its plan changes lane: set_work_class (short_code, work_class: planned). It needs transition_items on the board; the task stays in its column.
    • Wrong team — an item that belongs to another team's board is moved, never recreated there (recreating loses its history, its edges, and its author): move_item with to_board their delivery board. You need manage_tasks on both boards, so if the tool refuses, say which board it belongs on and ask the lead. The task keeps its repository: the move does not look at it.
    • Needs info — append_note the triage notes: what's established so far, and specific, actionable questions naming who owes the answers. Stays in Backlog; on the next pass, re-read the notes and continue rather than restart.
    • Cancel — when the lead rejects the item outright ("won't do"): cancel_item with the reason. A cancel needs a reason, and the reason stays on the task; the task goes to the done column, marked Cancelled. If the work comes back later, it is a new task.

The grooming ceremony

Work the backlog through these actions; the ceremony is done only when every one holds:

  1. Refine. Every item groomed toward Todo carries acceptance criteria (ACCEPTANCE-CRITERIA.md) and an effort estimate.
  2. Prioritize bugs. Find each Bug on the board that lacks a priority with one search (task_type: ["bug"], metadata_missing: ["priority"]), and set_metadata a priority on it, on the scale that list_metadata_definitions gives. P0s are pulled immediately — flagged to the lead in the moment and moved straight to Todo ahead of everything, with expedited acceptance criteria (at minimum the verified reproduction and "no longer reproduces") written as they're pulled; P1–P3 ordered within the backlog.
  3. Weigh tech debt. Tech Debt flows on a standing allocation of roughly 20% of team time — as an item check, about 1 in 5 items across Todo and Active. Under the allocation → propose promoting the highest-value debt items, lead confirms, until the ratio holds; over → hold debt in Backlog.
  4. Archive stale items. For each Backlog item untouched 90+ days (search with filter.updated_before = now minus 90 days), propose archival to the lead. On confirmation, append_note a short note recording why it's being archived — durable reasoning, so a returning request meets the recorded decision instead of re-litigation — then delete_item with confirm: true. This archives the item: restore_item brings it back, and the note and history stay. Never use purge_task for this: a purge removes the task for good (it is in the admin profile of the MCP tools, not the default). If the lead wants it kept, append_note a parked note with the condition that revives it, and it stays in Backlog.
  5. Clear the done column. When the lead asks, archive_completed on the board archives each task in its done column (finished and cancelled). Each one can be restored.
  6. Restock Todo. Ask the lead once for the target Todo depth (default: one item per team member), then transition_item the next highest-priority refined items Backlog → Todo until Todo is at depth.

Cross-team blockers

When an item waits on another team: link_items with relationship blocks from the blocking item (theirs) to the blocked item (ours), transition_item ours to Blocked, and append_note an escalation note naming exactly what's needed and from whom — on the item and on its parent initiative, so the blocker is visible at the Initiative Board Review, where cross-team blockers are raised publicly. The blocks edge plus the initiative note is the escalation — there is no side channel.

Quick override

"Move <short code> to todo" — trust the lead. Confirm what you're about to do (transition, metadata, note), then act, skipping the ceremony. If the item is headed to Todo without acceptance criteria, ask whether to write them first.

04 同仓库更多 Skills

colliery-io
colliery-io/kairos

对话转行动项 PRD

to-initiative

将当前对话转化为一个附带 PRD 的 Kairos 行动项——无需访谈,仅综合已经讨论过的内容。

产品经理任务规划与分解
★ 1
colliery-io
colliery-io/kairos

Ralph 循环执行任务

ralph

以 Ralph 循环的方式逐个运行 Kairos 任务,依次执行 `/kairos:implement` 的各个步骤。

软件开发工程师定时任务与自动化编排
★ 1
colliery-io
colliery-io/kairos

Ralph 循环执行行动项

ralph-initiative

以 Ralph 循环的方式运行 Kairos 行动项中的未完成任务,按照其 blocks(阻塞)边的顺序执行。

软件开发工程师定时任务与自动化编排
★ 1
colliery-io
colliery-io/kairos

交付团队组建配置

onboard-team

带领一个新的或设置了一半的交付团队与相关人员一起进入可工作状态——包括其团队、成员、看板、代码仓库、团队页面和章程、任务派发以及本地配置连接。先读取、列出缺口、每次写入前先询问;可安全重复运行。

项目经理办公管理与协作
★ 1
colliery-io
colliery-io/kairos

Kairos 任务实现

implement

将一个 Kairos 任务从 Todo(待办)推进到 Completed(已完成)。当用户指定要实现的具体任务或短代码、要求接手下一个待办项,或经过梳理(groomed)的工作被移交执行时使用。

软件开发工程师代码实现
★ 1
colliery-io
colliery-io/kairos

行动项质询打磨

grill-initiative

一场持续的追问式访谈,用于打磨 Kairos 行动项(或战略),并将每个已确定的答案立即写入该条目。传入行动项或战略的短代码,或新行动项的标题。

产品经理方案质询与决策压力测试
★ 1