← ClaudeAtlas

update-skillslisted

Pull the latest version of claude-scaffold-skill (and other installed skills) — shows the changelog, asks before applying, validates after.
veekunth217/claude-scaffold-skill · ★ 2 · Code & Development · score 74
Install: claude install-skill veekunth217/claude-scaffold-skill
# /update-skills — Refresh Installed Skills Keeps your `~/.claude/skills/` directory current. Pulls the latest commits from the upstream repo for `claude-scaffold-skill` and any other skills you've installed via `git clone`, shows you what changed, and waits for `GO` before applying. **RULE: Show every change before pulling. Wait for `GO` before running `git pull` on any skill.** --- ## Phase 1 — Detect Installed Skills Run silently: ```bash # Find all skill directories under ~/.claude/skills/ SKILLS_ROOT="$HOME/.claude/skills" [ ! -d "$SKILLS_ROOT" ] && echo "MISSING=true" && exit 0 # List skill folders that are git repositories (i.e. installed via git clone) for d in "$SKILLS_ROOT"/*/; do [ -d "$d/.git" ] || continue name=$(basename "$d") cd "$d" remote=$(git config --get remote.origin.url 2>/dev/null) branch=$(git rev-parse --abbrev-ref HEAD 2>/dev/null) ahead_behind=$(git fetch --quiet 2>/dev/null && git rev-list --count --left-right "$branch...origin/$branch" 2>/dev/null) echo "SKILL=$name|REMOTE=$remote|BRANCH=$branch|AHEAD_BEHIND=$ahead_behind" done ``` Parse the output into a table — for each skill, you now know: - name (folder) - remote URL - current branch - how many commits **behind** origin (number of new updates available) - how many commits **ahead** (your local edits, if any) --- ## Phase 2 — Show Update Summary Print this exact format: ``` ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ INSTALLED SKILLS — UPDATE STATUS ━━━━━━━━━━━━━━━━━━━━━━━━━