Edge Copy setup link
Skill evidence / Git Guardrails Claude Code

Git Guardrails Claude Code

Set up Claude Code hooks to block dangerous git commands (push.

mattpocock/skillspinned c55ee46
✓ Security state: reviewed

2 static scans, 0 counted findings.

Recorded for this package revision; Edge checks the exact bundle again when your agent loads it.

SKILL.md3 files · 2.9 KB
From mattpocock’s public repository. Edge did not write or edit this skill.

What this skill does for you

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.

Quoted from the skill description in the pinned source

Use it with Edge

Set up Edge for me: read getedge.cc/SKILL.md and follow it. Then use Edge to load the git-guardrails-claude-code skill from mattpocock/skills.

Paste it into Claude, ChatGPT, Codex or Cursor.

Or read the skill source first.

Try Git Guardrails Claude Code in your agent.

Set up Claude Code hooks to block dangerous git commands (push.