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.

$ 설치

git clone https://github.com/terraphim/codex-skills /tmp/codex-skills && cp -r /tmp/codex-skills/skills/git-safety-guard ~/.claude/skills/codex-skills

// tip: Run this command in your terminal to install the skill