/cliban-flow:cliban-workflowfrom cliban-flow
Defines the cliban workflow contract: adapter binding, dispatcher surface, status mapping, artifact homes, and plan policy. Loaded by flow skills via requires_skills.
Ships in cliban-flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Policy, not mechanics. Commands, flags, and JSON shapes live in the
cliban:cliban skill — invoke it now if you have not; it does not load on
its own. If it is missing from your skills, say so rather than guessing at the
CLI.
A repo wired by setup-cliban carries docs/agents/issue-tracker.md. Read it
once per session before the first board action. It binds:
| Binding | Default without an adapter |
|---|---|
| Project key | repo basename matched case-insensitively against project ls; ask on miss |
| Key placement | issue keys live in dispatcher branches and commits — never in source, comments, tests, or docs |
| Workspace | isolated .worktrees/<git_branch_name> worktree |
| Implementer | general-purpose agent on the mid-tier coding model — Claude Code: model: sonnet — one plan task per dispatch |
| Verifier | general-purpose agent on the same mid-tier model, mechanical only: re-runs the gate, reads the range against the brief |
| Reviewer | general-purpose agent on the session model with complete-issue's review brief |
Wiring a new repo is setup-cliban's job; don't improvise a binding. If
cliban is missing from $PATH, skip all board actions silently this session.
Git-and-board transitions live in one executable: ../../scripts/cliban-flow
relative to this file (${CLAUDE_PLUGIN_ROOT}/scripts/cliban-flow under
Claude), abbreviated cliban-flow. Resolve that path before use; if it is
absent or not executable, stop and say so — there is no fallback.
Surface: milestone start, milestone status, milestone finish,
milestone abandon, ticket start, ticket status, ticket sync,
ticket ready, ticket integrate, ticket abandon. Invoke the subcommand
instead of recreating the git operation it owns. Exit 0 = success or an
affirmative verdict; 1 = a legitimate negative verdict with its next step;
2 = a refusal whose instruction must be followed before retrying.
Every agent in this suite is a one-shot delegate: brief in, deliverable
out, session over. Three layers, three lifetimes — the board is permanent, the
worktree lives for the assignment, the session is disposable. Work survives
because everything that matters leaves the session before it ends: commits to
the branch, findings to issue log, verdicts to the board, the report as the
final message.
## Files), reply never awaited. A delegate speaks once — its deliverable,
as board writes plus its return value. The return value reaches only its
dispatcher; the board reaches everyone, forever.Four waits present as diligence and deliver silence, so they are named: a
sleep (the harness backgrounds it — it waits zero seconds and burns the
turn), a read re-run to check whether a dispatch finished, a message to
another agent sent to await its reply, and a deliverable held for an approval
step. No approval step exists, and the only wake is a delegate completing —
every wait is shaped as that, or is not a wait.
| Workflow event | Board action |
|---|---|
| Work starts (standalone or dispatched) | ticket start KEY — claims, creates the workspace, moves to in-progress |
| Stuck on a dependency | mv KEY blocked --note "<why>" |
| Ticket ready (standalone or dispatched) | ticket ready KEY — records its immutable HEAD, moves to in-review |
| Merged | mv KEY done --note "merged as <sha>" |
| Ticket abandoned (human-confirmed) | ticket abandon KEY --confirm "<why>" |
| Milestone abandoned (human-confirmed) | milestone abandon NAME -p PROJECT --confirm "<why>" |
Move the ticket when the work moves, in the same breath. Linear bridge sync
stays a separate explicit action after lifecycle moves (cliban skill, Linear
bridge section).
Work-lifecycle artifacts go on the board; knowledge that outlives the work
goes in the repo. This supersedes any file-based storage another skill
describes — a plan or spec belongs in its issue, not in a docs/plans/ file.
| Artifact | Home |
|---|---|
| Spec / PRD | issue ## Spec (issue edit KEY --section spec) |
| Implementation plan | issue ## Plan (--section plan) |
| Progress, findings, dead ends | issue log |
| Durable reusable lessons | project ## Notes (project note add, search-first) |
| Blocking relationships | relations (--blocks/--blocked-by), never prose |
| ADRs, domain docs | the repo, git-tracked — never the board |
A plan is a set of dispatch briefs plus the seams between them: the planner
writes it, one implementer carries out one task, a verifier gates that task, and
judgment is bought only where the plan marked a seam. Whoever runs
complete-issue is the planner and stays on the session model; implementers and
verifiers are mid-tier. A planner writes only what it can name completely first
— a tiny ticket, one named review fix — and dispatches everything else.
Proportional to the work: a sentence and one task for small work; ordered
### Task N: headings with column-zero checkboxes for large. Freeform is valid;
lint/tick/promote are tools, not lifecycle gates. Name observable
outcomes, edge cases, the seam each task's tests observe, and the executable
evidence that will prove each claim. The end of the ticket is always a review
seam; a mid-ticket seam is worth its price only where a wrong foundation
compounds expensively.
| Stage | Skill | Lands |
|---|---|---|
| Design | explore-feature | a container carrying ## Spec |
| Slice | scope-milestone | tracer bullets with blocking edges |
| Report → ticket | triage-bug | a bug issue with a reproduction |
| Root cause | diagnose-issue | the proven cause in the activity log |
| Execute one | complete-issue | plan, work, proof, dispatcher start/ready |
| Execute many | complete-milestone | wave-ordered tickets on a milestone branch |
| Recover | recover-milestone | read-only diagnosis |
idea → explore-feature → scope-milestone ─┐
├→ complete-issue → (complete-milestone)
report → triage-bug → diagnose-issue ──┘
Working without them — plan mode, plain conversation — changes nothing about
the contract: create the issue with its ## Spec, ticket start KEY, write
and confirm a proportional plan without replacing the whole description, prove
the result with executable evidence, then ticket ready KEY.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/complete-issueTake one cliban issue from start through planning, work, proof, and handoff./complete-milestoneOrchestrate a cliban milestone end-to-end: one agent per ticket, dependency waves, isolated worktrees, integrated onto a milestone branch. Use when asked to run, drive, orchestrate, or complete a whole milestone./diagnose-issueFind and prove the root cause of a bug on a cliban ticket, logging the hypothesis ledger as you go. Use to diagnose, debug, or investigate something broken, throwing, failing, or slow that already has a ticket. Ends at a proven cause; complete-issue writes the fix./explore-featureExplore a rough feature idea into a shared design, landing a cliban container: one ticket or an empty milestone. Use before tickets exist, when the user wants to think a feature through or figure out what to build./recover-milestoneDiagnose an interrupted cliban milestone from its durable board and git state, then recommend the existing action that resumes it./scope-milestoneGrill a cliban ticket or milestone until every slicing decision is settled, then fill it with tracer-bullet tickets carrying native blocking edges. Use to scope, slice, ticket, or grill a feature — typically the container explore-feature just created.cliban-flow@lioralabs is listed by lioralabs/claude-plugins — review the source before installing
npx claudepluginhub lioralabs/claude-plugins --plugin cliban-flowOther plugins' skills for the same job