release
What it does
This skill guides you through publishing a new version of a software project. It is for developers who want a consistent release process based on the rules already in their repository.
When to use it
- βWhen you are ready to publish a new version of your project.
- βWhen you want the agent to learn your version and CI rules before a release.
- βWhen your release workflow or CI configuration has changed and the saved rules need an update.
Skill link
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/release/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βLet's release version 2.4.0 of this project. Check our release rules first and guide me through each step.β
5 new skills a week. 1 minute to read.
How it works
The first time, the agent inspects the project files and CI setup to work out the release rules, then saves them in a rules file. On later runs it checks for changes and updates the rules when needed before guiding the release.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Release Skill
A thin, repo-aware release assistant. On first run it inspects the project and CI to derive release rules, stores them in .omc/RELEASE_RULE.md for future use, then walks you through a release using those rules.
Usage
/oh-my-claudecode:release [version]
versionis optional. If omitted the skill will ask. Acceptspatch,minor,major, or an explicit semver like2.4.0.- Add
--refreshto force re-analysis of the repo even when a cached rule file exists.
Execution Flow
Step 0 β Load or Build Release Rules
Check whether .omc/RELEASE_RULE.md exists.
If it does NOT exist (or --refresh was passed): Run the full repo analysis below and write the file.
If it DOES exist: Read the file. Then do a quick delta check β scan .github/workflows/ (or equivalent CI dirs: .circleci/, .travis.yml, Jenkinsfile, bitbucket-pipelines.yml, gitlab-ci.yml) for any modifications newer than the last-analyzed timestamp in the rule file. If relevant workflow files changed, re-run the analysis for those sections and update the file. Report what changed.
Step 1 β Repo Analysis (first run or --refresh)
Inspect the repo and answer the following. Write answers into .omc/RELEASE_RULE.md.
1a. Version Sources
- Locate all files that contain a version string matching the current version in
package.json/pyproject.toml/Cargo.toml/build.gradle/VERSIONfile / etc. - List each file and the field or regex pattern used to find the version.
- Detect whether there is a release automation script (e.g.
scripts/release.*,Makefile releasetarget,bump2version,release-it,semantic-release,changesets,goreleaser).
1b. Registry / Distribution
- npm (
package.jsonwithpublishConfigornpm publishin CI), PyPI (pyproject.toml+twine/flit), Cargo (Cargo.toml), Docker (Dockerfile+ push step), GitHub Packages, other. - Is there a CI step that publishes automatically on tag push? Which workflow file and job?
1c. Release Trigger
- Identify what starts the release: tag push (
v*), manual dispatch (workflow_dispatch), merge to main/master, a release branch merge, a commit message pattern.
1d. Test Gate
- Identify the test command and where it runs in CI.
- Are tests required to pass before publish? Note any bypass flags.
1e. Release Notes / Changelog
- Does a
CHANGELOG.mdorCHANGELOG.rstexist? - What convention is used: Keep a Changelog, Conventional Commits, GitHub auto-generated, none?
- Is there a release body file (e.g.
.github/release-body.md) committed pre-tag?
1f. First-Time User Check
- Does a release workflow exist in
.github/workflows/(or equivalent)? If not, flag this and offer to scaffold one. - Is there a
.gitignoreentry preventing build artifacts from being committed? If not, flag it. - Are git tags being used? Run
git tag --listto check. If no tags exist, flag and explain best practice.
Step 2 β Write .omc/RELEASE_RULE.md
Create or overwrite the file with this structure:
# Release Rules
<!-- last-analyzed: YYYY-MM-DDTHH:MM:SSZ -->
## Version Sources
<!-- list of files + patterns -->
## Release Trigger
<!-- what kicks off the release -->
## Test Gate
<!-- command + CI job name -->
## Registry / Distribution
<!-- npm, PyPI, Docker, etc. + CI job that publishes -->
## Release Notes Strategy
<!-- convention + files -->
## CI Workflow Files
<!-- paths to relevant workflow files -->
## First-Time Setup Gaps
<!-- any missing pieces found during analysis, or "none" -->
Step 3 β Determine Version
If the user provided a version argument, use it. Otherwise:
- Show the current version (from the primary version file).
- Show what
patch,minor, andmajorwould produce. - Ask the user which to use.
Validate the chosen version is a valid semver string.
Step 4 β Pre-Release Checklist
Present a checklist derived from the release rules. At minimum:
- All changes intended for this release are committed and pushed
- CI is green on the target branch
- Tests pass locally (run the test gate command)
- Version bump applied to all version source files
- Release notes / changelog prepared (see Step 5)
Ask the user to confirm before proceeding, or run each step if they say "go ahead".
Step 5 β Release Notes Guidance
Help the user write good release notes. Apply whichever convention the
FAQ
What version numbers can I use?
You can say patch, minor or major, or give an exact version such as 2.4.0. If you leave it out, the agent asks.
Can I force it to re-read the rules?
Yes. A refresh option makes it analyze the repository again even when a saved rules file exists.
Where are the release rules stored?
In a rules file inside the project's hidden settings folder, so they can be reused next time.
Details
Original description by the author
Generic release assistant β analyzes repo release rules, caches them in .omc/RELEASE_RULE.md, then guides the release
Popularity
- GitHub stars
- 41k
- Ranking position
- #7020
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-doc-discipline
41kTeaches your agent to write instructions that other AI agents can follow on their own, with rules that can be checked and a clear reason behind each.
ai-slop-cleaner
41kHelps your agent tidy up AI-written code that works but is bloated or repetitive, removing extra code without changing what it does.
architecture-survey
41kHelps your agent review a codebase's structure and list the parts that are getting hard to change, with evidence, without changing anything itself.
ask-navigator
41kHelps your agent turn a fuzzy project into a map of clear decision questions, then work through them one at a time until the path is clear.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.