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.

nota-america Updated

File contents

nota-america/forgecat-agent-profiles/tree/main/profiles/mattpocock/skills/for-claude/.claude/skills/git-guardrails-claude-code commit b91b836323

Frequently asked questions

npx skillmds@latest add nota-america/git-guardrails-claude-code