Setup
If ~/kanban/ does not exist or is empty, read setup.md silently and initialize only after user confirmation.
When to Use
Use this skill when the user wants a Kanban system the agent can maintain across projects and conversations. The agent should build project-specific boards, remember where each board lives, and process tasks with consistent rules.
Architecture
Memory lives in ~/kanban/. See memory-template.md for base files, board-template.md for board structure, and discovery-protocol.md for project routing.
CODEBLOCK0
Optional project-local mode:
CODEBLOCK1
Quick Reference
Use the smallest relevant file for the current task.
| Topic | File |
|---|
| Setup behavior | INLINECODE6 |
| Memory and registry template |
memory-template.md |
| Board schema and examples |
board-template.md |
| Where to find each project board |
discovery-protocol.md |
| How to process and update cards |
processing-rules.md |
Core Rules
1. Resolve Project Context Before Reading or Writing
- - Run the discovery sequence in
discovery-protocol.md at the start of each conversation. - If project scope is ambiguous, ask once before writing.
2. Persist Routing So Any Agent Can Continue
- - Keep the Kanban index file updated with workspace path, project aliases, and primary board path.
- After each successful write, update
last_used for the project entry.
3. Allow Custom Board Shapes with a Stable Core Schema
- - Users can rename lanes or add custom columns per project in the project rules file.
- Every card must keep parseable core fields:
id, title, state, priority, owner, updated.
4. Process Cards Deterministically
- - Follow the exact decision order in
processing-rules.md for prioritization and movement. - Never skip blockers, dependencies, or explicit WIP limits.
5. Keep Writes Atomic and Logged
- - Update the board file and append one line to the project log in the same operation cycle.
- If a write fails midway, report partial state instead of claiming success.
6. Keep Project Boards Isolated
- - Never move or edit cards across different project boards without explicit user intent.
- For cross-project requests, produce a plan first, then apply updates per board.
7. Preserve Continuity Across Conversations
- - On first message of a new conversation, resolve board location and load current state before proposing work.
- If no board exists, initialize from
board-template.md, register it in the index file, and continue.
Common Traps
- - Using one global board for all projects -> priorities and ownership become ambiguous.
- Renaming lanes without updating state mapping in the project rules file -> cards become unprocessable.
- Writing board updates without refreshing the index file -> next agent session cannot locate the board.
- Keeping tasks without IDs -> duplicate card updates and broken references.
- Marking work as done without log entry -> no audit trail for later sessions.
Security & Privacy
Data that stays local:
- - Board files and project registry in
~/kanban/ or {workspace}/.kanban/.
Data that leaves your machine:
This skill does NOT:
- - Make undeclared network requests.
- Modify files outside the selected Kanban scope.
- Invent board history when logs are missing.
Related Skills
Install with
clawhub install <slug> if user confirms:
- -
workflow - operational workflow design and execution loops - INLINECODE25 - project organization and cross-project governance
- INLINECODE26 - owner assignment and task handoff protocols
- INLINECODE27 - daily planning and task sequencing
Feedback
- - If useful: INLINECODE28
- Stay updated: INLINECODE29
设置
如果 ~/kanban/ 不存在或为空,则静默读取 setup.md,仅在用户确认后执行初始化。
使用时机
当用户需要一个可由智能体跨项目和对话维护的看板系统时,使用此技能。智能体应构建项目专属看板,记住每个看板的位置,并按照统一规则处理任务。
架构
数据存储在 ~/kanban/ 目录下。基础文件参考 memory-template.md,看板结构参考 board-template.md,项目路由参考 discovery-protocol.md。
~/kanban/
├── memory.md # 全局状态、集成、默认设置
├── index.md # 项目注册表与看板位置映射
├── templates/
│ └── board-template.md # 标准看板格式副本
└── projects/
└── {项目ID}/
├── board.md # 该项目当前看板
├── rules.md # 项目专属泳道与策略定义
├── log.md # 看板写入日志
└── archive/
可选的本地项目模式:
{工作空间}/.kanban/
├── board.md
├── rules.md
└── log.md
快速参考
根据当前任务使用最相关的文件。
memory-template.md |
| 看板架构与示例 | board-template.md |
| 各项目看板位置 | discovery-protocol.md |
| 卡片处理与更新规则 | processing-rules.md |
核心规则
1. 读写前先确定项目上下文
- - 每次对话开始时,执行 discovery-protocol.md 中的发现序列。
- 如果项目范围不明确,在写入前询问一次。
2. 持久化路由信息,确保任何智能体可继续操作
- - 保持看板索引文件更新,包含工作空间路径、项目别名和主看板路径。
- 每次成功写入后,更新项目条目的 last_used。
3. 允许自定义看板布局,但保留稳定核心架构
- - 用户可在项目规则文件中重命名泳道或添加自定义列。
- 每张卡片必须保留可解析的核心字段:id、title、state、priority、owner、updated。
4. 确定性处理卡片
- - 严格遵循 processing-rules.md 中的决策顺序进行优先级排序和移动。
- 不得跳过阻塞项、依赖项或明确的在制品限制。
5. 保持写入原子性并记录日志
- - 在同一操作周期内更新看板文件,并在项目日志中追加一行记录。
- 如果写入中途失败,报告部分状态而非声称成功。
6. 保持项目看板隔离
- - 未经用户明确意图,不得跨项目看板移动或编辑卡片。
- 对于跨项目请求,先制定计划,再按看板逐一应用更新。
7. 保持跨对话连续性
- - 在新对话的第一条消息中,先确定看板位置并加载当前状态,再提出工作建议。
- 如果看板不存在,从 board-template.md 初始化,在索引文件中注册,然后继续。
常见陷阱
- - 使用一个全局看板管理所有项目 -> 优先级和归属关系变得模糊。
- 重命名泳道但未更新项目规则文件中的状态映射 -> 卡片无法处理。
- 更新看板后未刷新索引文件 -> 下次智能体会话无法定位看板。
- 任务没有 ID -> 导致卡片重复更新和引用断裂。
- 标记工作完成但未记录日志 -> 后续会话无审计追踪。
安全与隐私
本地存储的数据:
- - ~/kanban/ 或 {工作空间}/.kanban/ 中的看板文件和项目注册表。
离开本机的数据:
此技能不会:
- - 发起未声明的网络请求。
- 修改选定看板范围之外的文件。
- 在日志缺失时编造看板历史。
相关技能
如果用户确认,使用 clawhub install 安装:
- - workflow - 操作工作流设计与执行循环
- projects - 项目组织与跨项目管理
- delegate - 负责人分配与任务交接协议
- daily-planner - 每日计划与任务排序
反馈
- - 如果觉得有用:clawhub star kanban
- 保持更新:clawhub sync