#rust #ai_agents #cli #developer_tools #git #rust #safety
dcg is a high-performance security hook that blocks destructive commands (like `rm -rf` or `git reset --hard`) before AI coding agents execute them, protecting your work from accidental deletion across tools like Claude Code, Copilot, and Cursor. By installing dcg, you prevent catastrophic mistakes that could destroy hours of uncommitted code in seconds, while the tool offers zero-config protection, sub-millisecond speed, and clear suggestions for safer alternatives so you can work confidently without losing your progress.
https://github.com/Dicklesworthstone/destructive_command_guard
Post #15838
667