home/categories/git-workflows/freitasp1-claude-code-skills-skills-safe-git-guard-skill-md
git-workflowsdevops

safe-git-guard

Prevents destructive Git operations by requiring backup and confirmation. Blocks git reset --hard, git push --force on main, git clean -fd. Requires backup before git checkout, git reset, git rebase. Activate on any destructive git command.

freitasp1
maintainer
freitasp1
更新日 1/20/2026
スター
2
フォーク
1
quick start

Installation and usage

Prevents destructive Git operations by requiring backup and confirmation. Blocks git reset --hard, git push --force on main, git clean -fd. Requires backup before git checkout, git reset, git rebase. Activate on any destructive git command.

インストール
$ install --globalskills.sh
使い方

インストール後、ターミナルで以下のコマンドを実行してこのスキルを使用できます:

skills use safe-git-guard