Skill · Agent workflows
git-guardrails-claude-code
Agent workflowsmcpso
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
Install
$
npx skills add mattpocock/skills --skill git-guardrails-claude-codeGeneric steps — the original listing is authoritative. Copy the command, run it where you keep agent skills, then confirm version and requirements in the original listing.
At a glance
- Published by mattpocock — listed by mcpso. Setup details live in the original listing.
Capabilities
Git
Auto-detected from the listing text — confirm in the original listing.
How to use
- Copy the Install command above.
- Run it where you keep agent skills.
- Confirm version and requirements in the original listing.
More in Agent workflows
- improve-codebase-architecture — Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whicheve
- caveman-compress — Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input token
- caveman-stats — Show real token usage and estimated savings for the current session.
- lark-doc — 飞书云文档(Docx / Wiki 文档):读取和编辑飞书文档内容。当用户给出文档 URL 或 token,或需要查看、创建、编辑文档、插入或下载文档图片附件时使用。文档中嵌入的电子表格、多维表格、画板,先用本 skil
- lark-drive — 飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、评论/权限/订阅、标题、版本和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、
- handoff — Compact the current conversation into a handoff document for another agent to pick up.
More from mattpocock
- grill-me — Get grilled on any topic
- grilling — Socratic grilling for deeper understanding
- grill-with-docs — Grilling grounded in your docs
- ask-matt — Ask questions via question-driven learning loops
← Back to Skills catalog · View original listing ↗
Outdated or wrong? Report this listing.