borghei/claude-skills/git-guardrails
Install a hook that blocks destructive git commands before an AI agent runs them. Use when an agent force-pushed or ran reset --hard, when adding git safety hooks, or when protecting main from agent pushes.
Agent skill · version 4.17.0 · from borghei/Claude-Skills
Install
npx yarkr-cli add skill:borghei/claude-skills/git-guardrailsWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:borghei/claude-skills/git-guardrails
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:borghei/claude-skills/git-guardrailsOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:borghei/claude-skills/git-guardrailsWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.