skills
Marketplace

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.

All-time installs370.5KObserved Sep 18, 2026
Trending · 24h4,498Observed Sep 18, 2026
Hot · last hour153Observed Sep 14, 2026

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 B
  • scripts/block-dangerous-git.sh507 B
  • SKILL.md2,313 B

Snapshot inspected Sep 13, 2026. Adding uses a fresh GitHub revision and checks it separately.

Your vault, your checks

  1. 01
    Inspect the source

    Review the exact revision, files and available capacity.

  2. 02
    Save a private Draft

    Run your vault’s security scan and complete any required review.

  3. 03
    Use 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.

DateInstallsRank
Sep 11, 2026343,248#161
Sep 13, 2026350,219#157
Sep 14, 2026353,277#157
Sep 15, 2026357,548#148
Sep 16, 2026361,803#141
Sep 17, 2026366,097#138
Sep 18, 2026370,537#137