Skip to main content
Back to the directory
mattpocock/skillsSoftware EngineeringFrontend and Design

git-guardrails-claude-code

Intercept and block dangerous git commands before Claude executes them via PreToolUse hooks.

SkillJury keeps community verdicts, source metadata, and external repository signals in separate lanes so ranking data never pretends to be a review.

SkillJury verdict
Pending

No approved reviews yet

Would recommend
Pending

Waiting on enough review volume

Install signal
5

Weekly or total install activity from catalog data

Sign in to review
0 review requests
Install command
npx skills add https://github.com/mattpocock/skills --skill git-guardrails-claude-code
SkillJury does not have enough approved reviews to publish a community verdict yet. Source metadata and repository proof are still available above.
SkillJury Signal Summary

As of May 1, 2026, git-guardrails-claude-code has 5 weekly installs, 0 community reviews on SkillJury. Community votes currently stand at 0 upvotes and 0 downvotes. Source: mattpocock/skills. Canonical URL: https://skills.sh/mattpocock/skills/git-guardrails-claude-code.

Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Intercept and block dangerous git commands before Claude executes them via PreToolUse hooks. Sets up a PreToolUse hook that intercepts and blocks dangerous git commands before Claude executes them. When blocked, Claude sees a message telling it that it does not have authority to access these commands. Ask the user: install for this project only ( .claude/settings.json ) or all projects ( ~/.claude/settings.json )? The bundled script is at: scripts/block-dangerous-git.sh Copy it to the target location based on scope: Make it executable with chmod +x . Add to the appropriate settings file: Project ( .claude/settings.json ): Global ( ~/.claude/settings.json ): If the settings file already exists, merge the hook into existing hooks.PreToolUse array — don't overwrite other settings. Ask if user wants to add or remove any patterns from the blocked list. Edit the copied script accordingly.

Source description provided by the upstream listing. Community review signal and install context stay separate from this narrative layer.

Community reviews

Latest reviews

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does git-guardrails-claude-code do?

Intercept and block dangerous git commands before Claude executes them via PreToolUse hooks.

Is git-guardrails-claude-code good?

git-guardrails-claude-code does not have approved reviews yet, so SkillJury cannot publish a community verdict.

Which AI agents support git-guardrails-claude-code?

git-guardrails-claude-code currently lists compatibility with Claude Code, Skills CLI.

Is git-guardrails-claude-code safe to install?

git-guardrails-claude-code has been scanned by security audit providers tracked on SkillJury. Check the security audits section on this page for detailed results from Socket.dev and Snyk.

What are alternatives to git-guardrails-claude-code?

Skills in the same category include review-management, conversation-memory, coverage, grimoire-aave.

How do I install git-guardrails-claude-code?

Run the following command to install git-guardrails-claude-code: npx skills add https://github.com/mattpocock/skills --skill git-guardrails-claude-code

Related skills

More from mattpocock/skills

Related skills

Alternatives in Software Engineering