Skip to content
All skills

CPR

Commit, push, and release in one fire-and-forget command

v1.2.0SkillRobin van Baalen/cpr:cprSource
/plugin install cpr@rvanbaalen

When to use

Use when you want to commit, push, review, and cut a release in a single command without babysitting the process. CPR runs the entire pipeline in a background agent — you keep working while it does the round trip and reports back. It never auto-triggers; you have to invoke it.

How it works

  1. Spawns one background agent carrying the full pipeline prompt and returns immediately
  2. The agent commits, pushes, reviews the pushed diff, and fixes blockers
  3. On main with release-please configured, it drives the release PR to a finished release
  4. Relays a summary when the pipeline completes

Pipeline steps

Commit — Reads git status, git diff, and recent log history. Groups related files into logical micro-commits with conventional messages matching the repo’s existing style. Never commits secrets, never uses --no-verify, never adds signature trailers.

Push — Pushes to the tracking remote, setting upstream for new branches. Pushing to main or master is allowed without confirmation.

Review & fix — Always runs. Computes a diff range (against the remote default branch on a feature branch, since the last release tag on main) and hands it to a review-only sub-agent that returns blockers, warnings, and nits with a PASS / FIX_REQUIRED verdict. Blockers get fixed, committed as fix(review): …, pushed, and re-reviewed — bounded to two passes total.

Release-please — Gated on three conditions: you’re on main/master, the repo has release-please config or workflow, and no blockers remain. Polls for the autorelease: pending PR, merges it directly or via auto-merge, then monitors the release workflow to completion.

Summary — Commits made, push result, review verdict per iteration with outstanding warnings and nits, release outcome, and any errors.

Invoke

/cpr:cpr