What problem does it solve? Choosing a project layout, HTTP router, database layer, and dependency wiring for a Go service involves many competing options, and outdated advice leads to over-engineered structures. This Skill provides opinionated, current guidance for structuring Go 1.22+ backend services so you make consistent architectural decisions. ## Core Features & Use Cases - Project Layout Guidance: Apply the official cmd/internal module layout, avoid cargo-culted pkg/ directories, and name packages cohesively. - Router and Database Selection: Decide between stdlib net/http ServeMux, chi, echo/gin/fiber, and between sqlc + pgx versus GORM, with honest trade-offs. - Dependency Injection Patterns: Wire dependencies with constructor injection and narrow consumer-defined interfaces, no DI framework by default. - Use Case: You are starting a new Go REST API backed by PostgreSQL. Load this Skill to scaffold the cmd/api + internal/ tree, route with the Go 1.22 ServeMux, and wire a pgx pool through constructors using the included working template. ## Quick Start Ask the agent to scaffold a new Go REST service with a PostgreSQL backend using the go-architecture skill.