bash-pro - Defensive Bash scripting for automation
Write, review, and harden Bash scripts for 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 safely
- Add Bats tests
- Run ShellCheck analysis
- Format scripts with shfmt
- Integrate CI/CD workflows
Inputs
- Bash script source
- Automation requirements
- Target platforms
- Test inputs
- CI/CD configuration
Outputs
- Bash scripts
- Bats test suites
- ShellCheck results
- Formatted shell scripts
- CI/CD workflow files
- Usage documentation
- Logs and exit statuses
Requirements
- Bash 4.4+ environment
- Bats for testing
- ShellCheck for analysis
- shfmt for formatting
- Target platform utilities
