Git Safety Guard

Blocks destructive git and filesystem commands before execution. Prevents accidental loss of uncommitted work from git checkout --, git reset --hard, rm -rf, and similar destructive operations. Works as a Claude Code PreToolUse hook with fail-open semantics.

majiayu000 Updated 567 repo stars

File contents

majiayu000/claude-skill-registry-data/tree/main/development/git-safety-guard-terraphim-codex-skills commit 447bc236c4

Frequently asked questions

npx skillmds@latest add majiayu000/git-safety-guard-2