安全加固社区 · Matt Pocock
308.7kgit-guardrails-claude-code
会修改 Claude Code 的 hooks 设置(项目级或全局),之后 Claude 将无法执行 git push 等被拦截的命令。为 Claude Code 配置 PreToolUse hook,在执行前拦截 git push、reset --hard 等危险命令。
扫描通过skills
所需权限:
- read-repo
- write-files
- shell
- network
MITClaude Code, Codex, Copilot, Gemini CLI
预览 SKILL.md