git-guardrails-claude-code
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
Skill by Prince-Vince
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/prince-vince-git-guardrails-claude-code
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
git-guardrails-claude-code- Description
- 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.
- License
- unknown
- Instructions
- 92 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (3)
- SKILL.md
- openai.yaml · agents/
- block-dangerous-git.sh · scripts/
The license isn't open source, so the instructions aren't shown here. Read SKILL.md on GitHub
More from Prince-Vince/claude-skills
- 0.534score
codebase-design
Prince-Vince
Shared vocabulary for designing deep modules.
SkillAFreshness: AClaude Code +9 - 0.534score
domain-modeling
Prince-Vince
Build and sharpen a project's domain model.
SkillAFreshness: AClaude Code +9 - 0.466score
firecrawl
Prince-Vince
Web scraping, search, crawling, and page interaction via the Firecrawl CLI.
SkillCFreshness: CClaude Code +9 - 0.466score
firecrawl-browser
Prince-Vince
DEPRECATED — use scrape + interact instead.
SkillCFreshness: CClaude Code +9 - 0.445score
find-skills
Prince-Vince
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express…
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 13, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- License unknown
- Repository
- github.com/Prince-Vince/claude-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Prince-Vince
- 0.534score
codebase-design
Prince-Vince
Shared vocabulary for designing deep modules.
SkillAFreshness: AClaude Code +9 - 0.534score
domain-modeling
Prince-Vince
Build and sharpen a project's domain model.
SkillAFreshness: AClaude Code +9 - 0.466score
firecrawl
Prince-Vince
Web scraping, search, crawling, and page interaction via the Firecrawl CLI.
SkillCFreshness: CClaude Code +9 - 0.466score
firecrawl-browser
Prince-Vince
DEPRECATED — use scrape + interact instead.
SkillCFreshness: CClaude Code +9 - 0.445score
find-skills
Prince-Vince
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express…
SkillCFreshness: CClaude Code +9
Cite this page
git-guardrails-claude-code skill. Agent Mart. https://agentmart.dev/skills/prince-vince-git-guardrails-claude-code (last updated 2026-10-24)