What problem does it solve? Go developers repeatedly face ambiguous design choices—how to structure errors across layers, when to introduce Unit of Work, how to keep secrets out of logs, and how to organize cobra CLIs. This Skill provides decision flows and concrete patterns for these recurring Go design questions. ## Core Features & Use Cases - Error Design Decision Flow: Chooses between fmt.Errorf wrapping, sentinel errors, and custom error types, with Split-Brain Error Types separating internal details from user-facing messages. - Structured Logging with slog: Covers LogValuer-based secret redaction, Canonical Log Lines, log level judgment, and avoiding duplicate error logging across layers. - Transaction Management: Staged adoption from single-repository Tx callbacks to Unit of Work, explicitly avoiding context-based transaction propagation. - Testing & CLI Conventions: Standard-library-only table-driven tests, gotestsum via go tool, and cobra CLI principles like NewRootCmd factories and logic separation. - Use Case: When designing a new Go HTTP service, consult this Skill to decide error translation at layer boundaries, set up slog with secret masking, and structure repository transactions. ## Quick Start Ask the AI to review your Go code's error handling and logging design using the golang skill's decision flows and patterns.