Build shell scripts that handle failure safely.
Guides the creation of robust Bash scripts with defensive error handling and automated tests.
When to use it
Use when creating automation, system administration, deployment, backup, or CI/CD scripts.
Give it a shell-scripting task; it creates Bash scripts with defensive patterns, error handling, and automated tests.
The script template runs with bash; no version is specified.
The testing phase runs ShellCheck, and the quality gates require it to pass.
The quality gates require Bats tests to pass.
Invokes bash-pro for selected design, structure, and logging phases; whether it is required to complete the workflow is unstated.
No additional actions listed.