# Go project layout

> Golang project layout and workspace setup, cmd/internal/pkg directory conventions, module and package naming, go.work workspaces.

- Page: https://youraiskill.com/skill/samber-golang-project-layout
- What it does: Golang project layout and workspace setup — cmd/internal/pkg directory conventions, module and package naming, go.work workspaces, and essential configuration files. Use when starting a new Go project, organizing an existing codebase, setting up a monorepo with multiple packages, creating CLI tools with multiple main packages, or discussing package restructuring, package splits, or module splits. Not for restructuring existing code without a layout change (→ See `samber/cc-skills-golang@golang-refactoring` skill).
- Niches: coding
- Licence: MIT
- Status: Free on GitHub: not rated 7 or higher by Claude yet, or it does something a person should look at first (for example runs programs or calls the internet), or its licence or authorship needs a look. Never sold.
- Contents: instructions and reference files only (8 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
