Standardized commit workflow with pre-flight checks, auto-format, and retry logic for pre-commit hooks