/cross-harness-skills:releasefrom Cross Harness Skills
Cut and publish repository releases from a version argument such as /release X.Y.Z or a request to use $cross-harness-skills:release. Use when Codex is asked to run a release process, bump release-managed versions, create and merge a release PR, push a vX.Y.Z tag, write GitHub release notes for users, verify release automation, and confirm published artifacts or package registry entries. Start or continue a Codex goal for the release.
Ships in Cross Harness Skills. 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.
Read when SKILL.md points to them.
Run releases end to end for the current repository. A /release X.Y.Z invocation means publish vX.Y.Z, not just prepare a plan, unless the user explicitly asks only for release planning.
Make the release a Codex goal before doing release work when goal tools are available.
create_goal is available and there is no active goal, call it with: Cut <repo> vX.Y.Z, including version bump PR, merged code, annotated repo tag, GitHub release notes, release workflow verification, and artifact or package verification.update_plan.update_goal(status="complete") until the release evidence exists: merged PR or explicitly approved direct commit, pushed tag, successful release automation when applicable, GitHub release body/assets when applicable, and package/artifact verification when applicable.Normalize the argument first:
X.Y.Z and vX.Y.Z both mean VERSION=X.Y.Z and TAG=vX.Y.Z.Before editing:
AGENTS.md, CLAUDE.md, release docs, contributing docs, and workflow comments.release process, tag, GitHub release, package names, workflow names, and the previous version..github/workflows/, package manifests, changelog files, install docs, and any existing release scripts.gh auth statusgit fetch origin --prune --tagsgh repo view --json nameWithOwner,defaultBranchRef,urlgit tag --list "$TAG" returns nothing.gh release view "$TAG" fails with not found when the repo uses GitHub releases.Do release edits in a dedicated branch or worktree from fresh origin/<default-branch> unless the user explicitly says otherwise.
git fetch origin --prune --tags
git worktree add -b "codex/release-$TAG" "../worktrees/release-$TAG" origin/main
If the default branch is not main, substitute the value reported by gh repo view.
Gather changes since the previous stable release:
prev_tag="$(gh release list --limit 20 --json tagName,isDraft,isPrerelease -q '[.[] | select(.isDraft==false and .isPrerelease==false) | .tagName] | .[0]')"
git log --oneline --decorate "$prev_tag"..HEAD
gh pr list --state merged --base main --limit 50 --json number,title,url,mergedAt,body
Read PR bodies for user-visible changes. Release notes should explain what a user can do or what is fixed, not just repeat commit titles.
Prefer the repository's existing release or version-bump script. If no script exists, identify release-managed files from repository conventions before editing.
Common release-managed files include:
package.json, pyproject.toml, Cargo.toml, go.mod, gemspecs, or plugin manifests,After bumping, inspect the diff carefully:
VERSION.Always run the repository's cheapest high-signal checks first, then broaden according to release risk.
Baseline checks usually include:
git diff --check
Then run the repo's normal format, lint, type, build, and test commands from its docs or CI config. For package releases, also run the build command that produces the release artifact when feasible.
For stack-facing changes since the previous tag, run the repository's normal integration, end-to-end, smoke, or staging validation. If those checks require credentials or external systems that are not available, report the skipped check and the reason in the release PR.
Create a focused release commit:
git status --short
git add <release-managed-files>
git commit -m "chore(release): cut $TAG"
git push -u origin "codex/release-$TAG"
Open a ready-for-review PR to the default branch titled chore(release): cut $TAG. The PR body must include:
prev_tag,Wait for required checks. Merge only when checks pass or the user explicitly accepts the remaining risk. Use the repository's normal merge style, then fetch the default branch and verify the merge commit:
gh pr view <number> --json state,mergedAt,mergeCommit,url
git fetch origin <default-branch> --tags
git log --oneline -1 origin/<default-branch>
Stop before tagging if the PR is not merged into the default branch.
Tag the merge commit on the default branch with an annotated tag unless the repository's release process requires a different tag form:
merge_sha="$(gh pr view <number> --json mergeCommit -q .mergeCommit.oid)"
git tag -a "$TAG" "$merge_sha" -m "$TAG"
git push origin "$TAG"
If a tag-triggered workflow exists, wait for it and verify the result:
gh run list --event push --branch "$TAG" --limit 5
gh run watch <run-id> --exit-status
gh run view <run-id> --json status,conclusion,url,name,event,headBranch,headSha
If the repository uses manual release workflows, run only the documented dispatch command and record its inputs.
Edit the GitHub release body after release automation has finished uploading or generating assets, because automation can overwrite notes while assets are created.
Write for users:
Publish with:
gh release edit "$TAG" --notes-file /tmp/release-notes.md
Verify:
gh release view "$TAG" --json tagName,name,url,body,assets,publishedAt,targetCommitish
Verify every public output that the release claims to publish.
Examples:
npm view.For installable CLIs or libraries, run a smoke install in a clean temp environment when feasible and record the exact command and output.
Stop and report clearly if:
gh is unavailable or unauthenticated,If a tag has already been pushed, do not delete or recreate it without explicit user instruction.
End with concrete public evidence:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub eric-tramel/cross-harness-skills --plugin cross-harness-skills14 skills in this plugin
/author-prCreate ready-for-review pull requests on GitHub. Use when the branch is ready to open a PR; when the user asks to create, push, or open a PR; after local changes are committed; or when documenting user-facing features, bug fixes, performance optimizations, validation, changelog impact, or operational impact in a PR that follows repository conventions without AI attribution./code-reviewCoordinate a delegated full multi-persona code review for a PR or local change. Use when asked to review a PR, run review agents, get code review feedback, or iterate on review feedback using all CodeReview personas: elegance, idiom, correctness, completeness, security, YAGNI, and scope. Invoking this skill is an explicit request to launch reviewer subagents./code-review-agent-auditAudit and improve a code-review persona or review-coordinator skill using historical agent sessions. Use when asked to evaluate whether a review agent is useful, noisy, overreaching, missing meaningful findings, or to update a review skill or agent definition based on observed Moraine/session-history behavior./code-review-completenessReview a PR through the CodeReviewCompleteness persona. Use when asked to check whether a PR fully addresses the objectives it claims to address in its title, description, cited issue, PRD, epic, acceptance criteria, or linked discussion./code-review-correctnessReview a PR through the CodeReviewCorrectness persona. Use when asked to check whether the implementation does the job correctly, avoids bugs and regressions, preserves data and API contracts, handles relevant edge cases, and has tests that would catch the important failures./code-review-eleganceReview a PR through the CodeReviewElegance persona. Use when asked to review code for minimal design, architectural leverage, elegant abstractions, simplification, removing unnecessary moving parts, or finding the design move that sidesteps an entire class of problems.