Agent skill
release-pr
Create a release from merged feature changes. Bumps version, creates tag, pushes to main. Use after merge-back is complete and reviewed.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/release-pr
SKILL.md
Release PR
Creates a release from merged feature changes: bumps version, creates tag, and pushes to main.
What it does
- Validates you're on a
merge/*branch - Analyzes commits to auto-detect version bump (major/minor/patch)
- Bumps version in
package.json(if present) - Merges the merge branch into
main - Creates a git tag (e.g.,
v1.7.0) - Pushes main and the tag to the remote
Usage
/release-pr [patch|minor|major]
If no bump type is specified, it auto-detects based on conventional commits:
feat:commits -> minor bumpfix:commits -> patch bumpBREAKING CHANGEor!:-> major bump
How to execute
Must be run from the ORIGINAL project directory while on a merge/* branch.
bash .claude/skills/release-pr/scripts/release-pr.sh [patch|minor|major]
Important
- The version bump auto-detection uses conventional commit prefixes
- The tag is pushed to the remote, which may trigger CI/CD pipelines
- No
Co-Authored-Byheaders are added to any commit - Review the merge branch changes carefully before running this
- Requires
ghCLI to be installed for PR creation - You can override the auto-detected bump type by passing
patch,minor, ormajor
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?