SkillAgentSearch skills...

git-guardrails-claude-code

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

Install / Use

npx skills add vinvcn/mattpocock-skills-zh-CN --skill git-guardrails-claude-code

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

87/100

Supported Platforms

Claude Code

Our assessment of git-guardrails-claude-code

git-guardrails-claude-code scores 87/100 on our quality scale, 1041st of 2,569 Development & Engineering skills we index (top 41%).

We have not analysed the SKILL.md file itself yet, so the content part of this score is an estimate until our crawler reaches it.

With 4,427 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Maintenance, license and trust

  • The repository was last updated 5 days ago, so git-guardrails-claude-code is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

git-guardrails-claude-code compared with similar skills

All 4 of these similar skills score higher than git-guardrails-claude-code; compare them before choosing.

SkillScoreStarsUpdatedFormat
git-guardrails-claude-code (this skill)by vinvcn874.4k5d agoSKILL.md
Agent-Reachby Panniantong10085.6k11d agoCLAUDE.md
ai-job-searchby MadsLorentzen10044.0k6d agoCLAUDE.md
claude-howtoby luongnv8910041.7ktodayCLAUDE.md
algorithmic-artby anthropics100177.9k4d agoSKILL.md

Frequently asked questions

How do I install git-guardrails-claude-code?
Run npx skills add vinvcn/mattpocock-skills-zh-CN --skill git-guardrails-claude-code. The install tabs above show the steps for each supported agent.
Which AI agents does git-guardrails-claude-code work with?
It is written for Claude Code, as a SKILL.md file. Other agents that read the same format can often use it too.
Is git-guardrails-claude-code safe to use?
It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is git-guardrails-claude-code still maintained?
The repository was last updated 5 days ago, so git-guardrails-claude-code is actively maintained.

Related Skills

View on GitHub
GitHub Stars4.4k
CategoryDevelopment
Updated5d ago
Forks357

Languages

JavaScript

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions