Agent Skills › Dicklesworthstone/destructive_command_guard

Dicklesworthstone/destructive_command_guard

GitHub

DCG是一个基于Rust的高性能Claude Code钩子,通过白名单优先架构拦截并阻止危险的Git和文件系统命令,防止AI代理误执行导致数据丢失或破坏。

1 个 Skill 5,845

安装全部 Skills

npx skills add Dicklesworthstone/destructive_command_guard --all -g -y
更多选项

预览集合内 Skills

npx skills add Dicklesworthstone/destructive_command_guard --list

集合内 Skills (1)

DCG是一个基于Rust的高性能Claude Code钩子,通过白名单优先架构拦截并阻止危险的Git和文件系统命令,防止AI代理误执行导致数据丢失或破坏。
AI代理准备执行git reset、rm -rf等高危命令时 需要保护本地工作区不被意外覆盖或删除时
npx skills add Dicklesworthstone/destructive_command_guard --skill dcg -g -y

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-29 00:33
浙ICP备14020137号-1 $访客地图$