CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

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.

91

1.19x
Quality

89%

Does it follow best practices?

Impact

100%

1.19x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is git-guardrails-claude-code in mattpocock/skills

SKILL.md
Quality
Evals
Security
Preview
This is a new way to view eval results. We're still working on it, so the layout may change.
RunTypeDateStatus

baseline vs usage-spec

With / without context

Completed
With / without context

Completed

Eval run

019cc472-ff9f-70fa-a175-954f91904468

Run

Stats are not available yet

The run is available. Its result stats will appear here when they are ready.

Repository

SnowingFox/ai-skills

Path

.cursor/skills/git-guardrails-claude-code/SKILL.md

Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.