redpanda-data/ui-harness/git-guardrails-claude-code

Claude Code and agent skill by redpanda-data/ui-harness

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Install Claude hooks blocking dangerous git commands before execution.

Install

npx vskill@latest install redpanda-data/ui-harness/git-guardrails-claude-code

SKILL.md

The same SKILL.md was published earlier as redpanda-data/ui-harness/git-guardrails-claude-code.

Git Guardrails

Install PreToolUse Bash hook blocking dangerous git before Claude runs it.

Blocks: git push, git reset --hard, git clean -f/-fd, git branch -D, git checkout ., git restore ..

Steps

  1. Ask scope: project .claude/settings.json or global ~/.claude/settings.json.
  2. Copy bundled scripts/block-dangerous-git.sh to:
  • project: .claude/hooks/block-dangerous-git.sh
  • global: ~/.claude/hooks/block-dangerous-git.sh
  1. chmod +x hook.
  2. Add PreToolUse Bash command in chosen settings:
json
{"hooks":{"PreToolUse":[{"matcher":"Bash","hooks":[{"type":"command","command":".claude/hooks/block-dangerous-git.sh"}]}]}}
  1. Test with blocked command. Confirm hook denies.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
32
Repository forks
2
7-day trend score
17

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/redpanda-data/ui-harness/git-guardrails-claude-code/badge)](https://verified-skill.com/skills/redpanda-data/ui-harness/git-guardrails-claude-code)

Something wrong with this skill or its page? Tell us.