git-guardrails-claude-code
Skill0 starsChanged 5 months agoNo licenceView on GitHub
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
- Deletes or force-pushes
- Commits and pushes
121 other projects use a version of this, 62 of them edited.
Adopted by
Most recently taken up by
- 5thlayer/skillworksedited, first seen Nov 8, 2026
- dfirmin/compassedited, first seen Nov 8, 2026
- op3616windows/skillsedited, first seen Nov 8, 2026
- kazemcodes/skill-treeword for word, first seen Nov 8, 2026
- itsryanarmani/skillsword for word, first seen Nov 8, 2026
- shkodnik1917/claude-brainlabedited, first seen Nov 8, 2026
Used with
Projects with it also use setup-ts-deep-modules, claude-handoff and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
liufeng1976Skillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 40 projects that use this
ryotaroh180105Skillclaude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
Also in 39 projects that use this
boyingliu01Skillbatch-grill-me
A relentless interview that asks every frontier question at once, round by round. Thin alias of `grilling` (#540) — upstream mattpocock/skills absorbed this protocol into grilling; XP-Gate keeps this name as the sprint-flow Phase 2 entry point so orchestration docs stay stable.
Also in 6 projects that use this
AWSSkillwizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
Also in 55 projects that use this
HK-hubSkillprd-to-plan
Turn a PRD into a multi-phase implementation plan using tracer-bullet vertical slices, saved as a local Markdown file in ./plans/. Use when user wants to break down a PRD, create an implementation plan, plan phases from a PRD, or mentions "tracer bullets".
Also in 8 projects that use this
Other versions121 projects use a version of this.
Word for word · 58
- amazingloft999-droid/mattpocock-skills★ 422100% same
- InditexTech/weavejs★ 266100% same
- loulanyue/skills★ 231100% same
- aurorasoft2/Matt_Pocock_Skills★ 133100% same
- VisualxIntelligence/mattpocok-skills★ 55100% same
- metrogg/AgentHub★ 19100% same
- panando/APIBypass★ 8100% same
- GAGAA-HUE/ASHUO-claude-skills★ 5100% same
- amit-t/skills★ 4100% same
- Roentek/Claude_Code_Boilerplate_Framework★ 4100% same
48 more not listed
Edited · 62
- mattpocock/skills★ 309k98% same
- vinvcn/mattpocock-skills-zh-CN★ 5.5k30% same
- devcxl/mattpocock-skills-zh★ 52228% same
- tt-a1i/matt-skills-with-to-goal★ 19298% same
- Tresnanda/kybern★ 8398% same
- shkodnik1917/claude-brainlab★ 3593% same
- Vepricov/claude-brainlab★ 3593% same
- VoDaiLocz/kilo-kit-mcp★ 2898% same
- WenWuZhiDao/mattpocock-skills-zh★ 2728% same
- chinkan/RustFox★ 1198% same
52 more not listed
Wrote their own version · 1
- chrislacey89/skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ask-mattSkill
- codebase-designSkill
- decision-mappingSkill
- design-an-interfaceSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- edit-articleSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- implementSkill
- improve-codebase-architectureSkill
- loop-meSkill
- migrate-to-shoehornSkill
- obsidian-vaultSkill
- prototypeSkill
- qaSkill
- request-refactor-planSkill
- resolving-merge-conflictsSkill
- reviewSkill
- scaffold-exercisesSkill
- setup-matt-pocock-skillsSkill
- setup-pre-commitSkill
- tddSkill
- teachSkill
- to-issuesSkill
- to-prdSkill
- triageSkill
- ubiquitous-languageSkill
- writing-beatsSkill
- writing-fragmentsSkill
- writing-great-skillsSkill
- writing-shapeSkill
- karpathy-guidelinesSkill
The file
We split this skill into the rules it gives an agent
7 rules. 5 are common, 0 are distinctive, and 2 are very specific to this project.
5
Common
Most of the 51 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.
“Common” is measured: kept by at least 6 in 10 of the 51 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

