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 Huazzi
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/huazzi-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 Huazzi/agents-profile
- 0.544score
graylog-diagnosis
Huazzi
使用已配置的只读 `graylog43-query-mcp`,结合本地源码和稳定关联锚点排查 Graylog 应用日志。适用于定位接口异常、异步任务卡住、消息投递/消费、回调失败、跨节点调用和状态未落库问题,以及按 traceId、requestId、业务 ID、消息 ID、精确 logger、source 或…
SkillBFreshness: B★ 1Claude Code +9 - 0.542score
feature-dev-code-architect
Huazzi
Read-only architecture role for feature-dev-codex.
SkillBFreshness: B★ 1Claude Code +9 - 0.542score
feature-dev-code-explorer
Huazzi
Read-only codebase exploration role for feature-dev-codex.
SkillBFreshness: B★ 1Claude Code +9 - 0.542score
feature-dev-code-reviewer
Huazzi
Read-only, defect-first post-implementation review role for feature-dev-codex.
SkillBFreshness: B★ 1Claude Code +9 - 0.542score
feature-dev-codex
Huazzi
Use this skill for medium or large feature work that needs a seven-phase lifecycle, independent subagent exploration, architecture, and review passes…
SkillBFreshness: B★ 1Claude Code +9 - 0.522score
code-simplifier
Huazzi
Use this skill when the user asks to simplify, refine, clean up, or make code more maintainable while preserving behavior.
SkillBFreshness: B★ 1Claude Code +9 - 0.517score
codebase-design
Huazzi
Shared vocabulary for designing deep modules.
SkillBFreshness: B★ 1Claude Code +9 - 0.517score
domain-modeling
Huazzi
Build and sharpen a project's domain model.
SkillBFreshness: B★ 1Claude Code +9 - 0.490score
design
claudekit
Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini or Atlas Cloud AI), corporate identity program (50…
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 27, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- License unknown
- Repository
- github.com/Huazzi/agents-profile
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.750score
git-guardrails-claude-code
mattpocock
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
SkillAFreshness: A★ 302.4KClaude Code +9 - 0.366score
git-guardrails-claude-code
chinkan
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
SkillAFreshness: A★ 10Claude Code +9 - 0.363score
git-guardrails-claude-code
Sarthib7
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
SkillAFreshness: A★ 10Claude Code +9 - 0.362score
git-guardrails-claude-code
dengmuming
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
SkillAFreshness: A★ 7Claude Code +9 - 0.361score
git-guardrails-claude-code
caterpi11ar
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
SkillAFreshness: A★ 8Claude Code +9 - 0.353score
git-guardrails-claude-code
tt-a1i
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
SkillBFreshness: B★ 187Claude Code +9 - 0.337score
git-guardrails-claude-code
fveracoechea
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
SkillAFreshness: A★ 1Claude Code +9 - 0.327score
git-guardrails-claude-code
Grindhead
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
SkillAFreshness: AClaude Code +9 - 0.327score
git-guardrails-claude-code
alexcamlo
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
SkillAFreshness: AClaude Code +9 - 0.327score
git-guardrails-claude-code
JacobStephens2
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
SkillAFreshness: AClaude Code +9 - 0.324score
git-guardrails-claude-code
Saifa-96
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
SkillAFreshness: AClaude Code +9 - 0.324score
git-guardrails-claude-code
arcdigital
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
SkillAFreshness: AClaude Code +9
More from Huazzi
- 0.544score
graylog-diagnosis
Huazzi
使用已配置的只读 `graylog43-query-mcp`,结合本地源码和稳定关联锚点排查 Graylog 应用日志。适用于定位接口异常、异步任务卡住、消息投递/消费、回调失败、跨节点调用和状态未落库问题,以及按 traceId、requestId、业务 ID、消息 ID、精确 logger、source 或…
SkillBFreshness: B★ 1Claude Code +9 - 0.542score
feature-dev-code-explorer
Huazzi
Read-only codebase exploration role for feature-dev-codex.
SkillBFreshness: B★ 1Claude Code +9 - 0.542score
feature-dev-code-architect
Huazzi
Read-only architecture role for feature-dev-codex.
SkillBFreshness: B★ 1Claude Code +9 - 0.542score
feature-dev-code-reviewer
Huazzi
Read-only, defect-first post-implementation review role for feature-dev-codex.
SkillBFreshness: B★ 1Claude Code +9 - 0.542score
feature-dev-codex
Huazzi
Use this skill for medium or large feature work that needs a seven-phase lifecycle, independent subagent exploration, architecture, and review passes…
SkillBFreshness: B★ 1Claude Code +9 - 0.522score
code-simplifier
Huazzi
Use this skill when the user asks to simplify, refine, clean up, or make code more maintainable while preserving behavior.
SkillBFreshness: B★ 1Claude Code +9
Cite this page
git-guardrails-claude-code skill. Agent Mart. https://agentmart.dev/skills/huazzi-git-guardrails-claude-code (last updated 2026-10-24)