chaggle/dsh-powershell-check ↗★ 4

@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. 适合在DSH中频繁运行PowerShell脚本,需要安全拦截和语法检查的用户。

Package
@chaggle/dsh-powershell-check
Compatibility
Unverified
Harness peer range
^0.1.0-rc.6
Cordis peer range
^4.0.1
Version
0.5.2
License
MIT
Last updated
Sep 10, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:chaggle/dsh-powershell-check

Configuration

KeyDefaultMeaning
modedenydeny blocks pwsh calls with blocking violations; warn logs and allows
langzhLanguage of deny reasons and warn logs: zh or en
analyzerbuiltinbuiltin: bundled R1–R19 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