feat(FN-2393): auto-install bundled Fusion skill during init

- Add reusable skill-installation helper that targets Claude, Codex, and Gemini skill homes
- Wire bundled skill installation into fn init with per-client installed/skipped/warning logging
- Add init command tests for install success, preserving existing installs, and non-fatal warning behavior
- Document the new init behavior in CLI/getting-started docs and add a patch changeset for @runfusion/fusion
This commit is contained in:
Fusion
2026-04-24 04:35:05 -07:00
committed by gsxdsm
parent d0c82714e6
commit c105cfaff1
6 changed files with 216 additions and 0 deletions

View File

@@ -36,6 +36,16 @@ fn init
fn init --name my-project --path /absolute/path/to/project
```
During fresh initialization, Fusion also installs the bundled `fusion` skill into supported local agent homes when the target skill does not already exist:
- `~/.claude/skills/fusion`
- `~/.codex/skills/fusion`
- `~/.gemini/skills/fusion`
`fn init` is non-destructive for these installs:
- Existing `fusion` skill directories are preserved (not overwritten).
- Per-target filesystem/permission failures are reported as warnings and do not fail project initialization.
---
## `fn dashboard`