From gitflow
Finalizes a hotfix and merges it into main and develop using git-flow. This skill should be used when the user asks to "finish a hotfix", "merge hotfix branch", "complete hotfix", "git flow hotfix finish", or wants to finalize a hotfix.
How this skill is triggered — by the user, by Claude, or both
Slash command
/gitflow:finish-hotfixhaikuThis 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 `hotfix/*` per `${CLAUDE_PLUGIN_ROOT}/references/invariants.md`.
Verify working tree is clean and current branch matches hotfix/* per ${CLAUDE_PLUGIN_ROOT}/references/invariants.md.
Goal: Determine hotfix version from current branch or argument.
Actions:
$ARGUMENTS provided, use it as version (strip 'v' prefix if present)git branch --show-current (strip hotfix/ 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 hotfix using git-flow-next CLI.
Actions:
git flow hotfix finish $VERSION --tagname "v$VERSION" -m "Release v$VERSION"git branch --show-current (should be on develop)git push origin main develop --tagsnpx 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.