chaggle/dsh-powershell-check ↗★ 1
@chaggle/dsh-powershell-check
DeepSeek Harness 原生插件,通过 pre-execute 拦截点根据《PowerShell 实战踩坑大全》校验 pwsh 工具调用,并打包 powershell-check 技能。
AI 分析
核心用途是拦截并校验 PowerShell 工具调用以防踩坑。适合频繁在 Windows/pwsh 环境下执行 AI 自动脚本的用户,可配置拦截(deny)或警告(warn)模式。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:chaggle/dsh-powershell-check说明文档
阅读完整 README ↗Configuration
| Key | Default | Meaning |
|---|---|---|
mode | deny | deny blocks pwsh calls with blocking violations; warn logs and allows |
lang | zh | Language of deny reasons and warn logs: zh or en |
analyzer | builtin | builtin: bundled R1–R17 rules only. psscriptanalyzer: additionally deep-checks every pwsh command with the official PSScriptAnalyzer (install the module on the host; degrades to builtin when missing). Error/ParseError findings deny, warnings are logged |