bash-pro - Write safer Bash scripts for automation
Write, review, and harden Bash scripts for production automation, CI/CD pipelines, and system utilities.
Tags
Updated: 2026-10-04Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write defensive Bash scripts
- Review shell scripts
- Harden scripts for safety
- Parse arguments safely
- Manage temporary resources
- Implement structured logging
- Add Bats tests
- Run ShellCheck and shfmt
- Improve cross-platform portability
- Integrate CI/CD workflows
Inputs
- Bash script source
- Automation requirements
- Target platforms
- Required commands
- Environment variables
- Input validation rules
Outputs
- Bash scripts
- Test files
- Lint results
- Usage documentation
- Logging and error output
Requirements
- Bash 4.4+ for specified features
- Bats for testing
- ShellCheck for static analysis
- shfmt for formatting
- Sonnet model support
