posix-shell-pro - Write Portable POSIX Shell Scripts
Provides guidance for writing, testing, and reviewing strict POSIX sh scripts across Unix-like systems.
Tags
Updated: 2026-09-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Apply POSIX shell practices
- Validate shell portability
- Parse arguments safely
- Handle errors portably
- Manage temporary resources
- Test across POSIX shells
- Analyze scripts with ShellCheck
- Migrate Bash scripts to POSIX sh
Inputs
- Task goals
- Script constraints
- Required inputs
- Shell scripts
- Implementation playbook
Outputs
- Actionable guidance
- Shell script changes
- Verification steps
- Portability findings
Requirements
- Sonnet model
- POSIX-compatible shell
- ShellCheck for static analysis
