From gitflow
Finalizes a release and merges it into main and develop with a tag using git-flow. This skill should be used when the user asks to "finish a release", "merge release branch", "complete release", "git flow release finish", or wants to finalize a release.
How this skill is triggered — by the user, by Claude, or both
Slash command
/gitflow:finish-releasehaikuThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Verify working tree is clean and current branch matches `release/*` per `${CLAUDE_PLUGIN_ROOT}/references/invariants.md`.
Verify working tree is clean and current branch matches release/* per ${CLAUDE_PLUGIN_ROOT}/references/invariants.md.
Goal: Determine release version from current branch or argument.
Actions:
$ARGUMENTS provided, use it as version (strip 'v' prefix if present)git branch --show-current (strip release/ prefix)Goal: Run tests before finishing.
Actions:
Goal: Generate changelog from commits.
Actions:
git tag --sort=-v:refname | head -1${CLAUDE_PLUGIN_ROOT}/references/changelog-generation.md${CLAUDE_PLUGIN_ROOT}/examples/changelog.mdchore: update changelog for v$VERSION with Co-Authored-By footerGoal: Complete release using git-flow-next CLI.
Actions:
git flow release finish $VERSION --tagname "v$VERSION" -m "Release v$VERSION"git branch --show-current (should be on develop)git push origin main develop --tagsGoal: Create GitHub release from existing tag.
Actions:
gh release create "v$VERSION" --title "v$VERSION" --notes "<changelog>" --verify-tagGoal: Ensure working branch is develop.
Actions:
git checkout developgit pull origin developgit branch --show-current (should output "develop")npx claudepluginhub rootial/dotclaude --plugin gitflowCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.