This skill provides a comprehensive framework for creating professional-grade shell scripts, ensuring they are maintainable, reliable, and user-friendly. By distinguishing between simple logic and complex utilities, it applies appropriate structural requirements like the main function pattern, structured argument parsing, and explicit dependency validation. It prioritizes explicit error handling over brittle defaults like 'set -e', resulting in scripts that are easier to debug and safer for production environments, automation tasks, and deployment workflows.
Key Features
01Structured argument parsing and usage documentation requirements
02Main function pattern with guard clauses for safe execution
03Explicit dependency validation and tool checking
04Standardized function organization and local variable scoping
051 GitHub stars
06Human-friendly colored output with NO_COLOR support