·dcg

Destructive Command Guard - 用於 Claude Code 的高性能 Rust 鉤子,可在執行前阻止危險命令。 SIMD 加速、模塊化包系統、白名單優先架構。代理工作流程的基本安全層。

6安裝·1熱度·@dicklesworthstone

安裝

$npx skills add https://github.com/dicklesworthstone/destructive_command_guard --skill dcg

SKILL.md

A high-performance Claude Code hook that intercepts and blocks destructive commands before they execute. Written in Rust with SIMD-accelerated filtering for sub-millisecond latency.

AI coding agents are powerful but fallible. They can accidentally run destructive commands:

DCG intercepts dangerous commands before execution and blocks them with a clear explanation, giving you a chance to stash your changes first.

Destructive Command Guard - 用於 Claude Code 的高性能 Rust 鉤子,可在執行前阻止危險命令。 SIMD 加速、模塊化包系統、白名單優先架構。代理工作流程的基本安全層。 來源:dicklesworthstone/destructive_command_guard。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/dicklesworthstone/destructive_command_guard --skill dcg
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 dcg?

Destructive Command Guard - 用於 Claude Code 的高性能 Rust 鉤子,可在執行前阻止危險命令。 SIMD 加速、模塊化包系統、白名單優先架構。代理工作流程的基本安全層。 來源:dicklesworthstone/destructive_command_guard。

如何安裝 dcg?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/dicklesworthstone/destructive_command_guard --skill dcg 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/dicklesworthstone/destructive_command_guard

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-01

相關 Skills

暫無