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 qhuang20
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/qhuang20-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
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/git-guardrails-claude-code
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
- 96 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- 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 qhuang20/shazam
- 0.449score
improve-codebase-architecture
qhuang20
Explore a codebase to find opportunities for architectural improvement, focusing on making the codebase more testable by deepening shallow modules.
SkillDFreshness: D★ 4Claude Code +9 - 0.449score
shazam-hub
qhuang20
Navigation hub for the Shazam plugin.
SkillDFreshness: D★ 4Claude Code +9 - 0.449score
prd-to-issues
qhuang20
Break a PRD into independently-grabbable GitHub issues using tracer-bullet vertical slices.
SkillDFreshness: D★ 4Claude Code +9 - 0.424score
design-an-interface
qhuang20
Generate multiple radically different interface designs for a module using parallel sub-agents.
SkillDFreshness: D★ 4Claude Code +9 - 0.251score
grill-me
qhuang20
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillDFreshness: D★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Apr 6, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- License unknown
- Repository
- github.com/qhuang20/shazam
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from qhuang20
- 0.449score
improve-codebase-architecture
qhuang20
Explore a codebase to find opportunities for architectural improvement, focusing on making the codebase more testable by deepening shallow modules.
SkillDFreshness: D★ 4Claude Code +9 - 0.449score
shazam-hub
qhuang20
Navigation hub for the Shazam plugin.
SkillDFreshness: D★ 4Claude Code +9 - 0.449score
prd-to-issues
qhuang20
Break a PRD into independently-grabbable GitHub issues using tracer-bullet vertical slices.
SkillDFreshness: D★ 4Claude Code +9 - 0.424score
design-an-interface
qhuang20
Generate multiple radically different interface designs for a module using parallel sub-agents.
SkillDFreshness: D★ 4Claude Code +9
Cite this page
git-guardrails-claude-code skill. Agent Mart. https://agentmart.dev/skills/qhuang20-git-guardrails-claude-code (last updated 2026-10-24)