Bash Script Style Guide
SkillDev toolsBash script style guide. Always use when writing bash scripts, shell scripts, or CLI bash tools.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Bash Script Style Guide skill
What this skill tells your AI
The instructions your AI receives, as published by jonreid/mastermind in .claude/skills/writing-bash-scripts/SKILL.md and read by ahel’s review.
- Use
#!/usr/bin/env bashas shebang - Always use
set -euo pipefailfor safety - Keep scripts minimal: no unnecessary comments or echoes
- Minimal input validation; print usage to stderr and exit if inputs are missing/invalid
- Don't check for installed commands if failure is obvious on use
- Make script executable:
chmod +x <script> - Prefer concise, direct logic over verbosity
Signals
- GitHub stars
- 26
- Forks
- 2
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
writing-bash-scripts-jonreid- Source
- github.com/jonreid/mastermind