chaggle/dsh-powershell-check ↗★ 1
@chaggle/dsh-powershell-check
Native DeepSeek Harness plugin: gates every pwsh tool call against the PowerShell pitfalls from the blog post 'PowerShell 实战踩坑大全' via the official tools/pre-execute interception point, and bundles the powershell-check skill.
AI 분석
核心用途是拦截并校验 PowerShell 工具调用以防踩坑。适合频繁在 Windows/pwsh 环境下执行 AI 自动脚本的用户,可配置拦截(deny)或警告(warn)模式。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:chaggle/dsh-powershell-checkConfiguration
| 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 |