Skip to content
SkilVault
Sign inGet started

bash-defensive-scripting

Languages & Frameworks
Signed by SkilVault

Writes production-grade Bash scripts with strict mode, validated inputs, quoted expansions, safe file handling, error traps, logging, and a dry-run or confirmation gate before anything destructive. Use when the user asks to "write a shell script", "harden this bash script", "add error handling to a CI script", or builds automation, sysadmin utilities, or deployment tooling. Not for a single ad-hoc command, a target that requires strict POSIX sh only, or tasks unrelated to shell automation.

Version
v1.0.1
Size
13 KB
Updated
2026-10-06
$ skilvault read --manual bash-defensive-scripting

Your client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.