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.
@@ -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.