powershell

Installation
SKILL.md

PowerShell Development Skill

Conventions and safety patterns for PowerShell scripts in scripts/ and CI.

Style and Linting

  • Use pwsh/PowerShell Core syntax where possible and Set-StrictMode -Version Latest.
  • Use Write-Host sparingly; prefer Write-Output and Write-Error for correct streams.
  • Use -ErrorAction Stop in helper functions when errors should abort execution.
  • No Unicode icons or emojis in output messages (e.g., , , , 🔧). Use plain ASCII text like [OK], [FAIL], [WARN], ERROR: instead. Unicode causes encoding issues in CI logs.

Security

  • Avoid embedding secrets in scripts; read from env vars and prefer platform secret stores.
  • Do not commit credential tokens in any scripts or docs.

Testing and Execution

  • Use pwsh -NoProfile -ExecutionPolicy Bypass -File in CI wrappers.
Related skills
Installs
19
GitHub Stars
105
First Seen
Mar 1, 2026