What problem does it solve? Writing shell automation often produces fragile scripts that fail on edge cases, mishandle arguments, or corrupt state on re-runs. This Skill enforces Bash safety conventions so scripts are predictable, idempotent, and readable from the start. ## Core Features & Use Cases - Script Creation and Refactoring: Builds or improves Bash scripts starting from a reusable template with strict mode (set -euo pipefail), explicit argument parsing, and clear usage output. - Structured Logging and UX: Provides log helpers for errors, warnings, notes, and success messages with ANSI color that respects NO_COLOR and non-interactive terminals. - Validation Workflow: Verifies scripts with bash -n syntax checks, shellcheck when available, and safe smoke runs. - Use Case: Ask the agent to write a deployment helper script; it produces an idempotent Bash script with --help, --dry-run, dependency checks via command -v, and trap-based cleanup of temporary files. ## Quick Start Use the shell-scripting skill to create a Bash script that archives log files with a --dry-run flag and strict error handling.