Skip to content
skillcellar
All skills

git-guardrails-claude-code

Indexed

设置 Claude Code 钩子,在危险 Git 命令(push、reset --hard、clean、branch -D 等)执行前将其拦截。当用户想要防止破坏性 Git 操作、添加 Git 安全钩子或在 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/devcxl/mattpocock-skills-zh --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.