# soundsguyza/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.

- Author: Aluna Africa (https://app.skillsync.com/soundsguyza)
- Price: Free
- Version: 1

## Files

- SKILL.md (2312 bytes)
- agents/openai.yaml (112 bytes)
- scripts/block-dangerous-git.sh (507 bytes)

## How to use it

1. Connect the Skillsync MCP server: https://app.skillsync.com/mcp (OAuth sign-in).
2. Add it to your library: https://app.skillsync.com/soundsguyza/git-guardrails-claude-code
3. Load it with the get_skill tool: `get_skill("soundsguyza/git-guardrails-claude-code")`, then follow its instructions.
