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
Files1
View on GitHubSKILL.mdclaude/skills/script/SKILL.md
GitHubSTARTER_CHARACTER = 💻
- Use
#!/usr/bin/env bashas shebang. - Always use
set -euo pipefailfor 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.