bash-pro - Defensive Bash scripting for production automation
Writes, reviews, hardens, tests, and documents portable Bash scripts for automation, CI/CD, and system utilities.
Tags
Updated: 2026-10-04Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Define script failure modes
- Apply Bash strict mode
- Parse arguments safely
- Validate external inputs
- Manage files defensively
- Handle temporary resources safely
- Orchestrate processes safely
- Implement structured logging
- Add dry-run support
- Write Bats tests
- Run ShellCheck analysis
- Format scripts with shfmt
- Check platform compatibility
- Document script interfaces
- Integrate CI/CD workflows
Inputs
- Bash scripts
- Script requirements
- Command-line arguments
- Environment variables
- Target platforms
- CI/CD configuration
Outputs
- Bash scripts
- Test results
- Lint results
- Formatted source files
- Usage documentation
- CI/CD workflow changes
Requirements
- Bash runtime
- Bash 4.4 or newer
- Bats framework
- ShellCheck
- shfmt
