Skip to main content

git-guardrails

Install a PreToolUse hook that blocks dangerous git commands before they execute — force pushes, hard resets, branch deletions, working-tree nukes, and more. Use this skill whenever the user asks to set up git safety rules, git guardrails, protect a repo from destructive git commands, or mentions wanting to prevent accidental git disasters. Also use when someone says "install git hooks", "block dangerous git", "safe git setup", or anything about preventing force push, hard reset, or accidental branch deletion in Claude Code.

Jump to install

Source facts

Repository
gal-Tab/sir_albert
Last source activity
June 7, 2026 at 09:41
Detected SKILL.md language
English
Stars
1
Forks
1

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.