Shell & PowerShell Code Hygiene
Quoting, exit propagation, cleanup, analyzer, error, and pipeline hygiene.
Select one bounded recipe. Start in audit mode; authorize fixes only after reviewing the candidate evidence.
Recipes
ShellCheck quoting and word-splitting hygiene
developmentBounded audit or remediation to remove unintended expansion, globbing, and argument-boundary bugs.
Shell exit, pipeline, trap, and temporary-file lifecycle
developmentBounded audit or remediation to propagate failures and clean temporary state on every signal and exit.
PowerShell ScriptAnalyzer and suppression debt
developmentBounded audit or remediation to resolve PSScriptAnalyzer findings and narrow rule exclusions.
PowerShell error, output, and resource lifecycle
developmentBounded audit or remediation to make terminating behavior, pipeline output, and disposable resources predictable.