devcxl/skills-zh · Archived

git-guardrails-claude-code

设置 Claude Code hooks 在执行危险 git 命令(push、reset --hard、clean、branch -D 等)之前将其拦截。当用户想要防止破坏性 git 操作、添加 git 安全 hook、或在 Claude Code 中阻止 git push/reset 时使用。

First seen Jun 12, 2026

Installation

$ npx skills add https://github.com/devcxl/skills-zh

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from devcxl/skills-zh · top by installs.

npx skills add https://github.com/devcxl/skills-zh

Browse all from devcxl/skills-zh

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 339
License LICENSE
Default branch main
Open issues 0
Status Archived

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs