What problem does it solve?
This Skill helps you design Go codebases that stay readable and maintainable by enforcing idiomatic architecture, safe error handling, and practical concurrency patterns.
Core Features & Use Cases
- Idiomatic architecture guidance: Keeps package boundaries capability-driven (e.g., auth/billing) rather than layered (controllers/services).
- Robust error handling: Uses error-as-values, wraps with %w, and encourages typed/sentinel error patterns for inspection.
- Practical concurrency design: Promotes context-first I/O, disciplined goroutine lifecycles, and correct channel ownership semantics.
- Standard-library-first implementation: Recommends net/http, encoding/json, and log/slog before pulling in frameworks.
Quick Start
Ask the AI to refactor your Go service design to be idiomatic: improve package boundaries, fix error-wrapping and sentinel/typed errors, and revise your concurrency and context usage according to Go best practices.