Back to Skills

finish-hotfix

verified

Complete and merge hotfix branch

View on GitHub

Marketplace

frad-dotclaude

FradSer/dotclaude

Plugin

gitflow

development

Repository

FradSer/dotclaude
203stars

gitflow/skills/finish-hotfix/SKILL.md

Last Verified

January 24, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/FradSer/dotclaude/blob/main/gitflow/skills/finish-hotfix/SKILL.md -a claude-code --skill finish-hotfix

Installation paths:

Claude
.claude/skills/finish-hotfix/
Powered by add-skill CLI

Instructions

## Your Task

1. **Load the `gitflow:gitflow-workflow` skill** using the `Skill` tool to access GitFlow workflow capabilities.
2. Gather context: current branch, git status, recent commits, version files.
3. Validate branch follows `hotfix/*` convention and working tree is clean.
4. Run tests if available and resolve any failures.
5. Normalize the provided version from `$ARGUMENTS` to `$HOTFIX_VERSION`:
   - Accept `v1.2.3` or `1.2.3`
   - Normalize to `1.2.3` (and tag as `v$HOTFIX_VERSION` when tagging)
6. Merge into the production branch (often `main`/`production`), create the version tag, then propagate the changes to the integration branch (often `develop`/`main`), and push all changes.
7. Delete the hotfix branch locally and remotely when appropriate.

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
759 chars