kiwi-go-backend
Installation
SKILL.md
Kiwi Go Backend Development
This skill defines the standards for building Go backends in the kiwi ecosystem. All code generation, refactoring, and new feature work MUST follow these rules.
Architecture Overview
Four-layer DDD architecture with strict dependency direction: api -> application -> domain <- infrastructure.
| Layer | Responsibility | Key Rule |
|---|---|---|
| API | HTTP handling, param parsing, response serialization | Thin layer. No business logic. |
| Application | Orchestrates domain services for use cases | Can READ from repo. CANNOT WRITE directly. |
| Domain | Business logic, entities, aggregate roots, VOs | Pure Go. No framework dependencies. |
| Infrastructure | Repository implementations, external clients, DI | Implements domain interfaces. |
See references/project-structure.md for full directory layout.