Skip to content
SkilVault
Sign inGet started

guarded-powershell-script-patterns

Languages & Frameworks
Signed by SkilVault

Writes and repairs Windows PowerShell scripts using guarded patterns: parenthesized cmdlet grouping for boolean operators, null checks, ASCII-only messages, deliberate error handling, Join-Path usage, and explicit JSON depth. Use when the user asks to "write a PowerShell script", "fix this .ps1", reports errors like "parameter 'or'" or "unexpected token", or needs JSON and array handling in PowerShell. Not for bash or zsh scripting, or for administering Windows services and registry settings.

Version
v1.0.0
Size
7 KB
Updated
2026-10-02
$ skilvault read --manual guarded-powershell-script-patterns

Your client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.