Skip to content
G

golang-project-layout

Golang project layout and workspace setup

by samberFree

#3421in AI Skills
0In stores

Description

golang-project-layout is an agent skill from the samber cc-skills-golang collection for setting up the layout and workspace of a Go project.…

Highlights

  • cmd, internal and pkg conventions
  • go.work workspaces
  • Architecture questions asked first
  • Dependency injection options
  • Twelve-factor app conventions
  • Installs from skills.sh

Ratings & Reviews

No ratings yet

Be the first to rate golang-project-layout.

People also visit

G

golang-design-patterns

Idiomatic Golang design patterns

AI Skills
Get
G

go-packages

Creating Go packages, organizing imports, managing dependencies

AI Skills
Get
G

golang-samber-do

Dependency injection in Golang using samber/do

AI Skills
Get
G

go-linting

Setting up linting for a Go project, configuring golangci-lint

AI Skills
Get
M

modern-go-guidelines

Enhances Claude Code with modern Go guidelines up to go 1.26 version

AI Skills
Get
U

use-modern-go

Use the Modern Go Guidelines CLI whenever writing, modifying, fixing

AI Skills
Get

golang-project-layout FAQ

What does this skill set up?

The layout and workspace of a Go project, including cmd, internal and pkg directories, module naming and go.work.

What does it ask first?

Which architecture the developer prefers, then which dependency injection approach to use, one question at a time.

Will it add layers to a small project?

No. The skill says a small tool should stay flat, and layers come only when complexity justifies them.

How do I install it?

Run npx skills add https://github.com/samber/cc-skills-golang --skill golang-project-layout.

What are the security audit results?

skills.sh lists three audits: Gen Agent Trust Hub Warn, Socket Pass and Snyk Pass. A Warn or Fail is worth reading before you install.

How popular is it?

The page shows about 38.6K installs, and the cc-skills-golang repository has 3.5K GitHub stars.

What are the best golang-project-layout alternatives?

Popular alternatives to golang-project-layout include golang-design-patterns, go-packages and golang-samber-do. See all golang-project-layout alternatives

Developer Stuff

Badges