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
Обновлено 1/10/2026
Звёзды
1
Форки
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.
Установка
$ install --globalskills.sh
Использование
После установки вы можете использовать этот skill, выполнив следующую команду в терминале:
skills use git-safety-guard