bash-pro - Write safe, portable Bash scripts
Writes and reviews defensive Bash scripts for production automation, CI/CD pipelines, and system utilities.
Tags
Updated: 2026-10-04Capabilities
Typical Outputs
What this skill does
- Harden shell scripts
- Parse arguments safely
- Validate external inputs
- Handle files defensively
- Orchestrate processes safely
- Add structured logging
- Create cleanup traps
- Write Bats tests
- Run ShellCheck analysis
- Format with shfmt
Inputs
- Bash script source
- Command-line arguments
- Environment variables
- Input files
- Target platforms
- External command availability
Outputs
- Revised Bash scripts
- Test files
- Linting results
- Formatted shell files
- Usage documentation
- Log messages
- Exit statuses
Requirements
- Bash runtime
- Bash 4.4+ for selected features
- Bats for testing
- ShellCheck for linting
- shfmt for formatting
