Skip to main content
Run any Skill in Manus
with one click

bash-scripting

Stars3
Forks0
UpdatedJune 27, 2026 at 21:20

Expert guidance for writing, hardening, debugging, and reviewing Bash and POSIX shell scripts. Use whenever the user writes, edits, refactors, or pastes a .sh / .bash file or shell snippet; asks for a script, automation, wrapper, installer, backup, deploy, cron, CI/CD, or system-admin script; mentions shebang, set -euo pipefail, strict mode, ShellCheck (SC2086 etc.), shfmt, Bats, trap, getopts, IFS, here-doc, subshell, command substitution, exit codes, quoting, globbing, arrays, or parameter expansion; reports a shell script that fails, hangs, mis-parses arguments, breaks on spaces/special characters, or behaves differently on macOS vs Linux; or asks "why does my bash script…" or "is this shell script safe/portable". Trigger even when the user does not say the word "bash" but is clearly authoring or fixing shell code. Prefer this over generic answers for any non-trivial shell work.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
13 files
SKILL.md
readonly