← ClaudeAtlas

core-updatelisted

Pull latest claude-config and rebuild ~/.claude/ files. Use with /core-update.
AirMile/claude-config · ★ 0 · Data & Documents · score 75
Install: claude install-skill AirMile/claude-config
# Core Update Pull the latest claude-config and rebuild the composed global files. **Trigger**: `/core-update` --- ## PHASE 0: Pre-flight Resolve `CONFIG_REPO` — same logic as core-bootstrap: ```bash # macOS/Linux if [ -L "$HOME/.claude/skills" ]; then CONFIG_REPO="$(realpath "$HOME/.claude/skills/..")" else echo "error: ~/.claude/skills symlink not found. Run /core-bootstrap first." && exit 1 fi ``` ```powershell # Windows if (Test-Path "$env:USERPROFILE\.claude\skills" -PathType Container) { $CONFIG_REPO = Split-Path (Resolve-Path "$env:USERPROFILE\.claude\skills") -Parent } else { Write-Error "~\.claude\skills junction not found. Run /core-bootstrap first." exit 1 } ``` Validate `$CONFIG_REPO` is a git repo: ```bash git -C "$CONFIG_REPO" rev-parse --git-dir >/dev/null 2>&1 || \ { echo "error: $CONFIG_REPO is not a git repository." && exit 1; } ``` Check `jq` availability (advisory only): ```bash command -v jq >/dev/null 2>&1 || echo "warn: jq not found — settings overlay merge will be skipped" ``` Check for active git operations (rebase/merge/cherry-pick): ```bash ls "$CONFIG_REPO/.git/rebase-merge" \ "$CONFIG_REPO/.git/rebase-apply" \ "$CONFIG_REPO/.git/MERGE_HEAD" \ "$CONFIG_REPO/.git/CHERRY_PICK_HEAD" 2>/dev/null ``` If any found → stop: > `Active git operation detected in claude-config repo. Resolve it first (git rebase --continue / --abort), then re-run /core-update.` Capture current `Language:` from `~/.claude/CLAUDE.md` before an