src/claude/skills/captain-release/SKILL.md
Captain-only. Quality-check, commit, push, create PR, and cut a release in one flow. The "code is ready" command for captain-owned branches. Every PR is a release. Formerly `/release` — v2 rename to captain-actor-verb.
npx skillsauth add the-agency-ai/the-agency captain-releaseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Captain's one-flow release command for captain-owned branches (captain-*). Runs quality-check → commit → push → create PR → version-bump → summary. Every PR is a release.
Name pattern: captain- actor prefix (captain-only), release verb. Grouped with captain-log, captain-review in the captain family.
When captain has staged coordination work (a framework fix, a refactor, a doc update) on a captain-* branch, that work needs to land as a PR with proper QG + release tagging + version bump. Without one cohesive command, each step gets skipped or done out of order. captain-release bundles the full flow.
Agents use a different path: /pr-submit → captain's /pr-captain-land. That's the agent-owned-work flow. captain-release is for captain-owned work (framework fixes, REFERENCE doc updates, captain-* coord artifacts).
Before proceeding, Read the files listed in required_reading: frontmatter.
/captain-release <commit description>
/captain-release --no-push <description>
/captain-release --no-pr <description>
/pr-prep or /quality-gate).git status + git diff --stat HEAD../agency/tools/post-merge-state check. If exit 1, STOP — a prior PR is in pending-post-merge state (merged but release not yet cut). Run /pr-captain-post-merge <pending-PR> first, then re-invoke this skill. A release cannot start while the last release is incomplete. Exit 0 → continue.Run ./agency/tools/commit-precheck. Verify formatting, linting, tests pass. If fails, stop and report.
Invoke /git-safe-commit with the commit description from <arguments>. Produces a commit on the captain-* branch.
--no-push)./agency/tools/git-push --force-with-lease <branch>.--no-pr and push happened)gh pr view <branch>../agency/tools/pr-create --title "..." --body "...".Never raw gh pr create. The pr-create tool validates a QGR receipt before allowing PR creation.
agency_version increment).agency/config/manifest.json: bump appropriate version field + updated_at./git-safe-commit --no-work-item../agency/tools/git-push <branch>.Release complete:
Committed: <commit-hash> <message>
Version: <old> → <new>
Pushed: origin/<branch>
PR: <url> (or skipped)
Post-merge: run /pr-captain-post-merge after PR merges on GitHub
/pr-prep to produce a receipt, retry./pr-captain-merge./pr-captain-post-merge after GitHub merges the PR./pr-submit → captain uses /pr-captain-land.paths: [] — no file-path auto-activation; universally discoverable for the captain but scoped out of worktree contexts.captain- — scope visible in listing.(Historically disable-model-invocation: true was a fourth layer. That flag was removed 2026-04-20 because the captain session IS the principal's session — DMI was blocking the captain from invoking captain-* skills. See REFERENCE-SKILL-CONVENTIONS.md §1.)
active (v2, refactored from legacy release 2026-04-19).
/pr-captain-merge — merge step after PR is reviewed/pr-captain-post-merge — release step after merge/pr-captain-land — alternative flow when landing agent-owned work/pr-prep — QG before this skill runs/git-safe-commit — underlying commit toolagency/tools/pr-create — underlying PR creation toolagency/tools/commit-precheck — QG precheckOFFENDERS WILL BE FED TO THE — CUTE — ATTACK KITTENS!
business
Sync worktree with master — merge, copy settings, run sandbox-sync, report changes
tools
List all git worktrees with status info (branch, clean/dirty, deps)
tools
Remove a git worktree and optionally delete its branch
development
Create a new git worktree with dedicated branch and bootstrapped dev environment