Apply defensive Bash scripting patterns for safer automation, reliable error handling, quoting, cleanup, and testable operational scripts. Use when reviewing or writing Bash scripts that may affect production systems.
Use this skill when the user needs Bash guidance that is safe enough for CI, automation, and operational scripting.
references/defensive-bash-checklist.md for a quick review pass over Bash safety basics.references/risky-operations-checklist.md when the script can modify systems, files, deployments, or other production state.set -Eeuo pipefail and whether the script can handle it safelyrm, mv, find, xargs, and subprocess orchestrationOrganise recommendations into: