Create a one-shot Pi skill that writes kan, a command that wraps hugo new to
create kanban cards with minimal typing.
Owner:
Ivan Hawkes
Priority:
350
Estimated Time:4
Actual Time:0.25
Completion:
Create a one-shot Pi skill that writes kan, a command that wraps hugo new to
create kanban cards with minimal typing.
Requirements
- The skill is one-shot: its deliverable is the committed, buildable source of
kanincmd/kan/. - Implement
kanin Go; python3, Node 24, or bash are permitted only if Go is unsuitable. kantakes exactly two logical parameters: the card kind (full name, prefix, or prefix with dash) and the title (the remainder of the command line, 40 characters or fewer).kan <kind> <title>exits 0 and createscontent/kanban/<kind>/<prefix>-NNN-<slug>.md, where NNN is the next free serial number and slug is the lowercased, dash-separated title.- The skill builds the binary and installs it to
~/.local/bin/kanwith the execute bit set.
Acceptance Criteria
- Running
kan rq test-titlefrom the repo root createscontent/kanban/requests/rq-NNN-test-title.mdwith the kind’s front matter. ~/.local/bin/kanexists, is executable, and is on the PATH.
Notes
The skill may ask the user to clarify or disambiguate requirements before writing code.