What problem does it solve? Writing PowerShell scripts on Windows often leads to subtle bugs: missing parentheses around cmdlets in logical expressions, Unicode characters breaking parsers, null reference errors, and JSON serialization losing nested data. This Skill encodes the critical patterns and pitfalls so generated scripts work correctly the first time. ## Core Features & Use Cases - Operator Syntax Rules: Enforces parentheses around cmdlet calls in logical expressions to avoid "parameter 'or'" parser errors. - Safety Patterns: Covers null checks before property access, ASCII-only output conventions, and correct string interpolation of nested properties. - Error Handling & JSON: Provides try/catch templates, ErrorActionPreference guidance, and mandatory ConvertTo-Json -Depth usage for nested objects. - Use Case: When asked to write a Windows automation script that reads a JSON config, checks file paths, and logs status messages, the Skill ensures the output uses Join-Path, null-safe checks, ASCII status markers, and a strict-mode template. ## Quick Start Write a PowerShell script that reads a JSON config file, validates paths, and logs status messages following Windows best practices.