bash-pro - Defensive Bash scripting for production automation
Write and review safe, portable, testable Bash scripts for automation, CI/CD pipelines, and system utilities.
Tags
Updated: 2026-10-04Capabilities
Typical Outputs
What this skill does
- Harden Bash scripts
- Parse arguments safely
- Validate inputs defensively
- Manage temporary resources
- Orchestrate processes safely
- Add Bats tests
- Run ShellCheck analysis
- Format scripts with shfmt
- Design idempotent operations
- Implement structured logging
Inputs
- Bash script source
- Command-line arguments
- Environment variables
- Input files
- Target platform details
- External command availability
Outputs
- Hardened Bash scripts
- Test files
- Lint reports
- Usage messages
- Structured logs
- Error reports
Requirements
- Bash 4.4 or later
- Bats test framework
- ShellCheck
- shfmt
