Back to Skills

start-hotfix

verified

Start new hotfix branch

View on GitHub

Marketplace

frad-dotclaude

FradSer/dotclaude

Plugin

gitflow

development

Repository

FradSer/dotclaude
203stars

gitflow/skills/start-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/start-hotfix/SKILL.md -a claude-code --skill start-hotfix

Installation paths:

Claude
.claude/skills/start-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, existing hotfix branches, latest tag, version files.
3. Normalize the provided hotfix name from `$ARGUMENTS` to `$HOTFIX_NAME` using the normalization procedure in `./references/naming-rules.md`.
4. Identify production base branch for the active workflow (usually `main` for Classic GitFlow, or `production` for GitLab Flow).
5. Create or resume `hotfix/$HOTFIX_NAME` from the production base branch.
6. Increment patch version (if the repo uses SemVer + tags) and update version files.
7. Push the branch to origin if newly created.

Validation Details

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