skills/smithery.ai/dcg-safety

dcg-safety

Installation
SKILL.md

DCG Safety Guard

Replaces: git-safety-guard (deprecated)

DCG is a Rust-based safety hook that blocks dangerous commands before they execute.

What It Blocks

Git Operations

  • git reset --hard - Discards uncommitted changes
  • git checkout -- <files> - Discards file changes
  • git clean -f - Deletes untracked files
  • git push --force - Rewrites remote history
  • git branch -D - Force deletes branches
  • git stash drop/clear - Deletes stashed work

Filesystem Operations

  • rm -rf / or rm -rf ~ - Recursive delete of important paths
  • chmod -R 777 - Insecure permissions
Installs
1
First Seen
Apr 27, 2026
dcg-safety from smithery.ai