dsh-powershell-check
Run the following command in DeepSeek Harness:
dsh plugin install chaggle/dsh-powershell-check
Paste the following prompt into your AI chat to install this plugin:
Install this plugin in DeepSeek Harness by running dsh plugin install chaggle/dsh-powershell-check, or get the source from the GitHub repository at https://github.com/chaggle/dsh-powershell-check.
About this plugin
Developers working with PowerShell scripts often encounter execution failures or data corruption due to pitfalls like console encoding, variable parsing, and syntax compatibility. The dsh-powershell-check plugin is designed to address these issues by performing automatic static checks before every PowerShell tool call, intercepting and blocking common encoding and syntax errors while providing fix suggestions. It includes a rule library based on key pitfalls documented in the blog 'PowerShell实战踩坑大全', covering aspects from variable scoping to cross-platform compatibility, ensuring secure and reliable script execution.
Core capabilities include real-time gate interception, bilingual support (English and Chinese), a bundled powershell-check skill, and self-testing functionality to verify rule completeness. With a unified rule engine, the plugin operates both as a background guardian and via CLI for easy integration into development workflows. Whether you're an operations engineer or a script developer, this plugin helps you avoid common mistakes and improve PowerShell code quality, making it particularly suitable for teams using the DeepSeek Harness environment or those frequently invoking PowerShell.
Use Cases
- Automatically check and block common encoding and syntax errors before executing PowerShell tools.
- Integrate PowerShell checks into development workflows to improve script reliability.
- Ensure PowerShell scripts run correctly in various environments (e.g., WSL, cross-platform).
Best For
- Developers who need to write reliable PowerShell scripts.
- Operations engineers maintaining PowerShell environments and tools.
- Teams or individuals using DeepSeek Harness for PowerShell invocations.
Related Plugins
A network security red-team benchmark plugin for DeepSeek-V4.1/Flash featuring dual-layer kernel injection and zero-tool architecture for controlled model safety assessment.
A security red-team prompt plugin for DeepSeek-V4 that uses code-formal mapping and zero-trigger system prompts to enable unconditional output, intended for authorized testing and research only.
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.