Expert guidance for shell scripting, bash/zsh automation, and macOS system integration. Use when writing shell scripts, automating workflows with bash/zsh, working with macOS-specific tools (AppleScript, Keychain, Spotlight, Automator), creating command-line utilities, or integrating system-level automation. Covers scripting patterns, error handling, and macOS APIs.