Commit 95ca8de
committed
fix: register installed skills in boost.json during add-skill
When `boost:add-skill` downloads a community skill, it calls
`boost:update` to sync skills to agent directories. However,
`boost:update` checks `Config::hasSkills()` which reads the
`"skills"` key from `boost.json`. If the user never ran
`boost:install --skills`, this key doesn't exist, so the sync
is silently skipped — the skill sits in `.ai/skills/` but never
reaches `.claude/skills/`, `.cursor/skills/`, etc.
Fix: register the installed skill names in `boost.json`'s
`"skills"` array before calling `boost:update`, ensuring the
subsequent sync always runs.
Fixes #6201 parent e11c0d6 commit 95ca8de
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| 171 | + | |
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| |||
273 | 275 | | |
274 | 276 | | |
275 | 277 | | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
276 | 295 | | |
277 | 296 | | |
278 | 297 | | |
| |||
0 commit comments