publish-release
Skill by netbox-community
Publishes a NetBox core release after its release PR has merged. It creates the GitHub release and tag, watches the PyPI publishing workflow, and verifies the package. It is for NetBox maintainers.
Install publish-release
Built from the published package, never by AI.
git clone --depth 1 https://github.com/netbox-community/netbox /tmp/netbox && mkdir -p ~/.claude/skills && cp -r /tmp/netbox/.claude/skills/publish-release ~/.claude/skills/publish-releaseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/netbox-community/netbox /tmp/netbox && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/netbox/.claude/skills/publish-release ~/.gemini/antigravity-cli/skills/publish-releaseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides a maintainer through publishing a NetBox core release after its "Release vX.Y.Z" pull request has merged. It follows the steps of the release checklist from confirming publishing prerequisites onward. Creating the GitHub release pushes the version tag, which starts the release workflow that publishes to PyPI.
The skill checks the merge, the release version, and the CI status for the release commit. It reads the protection rules of the pypi environment and stops if the approval gate is missing. It asks the user to confirm before any outward-facing action, reports the workflow jobs, checks the PyPI files, and smoke-tests the published wheel. It then closes the milestone and hands off the links. It is meant for NetBox maintainers who are asked to publish or ship a release.
Written from the project's SKILL.md and checked against it.
What it can do
- Verify the mergeChecks for a clean tree, the merged release PR, the version in release.yaml, and the CI run on the release commit.
- Check publishing prerequisitesReads the pypi environment approval rules and deployment branch policy without changing them.
- Create the releaseRenders release notes and creates the GitHub release and tag after the user confirms.
- Watch the publishing workflowReports the status of the release.yml build, verification, smoke test, and publish jobs.
- Verify the publicationChecks the pypi deployment record and lists the wheel and sdist PyPI reports for the version.
- Smoke-test the wheelInstalls the published netbox version from PyPI and runs the version and check commands.
- Close out the milestoneCloses the released milestone and can create the next patch milestone after user confirmation.
What you need
- GitHub CLI (gh) authenticated to netbox-community/netbox
- Git
- Python 3
- curl
- libpq-dev and a compiler for the wheel smoke test
Try asking
- Publish the NetBox release whose release PR has already merged.
- Check the pypi environment approval gate before we create the release tag.
- Watch the release.yml workflow after creating the vX.Y.Z tag.
Good to know
- Creating the release publishes to PyPI immediately, and uploaded files cannot be replaced.
- The PyPI trusted publisher configuration cannot be queried, so it is confirmed indirectly or by asking the user.
- The skill never approves deployments or re-runs the whole workflow; a colleague must approve.
- It applies to the NetBox core repository, not to plugins.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/publish-release/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
pypi-recovery.md4 KB
Alternatives to publish-release
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
publish-release: common questions
Does this skill publish to PyPI on its own?
Creating the GitHub release pushes the tag, which starts release.yml and publishes to PyPI. The skill asks the user to confirm before this step.
What happens if the pypi environment has no approval gate?
The skill stops and explains that the release would publish without approval. It asks whether to fix the environment first or proceed anyway.
Which commit does the release tag point to?
The tag targets the merge commit of the release PR, not the current main HEAD, so later commits are kept out of the release.
How do I install publish-release?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is publish-release free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is publish-release 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 publish-release?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
