What problem does it solve? Writing shell scripts that fail silently, break across platforms, or lack proper argument validation leads to fragile automation. This Skill provides proven patterns for error handling, argument parsing, and testing so scripts behave predictably in CI/CD pipelines, containers, and production systems. ## Core Features & Use Cases - Error Handling Patterns: Fail-fast configuration with set -euo pipefail, trap handlers for cleanup, and explicit exit code checking with contextual error messages. - Argument Parsing: getopts for POSIX short options, manual parsing for long options, hybrid approaches, and input validation for files, integers, and formats. - Utility Integration: Practical jq, yq, awk, sed, and grep patterns for JSON/YAML processing and text manipulation, plus ShellCheck linting and Bats testing. - Use Case: You need a container entrypoint script that validates environment variables, handles SIGTERM gracefully, and cleans up temporary files. Apply the production template with trap handlers and defensive checks to get a working script immediately. ## Quick Start Write a Bash deployment script that parses --env and --dry-run flags, validates required arguments, and cleans up temporary files on exit.