GS/BS
← Standards directory
Code quality

PSScriptAnalyzer.

Check PowerShell scripts and modules

Validate cmdlet usage, parameter conventions and selected reliability rules. Run the same settings against scripts and modules before publishing.

PowerShell

Use this standard

Run the check with the tool installed and configured for your project.

Invoke-ScriptAnalyzer -Path . -Recurse

Agent prompt

Use PSScriptAnalyzer in this repository to meet this standard: Check PowerShell scripts and modules. Validate cmdlet usage, parameter conventions and selected reliability rules. Run the same settings against scripts and modules before publishing. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

Read the agent skill ↗

Seikika package

The catalog has no verified package for this entry yet.

Adoption readiness

runnable · 4 of 5 evidence checks passed.

  • Pass · Defined scope — Check PowerShell scripts and modules · PowerShell
  • Pass · Upstream reference — https://learn.microsoft.com/powershell/utility-modules/psscriptanalyzer/overview
  • Pass · Agent prompt — Use PSScriptAnalyzer in this repository to meet this standard: Check PowerShell scripts and modules. Validate cmdlet usage, parameter conventions and selected reliability rules. Run the same settings against scripts and modules before publishing. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
  • Pass · Tool command — Invoke-ScriptAnalyzer -Path . -Recurse
  • Missing · Seikika package — No Seikika package is listed.
How Seikika scores entries ↗

Primary source

PSScriptAnalyzer documentation ↗