What problem does it solve?
This Skill helps you write PowerShell that is consistent, maintainable, and safer to run by turning scattered scripting habits into a clear set of standards.
Core Features & Use Cases
- Style Guidance: Follows PowerShell Practice and Style for readable, professional scripts.
- Tooling Standards: Encourages PSScriptAnalyzer and Pester for linting and testing.
- Pipeline-Friendly Design: Promotes object output, approved verbs, and advanced functions that integrate cleanly with other commands.
- Safety and Reliability: Reinforces CmdletBinding, explicit error handling with ErrorAction Stop, and prerequisite checks with #Requires.
- Use Case: Use this Skill when building a reusable administration script, a module function, or a CI-tested automation workflow that must behave predictably.
Quick Start
Ask the assistant to review or write your PowerShell script according to these standards and to apply clean-code principles alongside lang-ps1.