eli-ovops

Skill Git Guardrails Claude Code — Git skill for Claude Code

Git community

git-guardrails-claude-code:Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.

How to install Skill Git Guardrails Claude Code

This entry records only its repository, not the path inside it, so there is no exact command to give. Open eli-ovops/skill-git-guardrails-claude-code and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Skill Git Guardrails Claude Code does

git-guardrails-claude-code:Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute。

Alternatives in Git

  • Ws Reset — Reset the current branch to main, fetch upstream, and update submodules 38.1k ★
  • Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
  • Claude Code Safety Net — A Claude Code plugin that acts as a safety net, catching destructive git and filesystem commands before they e 1.2k ★

README

git-guardrails-claude-code · Agent Skill

git-guardrails-claude-code:Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute。

内容

本公开副本包含 3 个来源与许可文件;技能正文、脚本和参考文件按实际保留的包结构组织。

使用入口

先阅读 [`SKILL.md`](SKILL.md),确认依赖、数据去向和权限要求后再使用。发布过程没有安装或执行此技能。

来源与许可

  • 上游:mattpocock/skills
  • 上游技能入口
  • 上游许可证;类型:MIT。
  • 本地技能正文与该来源的非空行相似度为 98.6%,用于确认包的来源线索;本地修改仍可能存在。
  • 原许可证及署名保存在 LICENSE;新增发布介绍的许可单列在 LICENSE.publication-notes。
  • 包内另有来源的材料按其自身许可处理,未确认的嵌套复制目录仍保留在本地。

当前状态与验证边界

  • 已完成公开副本整理、来源依据核对和许可证补齐。
  • 未执行技能、安装依赖或验证实际提效,不将静态检查表述为运行验收。
  • 隐私、凭证、原始聊天及尚未确认可公开的材料没有纳入。
  • 来源文件与哈希清单