track
Backlog CRUD through the bound tracker: stats, list, add, start, done, due, recheck, search, audit, publish-plan, link (default: stats). Use when the user wants to add, claim, or close a work item, ticket, or issue; list, search, or see a dashboard of open items; check what is due on the recurring schedule; or audit stale claims and labels. New bug reports go to /bugs:write first. Picking and executing the next item is /work-items:work; raw intake is /work-items:triage.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 30
- Forks
- 7
01 前言 Front Matter
- metadata
- { "summary": "Backlog CRUD through the bound tracker. Add, list, close, stats", "workflow-stage": "anytime" }
- description
- Backlog CRUD through the bound tracker: stats, list, add, start, done, due, recheck, search, audit, publish-plan, link (default: stats). Use when the user wants to add, claim, or close a work item, ticket, or issue; list, search, or see a dashboard of open items; check what is due on the recurring schedule; or audit stale claims and labels. New bug reports go to /bugs:write first. Picking and executing the next item is /work-items:work; raw intake is /work-items:triage.
- argument-hint
- [stats|list|add|start|done|due|recheck|search|audit|publish-plan|link|view|edit|changes…] [args]
- user-invocable
- true
- disable-model-invocation
- false
02 资源文件 15
- 参考文档actions/add.md16.6 KB
- 参考文档actions/audit.md5.9 KB
- 参考文档actions/changes.md1.3 KB
- 参考文档actions/done.md6.8 KB
- 参考文档actions/due.md3.9 KB
- 参考文档actions/edit.md2.8 KB
- 参考文档actions/labels.md802 B
- 参考文档actions/link.md2.6 KB
- 参考文档actions/list.md2.2 KB
- 参考文档actions/publish-plan.md3.9 KB
- 参考文档actions/recheck.md4.0 KB
- 参考文档actions/search.md1.9 KB
- 参考文档actions/start.md10.8 KB
- 参考文档actions/stats.md1.7 KB
- 参考文档actions/view.md2.1 KB
03 SKILL.md 正文
Variables
Arguments: $ARGUMENTS. [stats|list|add|start|done|due|recheck|search|audit|publish-plan|link|view|edit|changes|labels|help] [args]. The default action is stats.
Shared tracker context
The seam, operation routing, label taxonomy, canonical-role remapping, recurring schedule, and
memory-tier write rule that every work-items skill relies on live in
${CLAUDE_PLUGIN_ROOT}/reference/tracker-seam.md
(and the references it links). Read it at the start of an invocation. Two invariants bind the
actions below:
- Provider-neutral over the seam. Coordination goes through
${CLAUDE_PLUGIN_ROOT}/tools/work-item-tracker/work-item-tracker.sh <verb>; provider mechanics (filtered listing, search, aggregation, close, label/comment edits) route through the bound adapter's operations reference. The core inlines no provider commands. - Role-label resolution is an action-entry invariant.
add,due,recheck, andauditquery, create, or filter items by a canonical role. Resolve each role fromconfig.role_labelsof the binding the seam resolves (thetrackermapping of<home>/work-items.yaml) at action entry and use the resolved strings in every query. An absent file or entry falls back to the documented default without a warning (a conforming binding omits entries that keep their default); a present malformed, empty, or non-string value is a hard stop.
add and recheck also read:
${CLAUDE_PLUGIN_ROOT}/reference/label-taxonomy.md: the label structureaddvalidates against andlist --categoryfilters by.${CLAUDE_PLUGIN_ROOT}/reference/issue-conventions.md: the item shapeaddfollows; its title rule points at the house style.${CLAUDE_PLUGIN_ROOT}/reference/agent-brief.md: the brief templateadd --agent-readyuses instead of the default body.${CLAUDE_PLUGIN_ROOT}/reference/standing-item-preconditions.md: the preconditionrecheckevaluates before advancing dates or closing the associated item.
Scope
track is the concurrent-safe backlog-CRUD surface, routed by the action table below. Selecting
and executing one item, raw-intake evaluation, plan decomposition and the marker sweep belong to
the sibling skills under "Sibling-skill verbs".
Emit checklist
For the multi-step actions (add, start, done, recheck), copy the matching action section of
${CLAUDE_PLUGIN_ROOT}/templates/checklist.md into
<memory_dir>/<slug>/work-items-checklist.md (default .work/), a memory-tier write
(${CLAUDE_PLUGIN_ROOT}/reference/tracker-seam.md
"Memory-tier writes" owns the slug and the self-ignore guard).
Tick each step as completed. Single-action reads (stats, list, search, due, view, changes,
labels), audit and edit don't need a checklist.
Next
- A picked item:
/work-items:work. - Raw intake:
/work-items:triage.
Action Router
Parse $ARGUMENTS to extract the action (first token) and remaining arguments.
| Action | Description | Detail |
|---|---|---|
stats |
Dashboard: open/claimed counts, overdue recurring, category breakdown | actions/stats.md |
list |
List work items with label/state/assignee filtering | actions/list.md |
add |
Create a new work item with labels from the taxonomy | actions/add.md |
start |
Claim an item (assignee + lease via the seam) | actions/start.md |
done |
Close an item with a completion comment | actions/done.md |
due |
Show recurring items past their next_due date |
actions/due.md |
recheck |
Update last_checked/next_due in recurring schedule after a periodic check |
actions/recheck.md |
search |
Full-text search across items (open + closed) | actions/search.md |
audit |
Detect stale claims, orphaned recurring entries, label hygiene; close decomposed parents whose children are done | actions/audit.md |
publish-plan |
Post an approved PLAN.md to an item as one marked comment, edited in place on re-publish | actions/publish-plan.md |
link |
The adapter's text linking a change to an item, from an id or a branch name | actions/link.md |
view |
One item's title, state, labels and body, and its comments with --comments |
actions/view.md |
edit |
Change an item's title, body or labels, add a blocked-by edge, or comment | actions/edit.md |
changes |
Change requests the tracker links as closing an item | actions/changes.md |
labels |
The live label set, or which named labels are missing | actions/labels.md |
help |
Show the action table above | (inline) |
If $ARGUMENTS is empty, run stats (the default dashboard). If the action is unknown, show the
action table.
Sibling-skill verbs. work, triage, decompose, and scan are standalone skills, not
track sub-actions. If $ARGUMENTS names one, point the user at the skill instead of erroring: work → /work-items:work, triage → /work-items:triage,
decompose → /work-items:decompose, scan → /work-items:scan-todos.
04 同仓库更多 Skills
track
Backlog reads through the bound tracker: search open and closed items, view one item with its comments and state history. Use when another skill searches or reads tracker items.
reviewer-media
Reviewer media for one pull request: decides whether it needs a narrated walkthrough, builds the storyboard from /review:explain-change's digest, has /explainer-video:produce render it and hands the manifest to /source-control:pull-request media. Use when asked for 'reviewer media', 'a walkthrough video for this PR', 'a produced video of this change', or when pull-request ready or monitor hands a PR over.
route
Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.
route
Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.
principles
Module-design vocabulary for architecture findings, and the checks built on it. Use when: 'what is a deep module', 'what is a seam', 'deep vs shallow module', 'what is the deletion test', 'leverage and locality', 'module design vocabulary', 'which word do we use for X in architecture findings'. Scanning a codebase for friction is /architecture:improve.
write
Structured five-field bug report (title, steps to reproduce, expected vs actual, justified severity, suggested fix location) from an informal description, read-only. Use when the user names a defect they observed, or asks for one written up ('report a bug', 'file a bug', 'write this up as a bug').