Skip to content
Development
Command

/release

Create a tagged release with auto-generated release notes from recent commits.

From plugin
rohitg00-claude-code-toolkit
2.5k199 skills138 agents199 commands
Install
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/release

Context preview

What this command does when you run it.

Create a tagged release with auto-generated release notes from recent commits.

Command definition

release.md

Create a tagged release with auto-generated release notes from recent commits.

Steps

1. Run `git log --oneline $(git describe --tags --abbrev=0 2>/dev/null || git rev-list --max-parents=0 HEAD)..HEAD` to list commits since last tag. 2. Determine the next version number:

  • If `--major`, `--minor`, or `--patch` is specified, use that increment.
  • Otherwise, infer from commit types: `feat` = minor, `fix` = patch, breaking changes = major.

3. Group commits by type (features, fixes, chores, etc.) for the release notes. 4. Check for a `package.json`, `pyproject.toml`, or `Cargo.toml` and update the version field if present. 5. Stage version file changes and commit with `chore: bump version to vX.Y.Z`. 6. Create an annotated tag: `git tag -a vX.Y.Z -m "Release vX.Y.Z"`. 7. If `gh` CLI is available, create a GitHub release: `gh release create vX.Y.Z --generate-notes`. 8. Push the tag and commit: `git push origin HEAD --follow-tags`.

Format

## vX.Y.Z (YYYY-MM-DD)

### Features
- feat(scope): description

### Bug Fixes
- fix(scope): description

### Other Changes
- chore/refactor/docs entries

Rules

  • Never create a release on a dirty working tree; abort if uncommitted changes exist.
  • Always use semantic versioning (semver).
  • Confirm the version bump with the user before tagging.
  • Do not include merge commits or CI-only changes in release notes.
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

Get the whole plugin