Skip to main content

git-guardrails

Install a PreToolUse hook that blocks dangerous git commands before they execute — force pushes, hard resets, branch deletions, working-tree nukes, and more. Use this skill whenever the user asks to set up git safety rules, git guardrails, protect a repo from destructive git commands, or mentions wanting to prevent accidental git disasters. Also use when someone says "install git hooks", "block dangerous git", "safe git setup", or anything about preventing force push, hard reset, or accidental branch deletion in Claude Code.

跳到安装

来源信息

仓库
gal-Tab/sir_albert
最近来源活动
2026年6月7日 09:41
检测到的 SKILL.md 语言
英语
星标
1
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。