← ClaudeAtlas

spec-checkpointlisted

Create a comprehensive checkpoint commit with detailed analysis of all changes. Use this skill when the user says "checkpoint", "commit everything", "save my progress", "create a commit", or wants to stage and commit all current changes with a well-crafted message. Also use when the user says "/spec-checkpoint" (or their host's equivalent invocation syntax) or asks to snapshot current work. This skill stages all changes and creates a descriptive commit — it does not push.
benjaminthomas/spec-driven-dev · ★ 1 · AI & Automation · score 72
Install: claude install-skill benjaminthomas/spec-driven-dev
# Checkpoint Commit Create a checkpoint commit that captures all current changes — but only after the code passes lint, type check, and build. ## Instructions ### Step 1: Analyze Changes Run these commands to understand the full picture: 1. `git status` — see all tracked and untracked files 2. `git diff` — see detailed changes in tracked files 3. `git diff --cached` — see already-staged changes 4. `git log -5 --oneline` — understand this repo's commit message style ### Step 2: Quality Checks Run all three checks. If any fail, fix the issues before proceeding — do not skip or ignore failures. 1. `npm run lint` — fix any lint errors 2. `npm run type-check` — fix any type errors (if the script doesn't exist, try `npx tsc --noEmit`) 3. `npm run build` — fix any build errors Iterate until all three pass cleanly. Only then move to the next step. ### Step 3: Stage Everything Stage all changes — tracked modifications, deletions, and new untracked files: ```bash git add -A ``` Then review `git status` again. If anything staged looks like it could hold secrets — `.env*`, `*.pem`, `*_rsa`, `credentials.json`, `secrets.*`, or an unfamiliar filename that might contain an API key — unstage it (`git restore --staged <file>`) and tell the user what was excluded and why, rather than committing it silently. Don't rely on the filename alone for anything you don't recognize; skim its diff if you're unsure. ### Step 4: Craft the Commit Message Write a commit message following the p