fix: flatten Claude skill installs (#2582)

Flatten managed Claude skill destinations, preserve user-owned conflicts, and migrate legacy nested installs through the lifecycle tooling.
This commit is contained in:
Affaan Mustafa 2026-07-26 03:20:06 -07:00 committed by GitHub
parent 71438391e8
commit f3afd59045
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 1620 additions and 119 deletions

View file

@ -375,6 +375,14 @@ npx ecc-install --profile minimal --target claude
This profile intentionally excludes `hooks-runtime`.
Claude manual installs place each skill directly under
`~/.claude/skills/<skill-name>/` (or `.claude/skills/<skill-name>/` for
`claude-project`) so Claude Code can discover it. When upgrading an older ECC
manual install, the installer migrates only nested `skills/ecc/` files recorded
in ECC install-state. If a flat skill directory is user-owned, ECC preserves it,
prints a conflict warning, and keeps any older managed copy tracked for a safe
uninstall instead of overwriting user files.
If you want the normal core profile but need hooks off, use:
```bash