Add install.sh --force to repoint symlinks and document the worktree caveat #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
install.shskips a symlink that already points elsewhere(
install.sh:37), so there is no scripted way to repoint the~/.claude/{skills,agents,workflows}symlinks at a different checkout.Because the symlink target is the absolute path of the clone install was
first run from (
install.sh:19,44), a second checkout cannot take overthe live set, and
INSTALL.mddoes not warn about it.INSTALL.md:60("Symlinks pick up the changes automatically") holds onlyfor the single primary clone; it offers no worktree caveat. This compounds
the no-worktree rule recorded for this repo in
CLAUDE.md(#15).Changes:
install.shgains a--forceflag that repoints an existing symlinkpointing elsewhere (otherwise unchanged, still idempotent).
INSTALL.mddocuments that the plugin must be developed in the primaryclone (not a worktree), and that
--forcerepoints.Acceptance:
./install.sh --forcerepoints an existing divergent symlink; theno-flag run still skips it.
INSTALL.mdcarries the worktree caveat and the--forcenote.