0002 — install.sh — deploy script #21
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?
What to build
Write
scripts/install.sh— an idempotent script that deploys this repo's content to~/.claude/and creates~/.agents/skills/as an empty directory. Running it once wires Claude Code to use this repo as its global config source. Running it again after pulling updates is safe.Deployment targets:
providers/claude-code/CLAUDE.md→~/.claude/CLAUDE.mdproviders/claude-code/settings.json→~/.claude/settings.jsoncore/→~/.claude/core/(full directory copy)~/.agents/skills/as an empty directoryAlways overwrites deployed files — editing deployed files directly is a usage error, not a conflict. Creates directories if they don't exist.
After writing the script, run it once and perform the manual smoke test.
Acceptance criteria
scripts/install.shexists and is executable~/.claude/CLAUDE.md,~/.claude/settings.json, and~/.claude/core/instructions/global.md~/.agents/skills/on disk~/.claude/core/).claude/skills/are untouchedBlocked by