go-architecture-review

Installation
SKILL.md

Go Architecture Review

Good architecture makes the next change easy. Bad architecture makes every change scary.

1. Standard Project Layout

myproject/
├── cmd/                    # Main applications (one dir per binary)
│   ├── api-server/
│   │   └── main.go
│   └── worker/
│       └── main.go
├── internal/               # Private packages — cannot be imported externally
│   ├── domain/             # Core business types (entities, value objects)
│   │   ├── user.go
│   │   └── order.go
│   ├── service/            # Business logic (use cases)
│   │   ├── user.go
Related skills
Installs
58
GitHub Stars
56
First Seen
Mar 27, 2026