bash-script-writer
Installation
SKILL.md
Bash Script Writer
Write Bash (default) or Zsh scripts following project standards, and decide whether ShellSpec tests are warranted.
Workflow
- Choose the shell — see Step 1: Shell Selection. Bash unless the user confirms Zsh.
- Load Zsh guidance only if needed — when the chosen shell is Zsh, read references/zsh.md before writing any code. Do NOT load it for Bash work.
- Write the script following Script Structure and Coding Standards. For Zsh, apply the overrides in
references/zsh.md. - Decide on testing — see Step 4: Testing Decision. ShellSpec is optional, not the default.
- Verify — always run at least the lightweight checks in Verification.