Home › Resources › AI Skills › git-guardrails-claude-code Skill 下载|危险 git 命令拦截
git-guardrails-claude-code Skill 下载|危险 git 命令拦截
Apps NEW

git-guardrails-claude-code Skill 下载|危险 git 命令拦截

Matt Pocock 出品 · MIT

Windows macOS Linux Open source v2026-12-02 commit fe3b143d
Updated 2026-12-03 · Total downloads 0
Downloads Sign in to the corresponding cloud drive account to save or download
Quark Drive
夸克网盘

给 Claude Code 配置钩子(hooks),在执行前拦下危险的 git 操作,比如 push、reset --hard、clean、branch -D 等。适合想防止误操作、给代码仓库加一道安全闸的场景。

Detailed description is currently available in Chinese only.

Details

给 Claude Code 配置钩子(hooks),在执行前拦下危险的 git 操作,比如 push、reset --hard、clean、branch -D 等。适合想防止误操作、给代码仓库加一道安全闸的场景。

它能帮你做什么

  • 危险 git 命令拦截
  • Claude Code 钩子配置
  • 自定义拦截范围
  • 配置后验证

怎么用

把这个 Skill 放到你的 Agent 技能目录(如 ~/.claude/skills/),在需要写作、任务规划、代码安全或网站 SEO 优化等日常工作时直接说明需求即可调用。

关键词

git安全,Claude Code,hooks,防误操作,代码仓库

常见问题

Q:能拦哪些命令?
A:默认覆盖 push、reset --hard、clean、branch -D 等破坏性操作,具体范围可按项目调整。

Q:配置后会直接生效吗?
A:需要按文档把钩子写进 settings 并验证一次,确认拦截规则生效。

完整许可文本、署名与来源见下载包内说明文件。本资源整理自互联网公开渠道,请自行核验后再使用。

Related keywords

We only index publicly available resource information. All rights belong to the original authors; please verify licensing before use. Contact us for takedown requests.

Similar resources

seo-technical Skill 下载|抓取与索引审查 NEW
Apps
seo-technical Skill 下载|抓取与索引审查

Agrici Daniel 出品 · MIT

Windows macOS Linux v2026-12-02 commit b209a097
1 2026-12-02
seo-sxo Skill 下载|搜索结果页类型分析 NEW
Apps
seo-sxo Skill 下载|搜索结果页类型分析

Agrici Daniel 出品 · MIT

Windows macOS Linux v2026-12-02 commit b209a097
1 2026-12-02
seo-sitemap Skill 下载|现有站点地图分析 NEW
Apps
seo-sitemap Skill 下载|现有站点地图分析

Agrici Daniel 出品 · MIT

Windows macOS Linux v2026-12-02 commit b209a097
1 2026-12-02
seo-schema Skill 下载|Schema 检测 NEW
Apps
seo-schema Skill 下载|Schema 检测

Agrici Daniel 出品 · MIT

Windows macOS Linux v2026-12-02 commit b209a097
1 2026-12-02
seo-programmatic Skill 下载|批量页面规划 NEW
Apps
seo-programmatic Skill 下载|批量页面规划

Agrici Daniel 出品 · MIT

Windows macOS Linux v2026-12-02 commit b209a097
1 2026-12-02

New arrivals

seo-plan Skill 下载|行业模板选用 NEW
Apps
seo-plan Skill 下载|行业模板选用

Agrici Daniel 出品 · MIT

Windows macOS Linux v2026-12-02 commit b209a097
1 2026-12-02
seo-page Skill 下载|单页整体审查 NEW
Apps
seo-page Skill 下载|单页整体审查

Agrici Daniel 出品 · MIT

Windows macOS Linux v2026-12-02 commit b209a097
1 2026-12-02
seo-local Skill 下载|商家资料审查 NEW
Apps
seo-local Skill 下载|商家资料审查

Agrici Daniel 出品 · MIT

Windows macOS Linux v2026-12-02 commit b209a097
1 2026-12-02

Popular

演示秋鸿楷 Slideqiuhong 免费商用字体包(1 个 TTF 14.23 MiB·单档毛笔楷) NEW
Resources
演示秋鸿楷 Slideqiuhong 免费商用字体包(1 个 TTF 14.23 MiB·单档毛笔楷)

演示字体系列里毛笔感最重的一款:GB2312 覆盖 6763/6763、实测字形 6971 个,单档 usWeightClass 400,GSUB 实测 0 项

Windows macOS Linux Android iOS vVersion 1.000
11 2026-11-13
Prisma v7 升级指南 Skill 下载|Prisma 升级到 v7 迁移指南 MIT NEW
Apps
Prisma v7 升级指南 Skill 下载|Prisma 升级到 v7 迁移指南 MIT

Prisma 官方 Prisma v7 升级指南,Prisma 升级到 v7 迁移指南

Windows macOS Linux v2026-11-09 commit a6f19295
11 2026-11-26

← Back to resources · AI Skills · Popular tools · AI Directory