/podbay:pb-release <x.y.z> [--from-step <k>] [--urgent <iid>] [--dry-run]from podbay
Drive the weekly Pod Bay release with its host - merged-MR list on develop, develop-head build and pb-ci, release verify (Feature Map, per-MR rows, regression set, page through the artifacts session), one release-prep MR into develop (CHANGELOG, user guide, website, version bump), the Draft release MR from develop into main, tag and GitLab Release drafts for the person who tags, deploy notes, Slack drafts. Asks for approval before each outward step. Use when the user starts or continues a release. Run as /podbay:pb-release.
Ships in podbay. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
One release, steps in order. Each step has a check; on a failed check, stop and report what failed and the suggested next step. A release brings develop into main through one Draft MR. Never merge, push to main or develop, create, move or delete a tag, create a GitLab Release, run deploy.sh, read a signing key, send a Slack message, or run cargo fmt/rustfmt. The release host (host: in .podbay/release.md) runs the weekly release and owns its steps; this skill works for the host. Human reference: the team's release playbook (playbook: in .podbay/release.md). Follow its steps and owners; where this skill and the playbook or the team's working agreements disagree, they win: say where they differ and follow them. Before every outward step (MR, page update), show what will be sent and ask for approval; one approval covers one step. --dry-run does every check and draft and sends nothing.
${CLAUDE_PLUGIN_ROOT}/reference/contract.md, ${CLAUDE_PLUGIN_ROOT}/reference/release-checklist.md (project values, rules, formats), ${CLAUDE_PLUGIN_ROOT}/reference/mr-checklist.md and .podbay/release.md. Set <repo>, <id>, <checkout>, <x.y.z>, the host and <prev> (the newest v* tag reachable from origin/main; if none, ask: on the first release after the move to develop, the last release tag may sit on an old release/* branch, and the host names it). Check the project's merge settings (glab api projects/<id>): merge_method must be merge and squash_option must be never or default_off, or the release and back-merge MRs may not stay merge commits; and default_branch must be main, or GitLab closes tickets at the develop merge (contract, Ticket status); otherwise stop and tell the host. Work in a worktree under the scratchpad. Keep state in .podbay/release/<x.y.z>/state.md (step, result, shas, links) and resume from it or from --from-step.${CLAUDE_PLUGIN_ROOT}/templates/release/slack-release-start.md into .podbay/release/<x.y.z>/slack-release-start.md. List the MRs merged into develop since <prev>: glab mr list -R <repo> --merged --target-branch develop --per-page 100 (merged after the <prev> tag date) and git log --first-parent --oneline <prev>..origin/develop. Check: both lists agree; report any difference. Then git log --oneline --no-merges origin/develop..origin/main must be empty: a commit there (an urgent fix) needs its back-merge MR into develop first (mr-checklist.md); stop and say so.origin/develop head, with CARGO_TARGET_DIR=$HOME/.cache/cargo-target/podbay: cargo build --locked, cargo test --locked, cargo clippy --locked -- -D warnings (no --all-targets). Then pb-ci (read ${CLAUDE_PLUGIN_ROOT}/skills/pb-ci/SKILL.md). Check: all pass, and the log's PBCI-HEAD sha= equals the head sha. Record it in state.md as the health head. Repeat this step after every fix merged into develop during the release.develop head from step 2, in this order, writing to .podbay/release/<x.y.z>/: (a) Feature Map: draft its update for this release (new and changed features from the step 1 MRs) in feature-map.md, and ask the artifacts session to apply it to the Feature Map (feature-map: in .podbay/release.md); a feature that fails in (b), or a No-go, the artifacts session takes it out of the Feature Map again. (b) Delivered MRs: check each step 1 MR on the release build (a Local build of this head through pb-run; single tickets through /podbay:pb-verify) and write one row per MR in verify.md: the change, how it was checked, pass/fail, evidence. (c) Regression set, results in verify.md: the UI tiers in ${CLAUDE_PLUGIN_ROOT}/skills/pb-verify/references/ui-tiers.md, tiers 1 to 3 yourself, without computer use (tier 2 diffs the screenshots against <prev>; tier 3 changes the desktop appearance only after the user agrees, and needs the Apple-events permission for System Events: without it, move the theme check to the person's tier 4 checklist and say so); then start, stop and resume a session; the queue; switch account; add account; Machines and Update to; Disk clean-up; workspace new and delete; Remote Control. Run these on macOS in both themes (light and dark), and on Linux through pb-ci (the step 2 log). Hand the user, or a computer-use session, only the rows you cannot run (the tier 4 checklist). A Local build cannot test Update to: mark it not run: Local build and check it on the installed build in step 9. (d) Page: write the page text from ${CLAUDE_PLUGIN_ROOT}/templates/release/verify-page.md into verify-page.md: the Go or No-go verdict on top, delivered features, verify and regression results, known issues, and links (release MR, Feature Map, CHANGELOG; the release MR and CHANGELOG links come in steps 6 and 4). Ask the artifacts session to publish it as Release Verify <x.y.z> on My desk (personal audience); this skill never makes an artifact. After approval, write the page URL to verify: in .podbay/release.md. Check: (a) to (d) done; every step 1 MR has a row; every regression row has pass, fail or a reason it did not run; a Go or No-go verdict with evidence; the page URL in verify:. Record the head that passed as <verify head> in state.md; only a rerun of this step changes it. No-go stops the release; a blocker is fixed by an MR into develop, then steps 2 and 3 run again.release-prep/<yyyy.mm.dd> (the release date) from origin/develop. Turn ## [Unreleased] into the ## [<x.y.z>] - <yyyy-mm-dd> section per release-checklist.md, "CHANGELOG format" (template ${CLAUDE_PLUGIN_ROOT}/templates/release/changelog-section.md), and add a new empty ## [Unreleased] above it. Every line must trace to a merged MR from step 1: add the MR link, add a line for a user-visible MR that has none, and remove a line with no merged MR; list the trace (line -> MR) in state.md, not in the file. After the step 5 MR merges, ask the artifacts session to add the link to the <x.y.z> CHANGELOG section on develop to the verify page.
4b. User guide, in the step 4 branch: go through the merged MRs from step 1, and for everything users see, update or add pages in docs/guide/*.md. Check that every button, menu and field name matches the app (read the code or a screenshot from step 3). Remove every "Coming in the next release" marker in docs/guide/ for a feature this release ships (grep -rni 'next release' docs/guide); keep a marker only for a feature that is not in develop. Rebuild the site as the repo's docs describe and look at the changed pages. If docs/guide/ does not exist, say so and skip. The guide changes once per release, here, not in feature MRs.
4c. Website, in the step 4 branch. If the repo has no site/, say so and skip. First, per page, tell hand-written parts apart from parts that deploy.sh or the site build fills in (read the build script and the repo's docs; list them in state.md); never edit a generated part. Then update the hand-written parts: (a) the release notes page: a new entry for <x.y.z> marked Latest (remove the mark from the previous entry), with the known issues from the ### Known issues group of the step 4 section (or "No known issues." when it has none), and a screenshot of each user-visible change (from step 3 or pb-verify; stored where the site keeps its images, never a generated folder); (b) the landing or download page: the "What's new" section, the version on the Download buttons, the installer file names, and feature texts this release changes; (c) hand-written site guide pages the release touches (guide pages built from docs/guide/ come from the step 4b rebuild; never edit their output). Then run grep -rnF '<prev without the v>' site/ and explain every hit that stays (a generated part, or history); then grep -nF '<x.y.z>' <landing page> must find the new version in each hand-written version spot. Use only design-system parts (contract, Design system first). Check each changed page at phone (390 px) and desktop (1280 px) widths, with screenshots in .podbay/release/<x.y.z>/site/. Every text states facts from the merged MRs only.version in Cargo.toml; in Cargo.lock only the version line of the podbay package; python3 tools/licenses/make_credits.py. Check: cargo build --locked and cargo test --locked credits_match_cargo_lock pass, and git diff --stat shows only CHANGELOG.md, Cargo.toml, Cargo.lock, assets/credits.json, docs/guide/, the site pages changed in step 4c and the files the site build writes. If the repo has site/: a release-prep MR whose hand-written release notes page has no Latest entry for <x.y.z> (skip this when step 4c listed that page as generated), or whose landing page does not show <x.y.z> in every hand-written version spot (an older version there that step 4c did not explain), is not ready. If the site build stamps the version from Cargo.toml, rebuild the site after the bump and run the step 4c greps again. Run pb-review on the branch with --base develop, then open this one release-prep MR into develop through pb-mr (from step 2, --target develop), with two changes: this skill's approval rule wins (show it and wait for a yes before the push), and it has no issue (skip the issue read; title Prepare release <x.y.z>, no Closes line). A person merges it (contract, Gate 2).glab mr view <iid> -R <repo>). git fetch, then rerun step 2 and tier 1 on the new develop head. Check: git log --oneline --no-merges origin/develop..origin/main is still empty (an urgent fix merged into main during the release needs its back-merge into develop first, then step 2 and tier 1 again; otherwise the release MR conflicts on the version). Check: git log --first-parent --oneline <verify head>..origin/develop shows only the release-prep MR and release fixes (list each); anything else came in after verify: stop and ask the host whether to rerun step 3 or wait. Record the head that passed as <release head>. Write the description: the MR list from step 1, the verify verdict with a short summary of the verify and regression results (no link: the page is personal), the <x.y.z> CHANGELOG section, and "Merge commit: do not tick Squash. Merge only while the source head is <release head>; if develop moved, ask the host first". After approval, open a Draft MR from develop into main: glab mr create -R <repo> --source-branch develop --target-branch main --title 'Release <x.y.z>' --description-file <file> --draft, with no --squash-before-merge and no --remove-source-branch (a merge commit; develop stays). Run publish-check.sh and private-ref-check.sh on the file first. A person merges it after the team agrees. Once it is open, ask the artifacts session to add its link to the verify page.glab mr view <iid> -R <repo> --output json (state merged) and take its merge_commit_sha. Check: git rev-parse <merge_commit_sha>^2 equals <release head>; if not, stop, list git log --oneline <release head>..<merge_commit_sha>^2 (code that was not built or verified) and ask the host; draft nothing until the team decides. Check: tag v<x.y.z> does not exist (git ls-remote --tags origin v<x.y.z>); if it does, stop. Draft, in .podbay/release/<x.y.z>/tag-and-release.md, for the person who tags (tagger: in .podbay/release.md): the annotated tag v<x.y.z> on the step 7 tag commit with message Pod Bay <x.y.z>, and the GitLab Release text: the deploy notes (step 8) on top of the CHANGELOG section, as {"name": "Pod Bay <x.y.z>", "tag_name": "v<x.y.z>", "description": <text>}; run publish-check.sh and private-ref-check.sh on it. The skill never creates, moves or deletes a tag and never creates the GitLab Release; whether a tag is ever moved is the team's decision, made by a person. A hotfix merged into main after the release MR merged and before the tag exists moves the tag to the new main head (team decision; same version, no bump, release-checklist.md Rules): instead of tagging the merge commit, check that git log --first-parent --oneline <merge_commit_sha>..origin/main lists only the hotfix MRs, each verified as in step 3 (b), then step 2 and tier 1 on that origin/main head (recorded in state.md), with its row added to the verify page through the artifacts session and its fix added to the CHANGELOG section, and that each has its back-merge MR into develop (mr-checklist.md); then draft the tag on that origin/main head. The tag commit (the merge commit, or that head) is the step 7 tag commit. After the tag exists, a fix is a new patch version through --urgent. Build links are added to the Release after the deploy, by a person. Then the tickets (contract, Ticket status): list the open issues still labelled On Dev (glab issue list -R <repo> --label 'On Dev' --per-page 100) whose MR is in this release: a Closes #<n> line of a step 1 MR, or, for each feat/<epic-name> MR in step 1, a Closes #<n> line of the MRs merged into that epic branch (glab mr list -R <repo> --merged --target-branch feat/<epic-name> --per-page 100), whose child tickets are On Dev and never auto-close. These did not auto-close. Show the list, and after the user's yes run glab issue close <n> -R <repo> for each; list the closed ones in state.md and the report. An On Dev issue whose MR is not in this release stays open; list it as a question. With --urgent, skip the ticket close: the urgent MR merged into main, so GitLab closed its tickets. Outside reports in this release (each issue in a Closes #<n> line of the step 1 MRs and the epic child MRs, whose glab issue view <n> -R <repo> --output json labels include a source:: label; ${CLAUDE_PLUGIN_ROOT}/reference/outside-reports.md), auto-closed or not, also get the comment Resolution: Fixed in <x.y.z>: ask once for these comments together with the close, and post Resolution: before glab issue close. With --urgent <iid>, read that MR's Closes #<n> lines instead of the step 1 list; With --urgent, ask for the comments on their own. Also list closed tickets with a source:: label and no reporter-notified (glab issue list -R <repo> --closed --label 'source::<x>' --per-page 100, for each source label) and ask about each. Draft one reply per reporter thread in .podbay/release/<x.y.z>/replies/: source::support for the user to send in the thread, source::dm for the person who got the DM, source::client and source::team for the user; the user decides where. After the sender says it went, add reporter-notified, the comment Notified: <date>, <link>, and the date in the Reporter block. With --urgent <iid> (an urgent fix merged into main, mr-checklist.md): after step 0, start here, after a short step 3 on that MR's head (its row as in (b), tier 1, the regression rows the fix touches, and the Release Verify <x.y.z> page through the artifacts session); <x.y.z> is the version that MR set, <release head> is that MR's head (sha in glab mr view), and instead of the ^2 check, git rev-parse <merge_commit_sha>^{tree} must equal <release head>^{tree}; then go on to steps 8 to 10.--notes (5 to 8 plain lines plus known issues) from ${CLAUDE_PLUGIN_ROOT}/templates/release/deploy-notes.md into .podbay/release/<x.y.z>/deploy-notes.txt, and the request from ${CLAUDE_PLUGIN_ROOT}/templates/release/slack-released.md, naming the deploy holder from .podbay/release.md. Check: the notes hold only facts from the CHANGELOG section, and, before the request is used, git ls-remote --tags origin v<x.y.z> shows the tag on the step 7 tag commit. The deploy holder runs deploy.sh from the tag; the skill never does.not run: Local build) and ask the artifacts session to update its row and the verdict on the verify page. If the repo has site/: after the deploy, open the live landing and release notes pages (from the downloads: URL in .podbay/release.md) and check that the version, the Download buttons and the installer file names match <x.y.z>; report a mismatch to the deploy holder. Then draft the post-deploy message from ${CLAUDE_PLUGIN_ROOT}/templates/release/slack-deployed.md. Show all drafts in .podbay/release/<x.y.z>/. Never send; the playbook says who posts them.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub thanhnguyen-agilityio/podbay-kit --plugin podbay14 skills in this plugin
/bootstrapSet up the current repo for the podbay plugin. Copies the template CLAUDE.md and the GitLab issue templates (Bug, Story) into the repo when missing, never overwrites, and excludes .podbay/ from git. Run as /podbay:bootstrap./pb-ciLocal CI for a Pod Bay checkout in Docker (GitLab has no runner) - build, clippy -D warnings, tests, the smoke test and mesh tests of the crates/ workspace at the current commit, log in .podbay/ci/<sha>.log, one-line summary. Linux only. Run as /podbay:pb-ci./pb-explain-mrExplain the Rust in an MR's diff to a TypeScript/C# developer and grow the glossary. Run as /podbay:pb-explain-mr./pb-fixFix an approved Pod Bay ticket end to end - branch, failing test first, fix, local gates, CHANGELOG, test build with step screenshots, isolated review, Draft MR through pb-mr. Several issue numbers (or open with filters) run a batch with one worker per issue and no approval stops. Run as /podbay:pb-fix./pb-kickoffRestart the team's standing Pod Bay sessions after a break - pull, check every session and machine, start the missing ones (after asking), give each its role, have each read back its role and top 3 rules, fix wrong read-backs, and report a table. For the orchestrator session. Run as /podbay:pb-kickoff./pb-mrPrepare and open a GitLab MR for the current Pod Bay branch - checklist, local gates, evidence, description - always as a Draft, into any target. Never merges, approves or marks ready. Run as /podbay:pb-mr.