Validate Branch Name
Hooks git 450
Validate Git Flow branch naming conventions before checkout. Ensures branches follow the pattern: feature/*, release/v*.*.*, hotfix/*. Prevents creation of branches that don't follow Git Flow standards.
npx claude-code-templates@latest --hook git/validate-branch-name claude-code — validate-branch-name
Content
JSON
{
"description": "Validate Git Flow branch naming conventions before checkout. Ensures branches fo..."
"hooks": {
"PreToolUse": [1 item]
}
}