Bundle
dsh-git-guardrails
SQL 优化模式:EXPLAIN 分析、索引策略、N+1 解决、查询改写。受 wshobson/agents(38k★ MIT)启发。
- Source
- satan9394
- License
- MIT
- Updated
- Updated 5 days ago
Readme
# dsh-git-guardrails DSH(DeepSeek Harness)技能插件:**Git 安全护栏**。 拦截危险 git 命令(push/--force/reset --hard/clean -f/branch -D/checkout .)于执行前(PreToolUse 钩子)、项目级或全局安装、人工确认放行与安全替代命令。受 [mattpocock/skills](https://github.com/mattpocock/skills)(223k★ MIT)启发的中文原创精简版。 ## 安装 ```bash dsh plugin add dsh-git-guardrails ``` ## 触发方式 描述中包含"git 安全 / 防误推 / 防误清 / 危险 git 命令 / 安全钩子 / 保护工作区"等关键词时自动触发。 ## 能力 - 危险命令拦截清单 - PreToolUse 钩子安装(项目/全局) - 人工确认放行机制 - 安全替代命令(stash/普通 push) ## 许可 MIT
Install
dsh plugin --profile web add github:satan9394/dsh-git-guardrails
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-git-guardrails from the hub
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.