Git Guardrails Claude Code

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

akillness Updated 57 repo stars
Illustration of a modular skill library: a teal router selects a few skill cards and sends them to separate agent hosts

File contents

akillness/oh-my-skills commit eb2d50afa9

Frequently asked questions

npx get-skill add akillness/git-guardrails-claude-code-2