@amit-t/skill-git-guardrails-claude-code
v1.0.1
Published
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.
Maintainers
Readme
@amit-t/skill-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.
Category: engineering
Install
npx @amit-t/skill-git-guardrails-claude-codeThis installs the skill to your Devin for Terminal global skills directory (~/.config/cognition/skills/git-guardrails-claude-code/).
Usage
Once installed, use in any Devin for Terminal session:
/git-guardrails-claude-codeWhat is this?
This is a Devin for Terminal skill — a reusable prompt/workflow that teaches the AI agent how to perform a specific task. Skills are defined as SKILL.md files and can be invoked by name.
Uninstall
rm -rf ~/.config/cognition/skills/git-guardrails-claude-code