branch-guard

SKILLWorkflowCommunity
v0.0.0BK202503MITAktualisiert vor 5 TQuelle →

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 →
6Repo-Sterne
1Clients
1Formate
vor 5 TLetzte Aktualisierung
Skill
AutorBK202503
Version0.0.0
LizenzMIT
KategorieWorkflow
Formateskill.md
PromptNicht veröffentlicht
Kompatibilität
Claude✓ Unterstützt
Cursor
Copilot
ChatGPT
Gemini
Über

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

Schlagwörter
skillclaude