git-guardrails-claude-code

git-guardrails-claude-code is a Claude Code configuration skill for AI agents, published by vinvcn in the mattpocock-skills-zh-CN repository on GitHub. Skillspace rates git-guardrails-claude-code C (70/100) and it passed the safety scan; the rating is based on static analysis only.

设置 Claude Code hooks,在危险 git commands(push、reset --hard、clean、branch -D 等)执行前阻止它们。适用于用户想防止破坏性 git 操作、添加 git safety hooks,或在 Claude Code 中阻止 git push/reset 时。

Grade
C
Quality
70 / 100
Safety
Passed
GitHub stars
1,950

Unproven: rated by static analysis only, not yet compared head-to-head.

This rating describes the version of the repository we crawled; it may have changed since, so go by its current files.

Our review

Architecture
92 / 100
Maturity
Structured: ships references or scripts
Security scan
No issues found
License
MIT
Adoption
Adopted by 0 other repositories, in 0 collections
Scope
Vendor-specific: built around one product. Configures Claude Code hooks blocking dangerous git commands, any repo.

Not checked yet

  • Not judged on the rubric yet (not a contender in its category)
  • No blind task eval yet
  • Sibling files (scripts, references) not fetched; security scan covers SKILL.md only

Skillspace indexes and rates this skill; it does not host or endorse it. Run third-party skills at your own risk.