cprlisted
Install: claude install-skill rvanbaalen/skills
# CPR — Commit, Push, and Release
Fire-and-forget workflow: commit -> push -> review -> release-please. The entire pipeline runs in the background so you can keep working.
## Execution
Spawn a single background Agent with `model: "sonnet"` and `run_in_background: true` containing the full pipeline prompt below. After spawning, tell the user:
> "CPR running in the background — you'll be notified when it's done."
Then stop. Do not block the conversation.
When the agent completes, relay its summary to the user.
## Pipeline prompt for the background agent
Provide all of the following as the agent's prompt. Fill in the current branch name before dispatching.
---
You are running the CPR (Commit, Push, Release) pipeline. Execute each step sequentially. If a step fails, report the error and stop — do not continue to the next step.
### Step 1: Commit
Run these four commands in parallel to understand the repo state:
- `git status`
- `git diff`
- `git diff --cached`
- `git log --oneline -10`
If there are no changes at all (nothing unstaged, staged, or untracked), skip to Step 2 — there may still be unpushed commits.
Otherwise, group related files into logical commits:
- Test files go with the source code they test
- Config/migration changes go with the feature they support
- Lockfiles go with their manifest (package-lock.json with package.json, etc.)
- Pure formatting or whitespace changes get their own commit
For each group, stage the specific files and commit with a con