What problem does it solve? Shell scripts often fail silently, break on edge cases, or contain security vulnerabilities due to poor quoting, missing error handling, and untested logic. This Skill provides standardized patterns for writing maintainable, secure, and portable bash scripts. ## Core Features & Use Cases - Error Handling & Cleanup Patterns: Apply set -euo pipefail, trap-based cleanup, lock files, and structured logging with severity levels. - Testing & Static Analysis: Write Bats unit tests for shell functions and integrate ShellCheck into CI pipelines with a provided .shellcheckrc configuration. - Reusable Templates & Libraries: Start from a production script template, a function library covering strings, arrays, validation, and networking, plus an automated installer for shellcheck, shfmt, and bats. - Use Case: When writing a backup automation script, use the template to get argument parsing, logging, dependency validation, and signal handling out of the box, then verify it with Bats tests and ShellCheck. ## Quick Start Use the shell scripting standards skill to write a backup script with proper error handling, logging, and argument parsing.