Skip to main content
Run any Skill in Manus
with one click

git-guardrails-claude-code

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

Overview

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

Install command
npx skills add https://github.com/toderian/project_template --skill git-guardrails-claude-code

Copy and paste this command into Claude Code to install the skill

Stars0
Forks0
UpdatedJune 3, 2026 at 21:38
SKILL.md
readonly