Skip to content
Back to skills

kanban

ASecurity

File-backed kanban board: create, read, move and comment on tickets by key or uuid, assign agent profiles, and wake on comments by observing kanban::on-comment instead of polling. Group tickets as subtasks and file them under projects and releases. Reach for it whenever work is planned, dispatched, reported or reviewed as tickets.

  • 120 stars
  • 0 votes
  • 0 copies
  • 9 views
  • Added November 30, 2026
code-qualityreact

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 30, 2026

npx -y skills add iii-hq/workers --skill skills --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of kanban?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for kanban
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/iii-hq-kanban/badge)](https://www.skillsdirectory.com/skills/iii-hq-kanban)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kanban
description: >-
  File-backed kanban board: create, read, move and comment on tickets by key
  or uuid, assign agent profiles, and wake on comments by observing
  kanban::on-comment instead of polling. Group tickets as subtasks and
  file them under projects and releases. Reach for it whenever work is
  planned, dispatched, reported or reviewed as tickets.
---

# kanban

The `kanban` worker owns one board file (`<data_path>/board.json`) holding
every ticket with its comments and activity timeline inline. Every ticket
carries an internal uuid and a human key (`KAN-7`, case-insensitive); both
work everywhere a ticket is addressed. Columns, priorities, the key prefix and
the done column are configuration (`kanban::config::info` prints the live
values), and the default board is `backlog`, `todo`, `in_progress`,
`in_review`, `done`.

A ticket has at most one parent (a subtask), one project and one release,
independent of each other. A parent's `progress` counts only children in the
`done_status` column (read it from `kanban::config::info`; `in_review` is not done), over
the children not in the `canceled_status` column: move a ticket that will not be done there.
Ticket views and project and release lists expose the derived
`open_questions` count. Questions are append-only comments mirrored from the
harness through `Comment.question` and its answer reply's `Comment.answer`;
the worker never writes a `needs you` pill for them. Projects may carry
validated `repos` as `owner/name` strings.

Tickets are never removed by an agent: a finished ticket is moved to
`in_review` or `done`, and a human soft-deletes from the console's ticket
screen (the row stays on disk with `deleted_at` set). Writes take an `actor`
and comments an `author`; pass your own agent-profile id in both, because the
comment filters below key on exactly that string. The worker also injects a
board, a ticket, a releases and a projects page into the console.

## When to Use

- A feature is being planned, dispatched to other agent profiles, or reviewed,
  and the plan must outlive the chat session.
- You were dispatched onto a ticket and must claim it, report on it and hand
  it off where the reviewer will see it.
- You need to react to a human's or another agent's comment on one ticket
  without polling.
- You made a material choice without asking a person and need to preserve it
  in the card's decision log.
- The console should show a board or a ticket beside the conversation.

Pills are small badges another worker pins on a ticket, shown on the card and
the ticket page: `pills: [{ "icon": "calendar", "text": "Fri 17:00" }]` on
`ticket::create` or `ticket::update` (`icon` is a lucide icon name; the list
replaces the set, `[]` clears it). Use them for what the board does not model
itself: a due date, an alarm, a source system.

## Boundaries

- Not a general task queue or a durable job store; use `queue` for work that
  must be executed, and the board for work that must be planned and reviewed.
- No author arg on `kanban::on-change`; observe `kanban::on-comment` with
  `exclude_author` for a feedback loop that must not wake on your own posts.
- Deleting and restoring tickets is the human's action; agents move tickets.
- Creating, shipping or archiving projects and releases, and converting a
  label into one, are console actions; agents list them and file tickets under them.
  The one exception is the deepwork or workflow orchestrator, which creates its run's project.
- Agent profiles are resolved through `iii-directory` (with the configured
  agents folder as the fallback); this worker does not create profiles.
- The harness owns live question state. Agents ask from a root session with
  `harness::ask`; only a person calls `kanban::question::answer`.

## Comment discipline

Treat comments as a decision and handoff log, not an execution trace. Comment
for a material scope/acceptance decision, a new actionable blocker, a review
rejection with evidence, or a consolidated final handoff. Ask a person through
`harness::ask`; its question and answer are mirrored here automatically.
Do not post each tool call, dispatch, phase start/end, successful check or
internal retry. Keep technical progress in session traces, state results or
the evidence artifact; status changes already appear in activity.

Read existing comments before posting, deduplicate unchanged facts, and
consolidate same-turn facts with outcome, evidence reference and next action.
A blocker warrants another comment only when something material changes.
For delegated multi-phase work, leaves use the assigned result channel and
the ticket owner consolidates the handoff. Preserve required reports and
human decisions; fewer comments must not hide failures or open questions.

Ask from a root session with `harness::ask`, including `about.ticket`,
`about.why` and the recommended option when the work is on a card. A sub-agent
reports its question as blocked to its parent, which asks the person. Keep
working where the answer is not needed, and withdraw an obsolete question with
`harness::ask::withdraw`. A run-health problem that prevents progress calls for
a `run_health` question with an expiry default instead of ending blocked.

Record a material choice you made alone with `kanban::question::record`, using
your agent profile as `recorded_by`. Name the card key in the title or branch
of every pull request for that card so the control plane can link it.

## Functions

- `kanban::config::info` — resolved settings: board file path, columns, `done_status`, `canceled_status` (null when the board has none), priorities, key prefix, agents folder.
- `kanban::board::get` — every column with its ticket summaries and their `total`, plus `done_status`, `projects` and `releases` with their counts; `statuses`, `updated_since`, `limit` and `compact` keep the read small, `offset` pages a long column, and `parent_id`, `project_id` and `release_id` narrow it (`""` means none).
- `kanban::ticket::create` — create a ticket (title, description, status, priority, assignee, labels, pills, actor); `parent`, `project` and `release` file it as a subtask or under a project or release.
- `kanban::ticket::get` — one ticket with comments and activity, by uuid or key, plus its `parent`, its `children` and a `progress` count. The activity is bounded: all comment entries plus the newest 50 others (`activity_total` is the real count), and long changed texts (description edits) are cut with a `[truncated, N chars; ...]` marker; `kanban::activity::list` has the full history.
- `kanban::ticket::list` — ticket summaries in board order, narrowed by column, assignee, `updated_since`, `parent_id`, `project_id` or `release_id`; `offset` and `limit` page them (`total` counts every match); `compact` rows for catch-up reads.
- `kanban::ticket::links` — the tickets one ticket mentions and the tickets that mention it, by key in title, description or comments; summary rows, by uuid or key.
- `kanban::ticket::update` — change title, description, status, priority, assignee, labels, pills, `parent`, `project` or `release` (a string sets, `null` clears, absent leaves it); `add_labels` / `remove_labels` edit the current labels (ASCII case ignored, applied after `labels`, remove before add) so concurrent label edits do not overwrite each other. A patch that changes nothing records and fires nothing. A deleted ticket's other fields can be edited, but its status cannot be changed: restore it first.
- `kanban::ticket::move` — move a ticket to a column and position (the board drag and drop); moving to where it already is changes nothing, and a deleted ticket cannot be moved.
- `kanban::ticket::delete` / `kanban::ticket::restore` — soft delete and undo; human actions. Deleting a deleted ticket or restoring a live one changes nothing.
- Writes (`ticket::create` / `update` / `move`, `comment::create`) return the whole ticket; pass `compact: true` to get only its compact row (key, title, status, priority, assignee, comment_count, open_questions) when you don't need the rest.
- `kanban::comment::create` — comment or reply (`parent_id`); replies stay one level deep.
- `kanban::comment::list` — comments filtered by author, excluded author, root only, or since a timestamp.
- `kanban::activity::list` — one ticket's timeline oldest first, or, without `ticket_id`, board-wide activity newest first; optionally narrowed by type or time.
- `kanban::question::answer` — forward a person's structured answer or dismissal to the harness question mirrored on a ticket.
- `kanban::question::list` — page question comments and their derived state, optionally narrowed by state, project or release.
- `kanban::question::record` — append a material question and its answer together when an agent made the choice without asking.
- `kanban::sessions::links` — which agent sessions changed which tickets (first and latest change, how many, the latest kind and turn), by project, ticket or session. Each change records the session of the agent turn that made it.
- `kanban::agent::list` — assignable agent profiles and their ids.
- `kanban::project::list` — projects with status, totals, `open_questions` and per-column counts; `include_archived` adds the archived ones.
- `kanban::release::list` — releases with derived status (planned, active, released), totals, `open_questions`, counts and a per-project breakdown.
- `kanban::project::create` / `kanban::project::update` / `kanban::project::archive` / `kanban::project::restore` — manage projects, including optional `owner/name` repositories; human actions.
- `kanban::release::create` / `kanban::release::update` / `kanban::release::ship` / `kanban::release::reopen` / `kanban::release::delete` — manage releases; `ship` needs `move_open_to` when tickets are not done; human actions.
- `kanban::label::convert` — turn the tickets carrying a label into a project or a release, with `dry_run` buckets; human action.

A subtask has one level: the parent must be live and have no parent, and a
ticket with live children cannot get one. Attaching or detaching writes an
activity line on both tickets. A subtask does not inherit its parent's project
or release; pass them. A project or release is addressed by id or name; an
archived project refuses new tickets, a released release still accepts them.

A user may mention a ticket in chat as `@kanban(id="<uuid>")`; the message
then arrives with a `<mentions>` block carrying the ticket's summary and the
pre-verified `kanban::ticket::get` call. To point the user at a ticket in a
reply, write `@kanban(id="<uuid>")` with the `id` a function returned — the
console renders it as a ticket pill. (`kanban::mention::search` and
`kanban::mention::get` serve the composer and that block; they are internal.)

## Observing the board

Observe `kanban::on-comment` when a session or function should run every
time someone comments on one ticket — the reviewer's answer after a hand-off,
a human's reply, another agent's note — without re-reading the board.

Reach for it when:

- You reported on a ticket and moved it to `in_review`, and the rejection or
  acceptance must reach you after your turn ended.
- You dispatched a ticket to another profile and its report arrives as a
  comment.

If you only need the comment you just wrote, use the return value of
`kanban::comment::create`; observe only when a *different* author should wake
you. Mirrored and recorded questions use these same existing
`kanban::on-comment` and `kanban::on-change` events. `kanban::on-change` is the board-wide sibling: the worker calls it on
every event (`ticket.created`, `ticket.updated`, `ticket.moved`,
`ticket.deleted`, `ticket.restored`, `comment.created`) with the whole
ticket, selected by ticket and event name only, and it is the right function
for keeping a view in sync or for a done-watch on `ticket.moved`. Besides
`ticket_id` and `events` its args take `parent_id` (the parent and any of its
children) and `release_id` (tickets in that release, and the change that
moves one out of it).

### How to observe

From an agent session, `harness::observe` arms the wake; omit `target` to be
woken in this session. A worker calls `iii.observe` with its own handler as
the target.

```json
harness::observe {
  "function_id": "kanban::on-comment",
  "args": { "ticket_id": "KAN-7", "exclude_author": "<your profile id>", "ticket": "summary" },
  "once": false,
  "lifecycle": { "max_fires": 20, "expires_in_ms": 3600000 }
}
```

The args belong to the kanban worker. `ticket_id` or `parent_id` is required
(an observer with neither is rejected with `TICKET_OR_PARENT_REQUIRED`) and
matches the uuid or the key; `parent_id` covers comments on the parent or any
of its children, so one observer replaces one per child. `author`,
`exclude_author` and `root_only` narrow further. `"ticket": "summary"` on
either function delivers the board-card fields instead of the whole ticket
with its thread — the right choice for an agent that re-reads the ticket on a
wake. Writes call the functions; reads do not. Pair a standing wake with a
`cron::on-tick` check-in over `kanban::comment::list`. For the args and the
event shape, call `engine::functions::info` on the function (`args_format`,
`response_format`).

Files in this skill

  • SKILL.md13 KB
  • ade-worker-design/console-design.md89.3 KB
  • ade-worker-design/console-injectable-ui.md49.2 KB
  • ade-worker-design/index.md2.9 KB
  • ade-worker-design/patterns.md13.9 KB
  • frontend/frontend-testing.md6.1 KB
  • frontend/iii-browser-sdk.md11.4 KB
  • frontend/index.md1.6 KB
  • frontend/react.md7.6 KB
  • frontend/tanstack-query.md7.4 KB
  • frontend/tanstack-router.md9.3 KB
  • frontend/vite.md8.2 KB
  • frontend/web-accessibility.md6.5 KB
  • frontend/web-performance.md5.8 KB
  • iii-node/configuration.md4.9 KB
  • iii-node/index.md35.8 KB
  • tickets/acceptance-review.md10.4 KB
  • tickets/feature-planning.md8.4 KB
  • tickets/index.md1.7 KB
  • tickets/kanban-tickets.md15.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in code-quality →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.