Git Guardrails for Claude Code

Get skill on GitHubRaw SKILL.md on GitHub

Opens the skill on GitHub

Source Matt Pocock

Installnpx skills add mattpocock/skills --skill git-guardrails-claude-code

Submit a skill

Overview

Adds Claude Code hooks that block dangerous Git commands before execution.

Use cases

Alternatives

  • Audit Firebase security rulesThis skill reviews the security rules for Firestore and Cloud Storage, looking for weak spots, red-team style. Its checklist covers privilege escalation, role bypasses, mismatched create and update logic, resource exhaustion, type checks, and size limits. Each rule set gets a score from 1 to 5.Coding agentFirebaseSecurity
  • Azure ComplianceRuns Azure compliance and security audits with azqr and checks Key Vault secret expiration.Coding agentSecurityInfra
  • Caveman CommitWrites Conventional Commit messages reduced to their essential intent.Coding agentGitMeta
  • Cloudflare OneDesigns and troubleshoots Cloudflare One Zero Trust and SASE deployments.Coding agentSecurityInfra
  • CodeQLRuns CodeQL static analysis with interprocedural dataflow and taint tracking across major languages.Coding agentSecurityTesting
  • Mutation TestingConfigures mutation-testing campaigns and investigates surviving mutants for test gaps.Coding agentTestingSecurity