Skip to content
skillcellar
All skills

git-guardrails-claude-code

Indexed

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

Indexed automatically from public GitHub, not reviewed. This page shows what the skill’s SKILL.md says about itself and what the scan flagged in it. It cannot show that the skill is safe. Read its files on GitHub before you install it.

Install

install

$ npx skills add https://github.com/vinvcn/mattpocock-skills-zh-CN --skill git-guardrails-claude-code

The skills CLI downloads the skill from GitHub when you run the command, so what you get may have changed since the scan.

Scan

  • Destructive commandSKILL.md, line 13 · LowDiscards uncommitted changes for good.
  • Destructive commandSKILL.md, line 14 · LowDiscards uncommitted changes for good.

Copies

No other indexed repository has this exact folder.