← ClaudeAtlas

core-bootstraplisted

Bootstrap ~/.claude/ config, symlinks, and settings. Use with /core-bootstrap.
AirMile/claude-config · ★ 0 · AI & Automation · score 75
Install: claude install-skill AirMile/claude-config
# Core Bootstrap Skill **Trigger**: `/core-bootstrap` Bootstrap of the user-global Claude Code configuration. Deploys 4 user-files to `~/.claude/` and creates 4 global symlinks/junctions. Fully idempotent — running again skips anything already in place, so it is always safe to re-run after a `git pull` or on a new machine. To replace a deployed file, delete it manually first, then re-run. --- ## PHASE 0: Pre-flight Resolve `CONFIG_REPO` — the root of the cloned claude-config repo: ```bash # macOS/Linux — follow symlink of ~/.claude/skills if it already exists if [ -L "$HOME/.claude/skills" ]; then CONFIG_REPO="$(realpath "$HOME/.claude/skills/..")" else # Fallback: current working directory if it is the repo CONFIG_REPO="$(pwd)" fi ``` ```powershell # Windows if (Test-Path "$env:USERPROFILE\.claude\skills" -PathType Container) { $CONFIG_REPO = Split-Path (Resolve-Path "$env:USERPROFILE\.claude\skills") -Parent } else { $CONFIG_REPO = (Get-Location).Path } ``` Validate that `$CONFIG_REPO/local/` exists. If not: > `Cannot find local/. Run /core-bootstrap from the claude-config repo directory, or ensure ~/.claude/skills already symlinks to the repo.` Stop. Check `jq` availability (advisory only — does not stop execution): ```bash command -v jq >/dev/null 2>&1 || echo "warn: jq not found — settings overlay merge will be skipped if personal/settings.overlay.json is present" ``` ### Language selection Check whether `~/.claude/CLAUDE.md` already contains a `L