← ClaudeAtlas

synclisted

Synchronize CLAUDE.md and README with recent code changes.
backspace-shmackspace/claude-devkit · ★ 15 · AI & Automation · score 76
Install: claude install-skill backspace-shmackspace/claude-devkit
# /sync Workflow ## Inputs - Scope: $ARGUMENTS (optional: "recent", "full") - `recent`: Last 5 commits (default) - `full`: Full codebase scan ## Output Rules - **Always print full absolute paths** for all artifact references (plan files, review files, audit logs). This makes paths clickable in terminals like Warp. Use the resolved `$PLANS_DIR` value, never relative paths. ## Role You are the **documentation coordinator**. You detect changes, delegate review to the librarian, and present diffs for user approval. You do NOT make documentation changes yourself — you coordinate the process. ## Step 1 — Detect changes **Resolve devkit paths (MUST be first action in Step 1):** Tool: `Bash` ```bash # --- Devkit Path Resolution --- DEVKIT_SCRIPTS="${CLAUDE_DEVKIT:-$HOME/.claude-devkit}/scripts" # Source path resolution helper if [ -f "$DEVKIT_SCRIPTS/resolve-project-dir.sh" ]; then . "$DEVKIT_SCRIPTS/resolve-project-dir.sh" DEVKIT_PROJECT_DIR_RESOLVED=$(resolve_devkit_project_dir) || { echo "Failed to resolve project directory" >&2; exit 1 } elif [ -n "${DEVKIT_PROJECT_DIR:-}" ]; then DEVKIT_PROJECT_DIR_RESOLVED="$DEVKIT_PROJECT_DIR" else echo "WARNING: devkit is not installed. Using deprecated .devkit/ fallback." >&2 DEVKIT_PROJECT_DIR_RESOLVED=".devkit" fi PLANS_DIR="$DEVKIT_PROJECT_DIR_RESOLVED/plans" mkdir -p "$PLANS_DIR" echo "Plans directory: $PLANS_DIR" ``` Tool: `Bash` (direct — coordinator does this) **Determine scope:** - If `$ARGUMENTS` is em