developing-complex-posix-shell-scripts
Installation
SKILL.md
developing-complex-posix-shell-scripts skill
This skill defines guidelines for writing complex POSIX shell scripts: production utilities, reusable system tools, or scripts that require multiple flags, structured logging, or robust error handling — while remaining strictly portable.
Use developing-simple-posix-shell-scripts for ad-hoc tasks or scripts under ~50 lines without CLI scaffolding.
When to Use This Skill
- Reusable system utilities or production automation scripts targeting
/bin/sh - Scripts with multiple named flags / options
- Requires structured logging with severity levels
- Needs
-h/ help output - Has cleanup logic, dependency checks, or complex control flow
- Must run portably on Alpine, BusyBox, embedded, or other minimal systems