Shell Portability

Read-only syntax scanner for cross-shell traps, reporting file:line + why + the PS-5.1-safe fix: && and || (PS 5.1 parser error), ternary / ?. / ?? (PS7-only), Read-Host/pause/Out-GridView (block non-interactive runs), Set-Content/Add-Content/Out-File without -Encoding, bash-isms in .ps1 and PowerShell-isms in .sh. Use when: "will this run on PowerShell 5.1", "lint my shell scripts", "shell-portability", before scheduling a script — and `check "<command>"` for ONE command string before handing it to someone to run, the surface a file scan cannot reach. Syntax only — encoding/filename quirks are path-quirk-audit. Zero deps.

Evan-Daruwalla d9d6275 2 files · 26.3 KB Updated

File contents

Evan-Daruwalla/claude-skill-suite/tree/main/shell-portability commit d9d627566f

Frequently asked questions

npx skillmds@latest add evan-daruwalla/shell-portability