Zsh Script Writer Write Zsh scripts and ShellSpec tests following project standards. Script Structure Coding Standards Error Handling & Output - Use color codes: RED (errors), YELLOW (warnings), GRAY (info), RESET - Exit with non-zero codes on failure - Write errors to stderr ( ) - Fail fast: validate inputs and dependencies before processing Function Organization Organize scripts into logical sections: 1. Utility functions (colors, logging, helpers) 2. Content processing functions (core logic) 3. Main execution function 4. Parameter handling (getopts or positional args) Working Directory Con…