bash-scripting
Write, refactor or review Bash/shell scripts as small, single-purpose, reusable functions with a main entry point, then validate and format them with bash -n, ShellCheck and shfmt. Use when asked to write, create, fix, clean up or lint a .sh or bash script, even if the user doesn't mention ShellCheck or shfmt.
Pinned to revision 8e057076fc7a, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/bash-scripting/SKILL.md
- skills/bash-scripting/agents/openai.yaml
- skills/bash-scripting/assets/script-template.sh
- skills/bash-scripting/scripts/validate-bash.sh
- skills/bash-scripting/scripts/validate-bash.test.sh
Every link opens the file at its source, pinned to the revision this page describes.