ai4kanban 0.4.1
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 +58 -0
- package/bin/ai4kanban.mjs +379 -0
- package/package.json +37 -0
- package/skill/SKILL.md +253 -0
- package/skill/config.md +32 -0
- package/skill/kanban.mjs +1670 -0
- package/skill/references/add-task.md +79 -0
- package/skill/references/auto-refine.md +32 -0
- package/skill/references/document-feature.md +31 -0
- package/skill/references/local-ui.md +34 -0
- package/skill/references/module-map.md +29 -0
- package/skill/references/presets/indie-hacker.md +24 -0
- package/skill/references/presets/validate-on-reddit.md +82 -0
- package/skill/references/propose.md +67 -0
- package/skill/references/prune-memory.md +29 -0
- package/skill/references/recurring-task.md +93 -0
- package/skill/references/refine.md +69 -0
- package/skill/references/resolve.md +56 -0
- package/skill/references/update.md +70 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Updating the skill
|
|
2
|
+
|
|
3
|
+
Pull a newer version of ai4kanban into a project that already has it. `${KB}` below
|
|
4
|
+
is the script invocation from SKILL.md's "The script" section.
|
|
5
|
+
|
|
6
|
+
**The one rule: `docs/kanban/` is yours; the skill folder (`SKILL.md`, `kanban.mjs`,
|
|
7
|
+
`references/`) is upstream's and gets overwritten wholesale. Never merge the two.**
|
|
8
|
+
|
|
9
|
+
## The command
|
|
10
|
+
|
|
11
|
+
Run this from the project root:
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
npx --yes ai4kanban@latest update
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
It does the whole mechanical part:
|
|
18
|
+
|
|
19
|
+
- overwrites every skill folder it finds — `.claude/skills/kanban/` (Claude Code) and
|
|
20
|
+
`.agents/skills/kanban/` (Codex) — with the new version, wholesale,
|
|
21
|
+
- adds what an older version never wrote: `config.md`, `modules.md`, a memory path for
|
|
22
|
+
every module on the map, the goal's `reviewed:` field,
|
|
23
|
+
- moves a memory set still sitting at the board root into `docs/kanban/memory/`,
|
|
24
|
+
- drops a leftover `docs/kanban/memory/<module>/goal.md` that says nothing the root goal
|
|
25
|
+
doesn't (the goal lives at `docs/kanban/memory/goal.md` only),
|
|
26
|
+
- rescues a filled-in `config.md` left inside an old skill folder to
|
|
27
|
+
`docs/kanban/config.md`,
|
|
28
|
+
- prints which version you moved from and to, with a link to everything that changed
|
|
29
|
+
between those two releases.
|
|
30
|
+
|
|
31
|
+
It is safe to run twice, and it never edits your cards, your config, or your memory.
|
|
32
|
+
|
|
33
|
+
## Then read what it printed
|
|
34
|
+
|
|
35
|
+
Anything the command can't decide comes back under **Needs your attention**. Each line is
|
|
36
|
+
yours to finish:
|
|
37
|
+
|
|
38
|
+
- **A new config setting.** Add that one line to `docs/kanban/config.md` and ask the user
|
|
39
|
+
only for the new value. Leave the rest of the config alone.
|
|
40
|
+
- **A blank `docs/kanban/modules.md`.** Write it per `references/module-map.md`, then run
|
|
41
|
+
the update command again so every module gets a memory path.
|
|
42
|
+
- **A per-module `goal.md` that says something the root goal doesn't.** Fold that line into
|
|
43
|
+
`docs/kanban/memory/goal.md`, then delete the module copy.
|
|
44
|
+
- **A `docs/kanban/config.from-skill.md`.** An old skill folder held a config that differs
|
|
45
|
+
from the board's. Fold anything worth keeping into `docs/kanban/config.md`, then delete it.
|
|
46
|
+
|
|
47
|
+
Leave the project-wide notes and the cards alone — don't move notes into the module paths,
|
|
48
|
+
and don't hand-add `modules:` lines to cards.
|
|
49
|
+
|
|
50
|
+
## Plugin install (skill lives in the plugin cache)
|
|
51
|
+
|
|
52
|
+
The plugin cache is read-only, so the skill comes from the marketplace instead:
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
/plugin marketplace update kanban
|
|
56
|
+
/plugin install kanban@kanban
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Then run `npx --yes ai4kanban@latest update` anyway — it repairs the board, which the
|
|
60
|
+
plugin never touches.
|
|
61
|
+
|
|
62
|
+
## Verify
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
${KB} peek
|
|
66
|
+
${KB} version
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Tell the user to review `git diff` before committing. The board UI needs no update —
|
|
70
|
+
`npx ai4kanban-ui@latest` picks up a new release.
|