
Git Guardrails Claude Code
by vinvcnbf98e53f9208No license4.6K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today
设置 Claude Code hooks,在危险 git commands(push、reset --hard、clean、branch -D 等)执行前阻止它们。适用于用户想防止破坏性 git 操作、添加 git safety hooks,或在 Claude Code 中阻止 git push/reset 时。
Only the file list is public. File contents are available once the skill is installed in a workspace.
| Path | Size | Type |
|---|---|---|
| agents/openai.yaml | 112 B | application/yaml |
| scripts/block-dangerous-git.sh | 507 B | text/plain |
| SKILL.md | 2.3 KB | text/markdown |
Source and attribution
Source:vinvcn/mattpocock-skills-zh-cninskills/misc/git-guardrails-claude-codeat commitbf98e53
License: No license
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from vinvcn/mattpocock-skills-zh-cn

Wayfinder
vinvcn
Plans large, foggy efforts as a shared map of decision tickets on an issue tracker, resolving them until the route is clear.

Triage
vinvcn
Triages project issues and external pull requests through a role-based state machine, producing agent-ready briefs.

To Tickets
vinvcn
Splits a plan, spec, or conversation into tracer-bullet tickets with blocking edges and publishes them to a tracker.

To Spec
vinvcn
Turns the current conversation into a spec document and publishes it to the project issue tracker.

Setup Matt Pocock Skills
vinvcn
Configures per-repository engineering skills setup: issue tracker, triage labels, and domain docs layout.

Resolving Merge Conflicts
vinvcn
Guides an agent through resolving an in-progress git merge or rebase conflict step by step.
More in Security

Kyc Rules
anthropics
Applies a firm's KYC/AML rules grid to a parsed onboarding record, scoring risk and routing outcomes.

Compliance Tracking
anthropics
Tracks compliance requirements, audit readiness, and evidence for frameworks such as SOC 2, ISO 27001, GDPR, HIPAA, and PCI DSS.

Dpop Adoption
Guides implementation of OAuth 2.0 DPoP (RFC 9449) sender-constrained refresh tokens for Google's OAuth platform.

Secops Triage
Guides SOC analysts through triaging Google SecOps security alerts, from investigation to closure or escalation.

Secops Investigate
Guides SOC analysts through deep security incident and entity investigations in Google SecOps using UDM queries and timelines.

Secops Hunt
Guides proactive threat hunting in Google SecOps using UDM queries, IoC lookback, prevalence and outlier analysis.