AI AGENT ADDONS

Golang Project Layout

samber/cc-skills-golang
Documentation
33,455installs

Go projects need a clear structure to stay maintainable. This guide helps you choose the right layout for your project type. Whether you build a CLI tool, a library, a service, or a monorepo, you get clear rules for directories and modules.

Start by asking about the software architecture you want. The guide covers clean architecture, hexagonal, DDD, and flat structures. It never over-structures small projects. A simple script stays flat. A large service gets layers only when needed.

The guide also helps with dependency injection choices and 12-Factor App practices. You learn naming conventions for modules and packages. All code examples use real-world Go patterns.

Add Golang Project Layout skill to your workflow

Global

mkdir -p ~/.claude/skills/golang-project-layout

Project

mkdir -p .claude/skills/golang-project-layout

Source Repository

Stars
2,322
Forks
149
Watchers
2,322
License
MIT
Last Push
28 days ago
Created
4 months ago