What problem does it solve?
This Skill guides you to write clean, maintainable Go code following Clean Architecture, dependency injection, and project-specific patterns used in ChecklistApplication. It helps you structure code for better testability, readability, and long-term maintainability, reducing churn when refactoring.
Core Features & Use Cases
- Clean Architecture Layers: Enforces proper separation of concerns: server → service → repository, with interfaces and dependency inversion to simplify changes.
- Interface-Based Design & DI: Encourages using interfaces for dependencies and DI via Wire to enable easy testing and substitution of components.
- Code Quality & Testing Standards: Promotes consistent error handling with domain.Error, context propagation, and comprehensive unit tests for services.
Quick Start
Initialize a new Go feature following the prescribed architecture, then run the generator to wire dependencies:
- Create the feature with a private implementation and a public interface.
- Wire the dependencies in internal/deployment/wire.go and run ./generate.sh.