← ClaudeAtlas

updatelisted

Use when the better-dev tool itself needs updating - "update better-dev", "is there an update", a session-start update or reonboard nudge naming /update, or after a git pull in the global clone to reconcile skill links and this repo's wiring.
yoelgal/agent-tools · ★ 1 · AI & Automation · score 65
Install: claude install-skill yoelgal/agent-tools
# /update - bring the tool and this repo current One verb, five steps, in order. The tool lives in one global clone every repo shares; this repo carries only its wiring. /update pulls the clone, reconciles what the pull changed, and tops up this repo when a release changed the repo surface. Two preconditions, checked first: - This repo has no `.better-dev/` - it was never wired. Point at `/onboard` and stamp nothing. - No installed clone resolves below - the tool is not installed for this host. Point at the install bootstrap (the README quick start / `BOOTSTRAP.md`) and stop. ## 1. Locate the clone and pull it ```bash setopt no_nomatch 2>/dev/null || true clone="${CLAUDE_PLUGIN_ROOT:-}" if [ -z "$clone" ]; then # fall back to reading a host skill symlink back to the clone for s in "$HOME"/.*/skills/onboard "$HOME"/.config/*/skills/onboard; do [ -L "$s" ] && clone="$(cd "$(dirname "$(readlink "$s")")/.." && pwd)" && break done fi if [ -n "$clone" ] && [ ! -d "$clone/skills" ] && [ -d "$clone/better-dev/skills" ]; then clone="$clone/better-dev" # pre-0.7.0 install: the tool moved one level down in the monorepo fi if [ -n "$clone" ] && [ -d "$clone/skills" ] && git -C "$clone" rev-parse --git-dir >/dev/null 2>&1; then # git -C "" acts on the cwd; pull only a resolved clone old="$(git -C "$clone" rev-parse HEAD)" git -C "$clone" pull --ff-only else echo "no better-dev clone found - install it first (see BOOTSTRAP.md)" >&2 fi ``` Since the 0.7.0 monor