release-candidate-prep
Skill by openai
Prepares a local Python SDK release candidate in a dedicated git worktree for a given version. It is a manual fallback that runs only when a user explicitly invokes it. It makes one local commit and never pushes or changes GitHub.
Install release-candidate-prep
Built from the published package, never by AI.
git clone --depth 1 https://github.com/openai/openai-agents-python /tmp/openai-agents-python && mkdir -p ~/.claude/skills && cp -r /tmp/openai-agents-python/.agents/skills/release-candidate-prep ~/.claude/skills/release-candidate-prepRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/openai/openai-agents-python /tmp/openai-agents-python && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/openai-agents-python/.agents/skills/release-candidate-prep ~/.gemini/antigravity-cli/skills/release-candidate-prepAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install release-candidate-prep in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
release-candidate-prep is a skill that prepares a local Python SDK release candidate. It runs only when a user explicitly invokes $release-candidate-prep with a semver version without a leading v, such as 0.20.1. It fetches origin/main, creates a dedicated detached worktree, and runs release-readiness gates there before creating a local release/v<version> branch.
The skill updates five release-owned files, including pyproject.toml, uv.lock, and the released API contract fixture, then makes one local commit. It never pushes, opens pull requests, adds labels, or runs gh. The source checkout stays on main, and the user owns the push and pull request. It is aimed at maintainers of the Python SDK who need a manual release candidate outside the GitHub Actions workflow.
Written from the project's SKILL.md and checked against it.
What it can do
- Preflight setupFetches origin/main and creates a detached release worktree at the exact refreshed base commit.
- Readiness gatesRuns the prospective packaged-contract check and a pre-release planning review before any branch is created.
- Candidate materializationUpdates the version in pyproject.toml, .release-please-manifest.json, and src/agents/version.py, then refreshes the API contract.
- Release diff reviewShows git status, diff checks, and the diff of the five release-owned files before staging.
- Local release commitCreates one local commit on release/v<version> in the dedicated worktree.
- Handoff reportProduces a copy-ready release pull request description from the final release review.
What you need
- A clean local checkout of the Python SDK repository on the main branch
- uv installed, since the commands use uv run
- make available to run the sync and check targets
- An explicit release version without a leading v
Try asking
- Prepare a release candidate for version 0.20.1 in a dedicated worktree.
- Run the readiness gates for release 0.21.0 before creating the branch.
- Show the release diff for my candidate so I can review it before pushing.
Good to know
- Runs only when explicitly invoked with a version. Not for normal Release Please releases.
- Never pushes, opens pull requests, creates releases, or runs gh.
- The user must push and open the pull request manually.
- Expects a clean source checkout on main and fails on unrelated local changes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/release-candidate-prep/SKILL.md, .agents/skills/release-candidate-prep/scripts/prepare.py, .agents/skills/release-candidate-prep/scripts/test_prepare.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md19 KB -
scripts/prepare.py22 KB -
scripts/test_prepare.py27 KB
Alternatives to release-candidate-prep
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
release-candidate-prep: common questions
When should I use release-candidate-prep instead of the GitHub Actions release workflow?
The skill is the manual fallback for the release workflow. Ordinary bot releases use the release-candidate workflow, and normal Release Please releases use $final-release-review instead.
Does release-candidate-prep push the release branch to GitHub?
No. It creates one local commit and stops after the final review and handoff. The user owns the push and the pull request creation.
Which files does the skill change?
It owns exactly pyproject.toml, uv.lock, .release-please-manifest.json, src/agents/version.py, and tests/fixtures/released_api_contract.json.
How do I install release-candidate-prep?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is release-candidate-prep free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is release-candidate-prep safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to release-candidate-prep?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
