mattpocock/skills
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.
What you’re adding
This skill may reference tools or services you need to set up separately. The package check shows the exact files; it does not install dependencies or run scripts.
3 files in the provider snapshot
agents/openai.yaml112 Bscripts/block-dangerous-git.sh507 BSKILL.md2,313 B
Snapshot inspected Sep 13, 2026. Adding uses a fresh GitHub revision and checks it separately.
Your vault, your checks
- 01Inspect the source
Review the exact revision, files and available capacity.
- 02Save a private Draft
Run your vault’s security scan and complete any required review.
- 03Use the approved version
Make it available through your existing agent connection.
Observed activity
All-time installs reported by skills.sh. Daily observations start when this catalog is first synchronized.
| Date | Installs | Rank |
|---|---|---|
| Sep 11, 2026 | 343,248 | #161 |
| Sep 13, 2026 | 350,219 | #157 |
| Sep 14, 2026 | 353,277 | #157 |
| Sep 15, 2026 | 357,548 | #148 |
| Sep 16, 2026 | 361,803 | #141 |
| Sep 17, 2026 | 366,097 | #138 |
| Sep 18, 2026 | 370,537 | #137 |