Setup Git Guard banner
SomtoUgeh SomtoUgeh

Setup Git Guard

Git community

Description

--- name: setup-git-guard description: Install git safety guard hook at project or user scope argument-hint: "[project|user]" context: fork --- # Git Safety Guard Setup You are helping the user install the git safety guard hook. This hook blocks destructive git commands like `git reset --hard`, `git checkout --`, `rm -rf`, etc. ## Installation Scope The user wants to install at: **$ARGUMENTS** scope - **project**: Installs to `.claude/settings.json` - applies to this project only, can be sh

Installation

Installs to ~/.claude/skills/somtougeh-somto-dev-toolkit-setup-git-guard/SKILL.md

Terminal
mkdir -p ~/.claude/skills/somtougeh-somto-dev-toolkit-setup-git-guard && curl -fsSL https://raw.githubusercontent.com/SomtoUgeh/somto-dev-toolkit/HEAD/commands/setup-git-guard.md -o ~/.claude/skills/somtougeh-somto-dev-toolkit-setup-git-guard/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository