git-workflowsdevops
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 Codex CLI PreToolUse hook with fail-open semantics.
maintainer
terraphim
Atualizado 1/10/2026
Estrelas
1
Forks
0
quick start
Installation and usage
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 Codex CLI PreToolUse hook with fail-open semantics.
Instalação
$ install --globalskills.sh
Uso
Depois de instalar, você pode usar esta skill executando o seguinte comando no terminal:
skills use git-safety-guard