Always use set -eou pipefail at the beginning of shell scripts to ensure consistent error handling and behavior across the codebase. This combination provides important safety guarantees:

Example:

# Incorrect
set -eu -o pipefail
# or 
set -evx

# Correct
set -eou pipefail

This standard helps prevent subtle bugs caused by unhandled errors or undefined variables and makes scripts more robust and predictable.