home/categories/git-workflows/stars-end-agent-skills-dcg-safety-skill-md
git-workflowsdevops

dcg-safety

Destructive Command Guard (DCG) safety hook for all AI coding agents. Rust-based PreToolUse hook that blocks dangerous git and filesystem commands. Use when agent attempts destructive operations, safety verification is needed, or when checking protection status across VMs. Keywords: safety, git reset, rm -rf, destructive, guard, hooks, protection

stars-end
maintainer
stars-end
اپ ڈیٹ ہوا 1/18/2026
اسٹارز
0
فورکس
0
quick start

Installation and usage

Destructive Command Guard (DCG) safety hook for all AI coding agents. Rust-based PreToolUse hook that blocks dangerous git and filesystem commands. Use when agent attempts destructive operations, safety verification is needed, or when checking protection status across VMs. Keywords: safety, git reset, rm -rf, destructive, guard, hooks, protection

انسٹالیشن
$ install --globalskills.sh
استعمال

انسٹال کرنے کے بعد، آپ یہ اسکل ٹرمینل میں درج ذیل کمانڈ چلا کر استعمال کر سکتے ہیں:

skills use dcg-safety