ai4kanban 0.4.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +144 -17
- package/bin/ai4kanban.mjs +344 -102
- package/dist/kanban.mjs +8363 -0
- package/package.json +15 -6
- package/skill/SKILL.md +0 -253
- package/skill/config.md +0 -32
- package/skill/kanban.mjs +0 -1670
- package/skill/references/add-task.md +0 -79
- package/skill/references/auto-refine.md +0 -32
- package/skill/references/document-feature.md +0 -31
- package/skill/references/local-ui.md +0 -34
- package/skill/references/module-map.md +0 -29
- package/skill/references/presets/indie-hacker.md +0 -24
- package/skill/references/presets/validate-on-reddit.md +0 -82
- package/skill/references/propose.md +0 -67
- package/skill/references/prune-memory.md +0 -29
- package/skill/references/recurring-task.md +0 -93
- package/skill/references/refine.md +0 -69
- package/skill/references/resolve.md +0 -56
- package/skill/references/update.md +0 -70
package/README.md
CHANGED
|
@@ -7,39 +7,165 @@ breaks the idea down, settles what it can on its own, asks you the rest, and kee
|
|
|
7
7
|
until the spec is clear enough to build. The board is plain Markdown in `docs/kanban/`,
|
|
8
8
|
versioned in git.
|
|
9
9
|
|
|
10
|
-
This package is the
|
|
10
|
+
This package is the command, the board's own bookkeeping, and the flows the agent works by.
|
|
11
|
+
The board is the product.
|
|
11
12
|
|
|
12
|
-
##
|
|
13
|
+
## Start with the board app
|
|
14
|
+
|
|
15
|
+
Most people never type any of this. The board comes as a desktop app —
|
|
16
|
+
<https://ai4kanban.dev/download>, nothing to install first: no Node, no npx, no terminal —
|
|
17
|
+
and setting a board up there is a guided first run: three questions, one to a screen, then
|
|
18
|
+
a **Finish setup** button that works down the rest. No build is signed yet, so macOS blocks
|
|
19
|
+
the first open: drag the app in from the `.dmg`, then click through the warning that it
|
|
20
|
+
cannot be checked.
|
|
21
|
+
|
|
22
|
+
What follows is the same board from a terminal — and the way to put an agent on a card
|
|
23
|
+
without a chat session and without a browser.
|
|
24
|
+
|
|
25
|
+
## Get the command
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm install -g ai4kanban
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
That puts `akb` on your path. Every example below also works as
|
|
32
|
+
`npx --yes ai4kanban@latest <command>` — the same command, fetched each time, if you would
|
|
33
|
+
rather not install anything.
|
|
34
|
+
|
|
35
|
+
## Install into a project
|
|
13
36
|
|
|
14
37
|
From your project root:
|
|
15
38
|
|
|
16
39
|
```bash
|
|
17
|
-
|
|
40
|
+
akb install --tracks feature,bug,research
|
|
18
41
|
```
|
|
19
42
|
|
|
20
|
-
That
|
|
21
|
-
`.
|
|
22
|
-
|
|
43
|
+
That scaffolds `docs/kanban/`: the track folders, the board index, the memory set, and a
|
|
44
|
+
blank `config.md`. Nothing is written outside that folder — that is the whole footprint.
|
|
45
|
+
|
|
46
|
+
Pass the tracks your project actually splits into. Normally you don't run this by hand —
|
|
47
|
+
you paste the install prompt from <https://ai4kanban.dev/INSTALL_PROMPT.txt> and your agent
|
|
48
|
+
reads the repo, picks the tracks, runs this command, and fills in the config afterwards.
|
|
23
49
|
|
|
24
|
-
|
|
50
|
+
## Drive the board from your coding agent
|
|
51
|
+
|
|
52
|
+
Optional, and separate from the board on purpose: a board works from the app on its own.
|
|
53
|
+
Add it when you want Claude Code or Codex to work the same board too.
|
|
25
54
|
|
|
26
55
|
```bash
|
|
27
|
-
|
|
56
|
+
akb skill # is it here, and how current
|
|
57
|
+
akb skill install # add it, or bring an older copy up to date
|
|
28
58
|
```
|
|
29
59
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
60
|
+
That writes one file into `.claude/skills/kanban/` (Claude Code) and
|
|
61
|
+
`.agents/skills/kanban/` (Codex): `SKILL.md`, a short note telling a coding agent the board
|
|
62
|
+
is here and that `akb` owns it. The board app does the same thing from a button:
|
|
63
|
+
**Configuration → Skill**.
|
|
64
|
+
|
|
65
|
+
Nothing else is copied in. The flows ship inside the command (`akb guide`), so a newer
|
|
66
|
+
command is newer flows in every project at once — and the command itself stays where npm put
|
|
67
|
+
it, so a project's git history never carries 350 kB of it. An agent that finds no `akb` on
|
|
68
|
+
the PATH runs `npx --yes ai4kanban@latest <command>` instead; the note says so.
|
|
33
69
|
|
|
34
70
|
## Update
|
|
35
71
|
|
|
72
|
+
Two lines, and there is no third:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
npm install -g ai4kanban@latest # a newer command
|
|
76
|
+
akb update # a repaired board, from the project root
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
`akb update` refreshes a skill folder that is already there — it never adds one, since not
|
|
80
|
+
having it is an ordinary state now — adds whatever an older release never wrote to the
|
|
81
|
+
board, clears out what it no longer writes, and prints which version you moved from and to
|
|
82
|
+
with a link to everything that changed in between. Your cards, config, and memory are never
|
|
83
|
+
touched.
|
|
84
|
+
|
|
85
|
+
It can't do the first line to itself — replacing the file that is running is how you get
|
|
86
|
+
half a command — so it checks npm and names that line when it is behind, rather than
|
|
87
|
+
reporting success a release late.
|
|
88
|
+
|
|
89
|
+
## Put an agent to work
|
|
90
|
+
|
|
91
|
+
`akb` starts the board's runs, watches them, and holds the settings they run under — so a
|
|
92
|
+
card can be built from a terminal, over ssh, or from a script, without a chat session and
|
|
93
|
+
without a browser.
|
|
94
|
+
|
|
36
95
|
```bash
|
|
37
|
-
|
|
96
|
+
akb implement 12 # build the card
|
|
97
|
+
akb refine 12 # sharpen it until it is ready to build
|
|
98
|
+
akb create "add dark mode" # write the card(s) for it
|
|
99
|
+
akb propose # write the next tasks
|
|
100
|
+
akb archive 12 # finish it
|
|
38
101
|
```
|
|
39
102
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
103
|
+
Add `--print` to any of them and nothing starts: it prints what to do instead, filled in
|
|
104
|
+
for this board — the card's own path, the steps it has left, the memory file its modules
|
|
105
|
+
point at, and the command that closes the job.
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
akb implement 12 --print # the steps, for whoever is asking
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
That is the mode for an agent already in a session: it does the job in the conversation
|
|
112
|
+
it is already in, rather than paying for a second agent to do the job it is sitting there
|
|
113
|
+
to do. Start a run when you want the work to happen on its own. `akb help runs` carries
|
|
114
|
+
the whole rule, beside the commands it applies to. An agent working inside a run the board
|
|
115
|
+
started always gets the printed flow, so a run can't spawn a copy of itself.
|
|
116
|
+
|
|
117
|
+
The run keeps working after the command returns. Watch it, or stop it, from anywhere —
|
|
118
|
+
including from the board app, which drives its buttons through these same commands:
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
akb runs # what is running, and what ran lately
|
|
122
|
+
akb log 3f2a1b04 --follow # watch a run as it goes
|
|
123
|
+
akb stop 3f2a1b04 # end one
|
|
124
|
+
akb resume 3f2a1b04 # continue one that failed
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Which agent runs them — Claude Code, Codex, Cursor or OpenCode — and what it is set to:
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
akb agent # what runs, and how it is set up
|
|
131
|
+
akb agent list # the agents it can run, and what each one takes
|
|
132
|
+
akb agent use codex
|
|
133
|
+
akb agent set model gpt-5.1-codex
|
|
134
|
+
akb agent set apiKey sk-… # saved to docs/kanban/.env, never shown back
|
|
135
|
+
akb agent test # one small chat, to see it works
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Runs use these settings, never what your shell happens to export. `akb help` lists
|
|
139
|
+
everything, and `--json` on any command answers a program instead of a person.
|
|
140
|
+
|
|
141
|
+
An API key is the one thing to leave to the user. Hand them the line rather than typing it
|
|
142
|
+
for them: a key an agent types lands in its transcript and in the shell history, and a
|
|
143
|
+
saved key is never read back.
|
|
144
|
+
|
|
145
|
+
## The manual
|
|
146
|
+
|
|
147
|
+
`akb help runs` is what a coding agent reads: every command it may call — the card work,
|
|
148
|
+
the runs, the agent settings — and when to call each. `akb board help` is the board's own
|
|
149
|
+
bookkeeping beneath it: ids, a card's fields, the index, the releases.
|
|
150
|
+
|
|
151
|
+
The flows are `akb guide`:
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
akb guide # every flow, one line each
|
|
155
|
+
akb guide board # how the board works: card format, layout, memory
|
|
156
|
+
akb guide refine # one card, vague to ready
|
|
157
|
+
akb guide plan-release # fill a release from its goal
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
A printed flow already carries the ones its action needs, in full, so this is for the
|
|
161
|
+
rest.
|
|
162
|
+
|
|
163
|
+
A run that writes or changes a card is followed by `akb refine` on that card, started as a
|
|
164
|
+
run of its own once the first one ends — so `akb create "…"`, `akb revise`, `akb resolve`,
|
|
165
|
+
`akb propose` and `akb plan-release` all come back with their cards refined. Archiving or
|
|
166
|
+
rejecting a card does the same for every card it was blocking that now has nothing left in
|
|
167
|
+
its way. Each one is an ordinary run: it shows in `akb runs`, has its own log, and
|
|
168
|
+
`akb stop` ends it.
|
|
43
169
|
|
|
44
170
|
## What it won't do
|
|
45
171
|
|
|
@@ -48,11 +174,12 @@ tasks — all of that needs a judgement call, so it stays the agent's job. When
|
|
|
48
174
|
hits something it can't decide, it prints it under **Needs your attention** and leaves it
|
|
49
175
|
alone.
|
|
50
176
|
|
|
51
|
-
|
|
177
|
+
`akb install`, `akb skill install` and `akb update` are all safe to run twice.
|
|
52
178
|
|
|
53
179
|
## Also
|
|
54
180
|
|
|
55
|
-
- The board UI: `npx ai4kanban-ui` — a local page over the same Markdown files.
|
|
56
181
|
- Source and docs: <https://github.com/ai4kanban/ai4kanban>
|
|
182
|
+
- `npx ai4kanban-ui` still serves the board in a browser, but that way is deprecated — the
|
|
183
|
+
app above is those same pages in a window.
|
|
57
184
|
|
|
58
185
|
Node 18+. No dependencies.
|