Kanban Workflow
/install kanban-workflow
Kanban Workflow (core)
Goal
Provide a reusable core for a project-management “co-worker” that:
- Uses the existing
stage:*lifecycle as the canonical state machine. - Integrates with PM platforms via CLI-managed auth only (no direct HTTP auth handling).
- Centralizes workflow/rules/runbooks so GitHub/Planka/Plane/Linear implementations share logic.
Canonical stage model
Treat these labels/states as canonical (and the only stages the agent should consider):
stage:backlogstage:blockedstage:in-progressstage:in-review
Notes:
- Done/closed is platform-specific and intentionally not part of the canonical stage set.
Adapters map platform concepts (labels, lists, statuses, custom fields) into this canonical set.
Architecture (ports & adapters)
Core (platform-agnostic)
- Canonical entities:
WorkItem,Project,Comment,Stage. - Canonical events:
WorkItemCreated,WorkItemUpdated,StageChanged,CommentAdded, etc. - Workflow engine: stage-based worker loop + clarification/comment templates.
- State: cursors + dedupe + snapshots for diffing.
Adapters (platform-specific)
Adapters are “smart wrappers” that:
- Call existing CLIs (e.g.
gh,planka-cli,plane-cli,linear-cli), relying on their auth/session. - Compose multiple CLI calls to implement higher-level operations.
- Synthesize events by polling + snapshot diffing when webhooks or event types are missing.
Canonical adapter entrypoints live in src/adapters/:
github.ts(gh CLI)planka.ts(planka-cli)plane.ts(plane-cli; Api2Cli workspace)linear.ts(linear-cli; Api2Cli workspace)
See also: src/adapters/README.md for CLI links and assumptions.
Entry points
Library entry points:
tick()(poll → normalize → diff → events)- verb-level workflow helpers:
show,next,start,update,ask,complete,create - automations:
runProgressAutoUpdates()
CLI entry point:
src/cli.ts(provideskanban-workflow \x3Cverb>; see README for setup flags)
CLI ergonomics: "What next" tips
All kanban-workflow \x3Cverb> commands print a What next: tip after execution to guide the canonical flow:
setup → next → start → (ask | update) → complete → next
After start, the tip additionally reminds you to run the actual execution/implementation work in a subagent, then report back via ask/update.
If config/kanban-workflow.json is missing or invalid, all commands error and instruct you to complete setup.
Setup (flags-only)
Setup writes config/kanban-workflow.json and validates that the selected platform CLI is installed + authenticated.
Required:
kanban-workflow setup --adapter \x3Cgithub|plane|linear|planka> ...- stage mapping flags:
--map-backlog,--map-blocked,--map-in-progress,--map-in-review
Adapter flags (summary):
- GitHub:
--github-repo \x3Cowner/repo>, optional--github-project-number \x3Cnumber> - Plane:
--plane-workspace-slug \x3Cslug>,--plane-project-id \x3Cuuid>, optional--plane-order-field \x3Cfield> - Linear:
--linear-team-id \x3Cid>or--linear-project-id \x3Cid>, optional--linear-view-id \x3Cid> - Planka:
--planka-board-id \x3Cid>,--planka-backlog-list-id \x3Cid>
Continuous status updates
While a task is in stage:in-progress, Kanban Workflow can post an automatic progress update comment every 5 minutes.
Use runProgressAutoUpdates() and persist its state in your agent/runtime.
Recommended repo layout
scripts/: deterministic helper scripts used by adapters or the core.references/: schemas and adapter notes (loaded on demand).assets/: runbooks/SOP templates.
Repo status
- The current core implementation is in TypeScript under
src/.
Next implementation steps
- Extend the adapter port to include idempotent write operations (comment/transition/label) in addition to
fetchSnapshot(). - Finish and validate the Plane + Linear adapters (consume
plane-cli/linear-clioutput schemas). - Decide on the authoritative mapping rule for stage → platform state (names vs explicit mapping table) and codify it.
- Add a small CLI surface for Kanban Workflow itself (e.g.
kanban-workflow tick --adapter plane --workspace ... --project ...).
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install kanban-workflow - 安装完成后,直接呼叫该 Skill 的名称或使用
/kanban-workflow触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Kanban Workflow 是什么?
Kanban Workflow is a TypeScript skill for a stage-based agentic co-worker that integrates PM platforms via CLI-auth adapters only (no direct HTTP auth). It p... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 558 次。
如何安装 Kanban Workflow?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install kanban-workflow」即可一键安装,无需额外配置。
Kanban Workflow 是免费的吗?
是的,Kanban Workflow 完全免费(开源免费),可自由下载、安装和使用。
Kanban Workflow 支持哪些平台?
Kanban Workflow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Kanban Workflow?
由 Simon van Laak(@simonvanlaak)开发并维护,当前版本 v0.1.12。