bash-script-generator
Generates production-ready bash scripts with best practices for automation, error handling, and logging.
Install this skill
Security score
The bash-script-generator skill was audited on Mar 19, 2026 and we found 10 security issues across 2 threat categories, including 3 high-severity. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 47 | ```bash |
Template literal with variable interpolation in command context
| 90 | ```bash |
Template literal with variable interpolation in command context
| 131 | ```bash |
Template literal with variable interpolation in command context
| 173 | - Always quote variables: `"${var}"` not `$var` |
Template literal with variable interpolation in command context
| 174 | - Validate inputs: `[[ "${val}" =~ ^[a-zA-Z0-9/_.-]+$ ]] || die "Invalid"` |
Template literal with variable interpolation in command context
| 194 | ```bash |
Template literal with variable interpolation in command context
| 295 | - **GOOD**: Use arrays for command construction: `cmd=(rm -rf "$USER_INPUT"); "${cmd[@]}"` |
External URL reference
| 309 | - [GNU Bash Manual](https://www.gnu.org/software/bash/manual/bash.html) |
External URL reference
| 310 | - [ShellCheck](https://www.shellcheck.net/) |
External URL reference
| 311 | - [Google Shell Style Guide](https://google.github.io/styleguide/shellguide.html) |
Install this skill with one command
/learn @pantheon-org/generator