script

Apply Steven's Bash script style rules: strict mode, minimal validation, concise logic, executable scripts, and no unnecessary comments or echoes. Use when creating, reviewing, or refactoring shell sc

SKILL.md

GitHub

STARTER_CHARACTER = 💻

  • Use #!/usr/bin/env bash as shebang.
  • Always use set -euo pipefail for safety and debugging.
  • Keep scripts minimal: no unnecessary comments or echoes.
  • Only do minimal input validation; print a usage message to stderr and exit if inputs are missing or invalid.
  • Do not check for installed commands if failure will be obvious on use.
  • Make script executable: chmod +x <script>.
  • Prefer concise, direct logic over verbosity.