branch-guard

SKILLWorkflowcommunauté
v0.0.0BK202503MITMis à jour il y a 5 jSource →

Enforce "never write on main/master/trunk". Backing PreToolUse hook blocks Write/Edit/MultiEdit/NotebookEdit when HEAD is on a protected branch, aborting with exit 2. This skill documents the rule and provides the "branch off and continue" recipe Claude should reach for whenever the guard fires or w

Community-submitted skill. Not yet reviewed by the Forge team. Full prompt content may not be available.Request review →
6Étoiles du dépôt
1Clients
1Formats
il y a 5 jDernière mise à jour
Skill
AuteurBK202503
Version0.0.0
LicenceMIT
CatégorieWorkflow
Formatsskill.md
PromptNon publié
Compatibilité
Claude✓ Pris en charge
Cursor
Copilot
ChatGPT
Gemini
À propos

Enforce "never write on main/master/trunk". Backing PreToolUse hook blocks Write/Edit/MultiEdit/NotebookEdit when HEAD is on a protected branch, aborting with exit 2. This skill documents the rule and provides the "branch off and continue" recipe Claude should reach for whenever the guard fires or whenever a task begins on a protected branch. Auto-trigger when the guard blocks a write, when the us

Mots-clés
skillclaude