chaggle/dsh-powershell-check1

@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)模式。

パッケージ
@chaggle/dsh-powershell-check
バージョン
0.5.0
ライセンス
MIT
最終更新
2026/08/15

インストール

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

ドキュメント

README 全文を読む ↗

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–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