Golang project layout and workspace setup — cmd/internal/pkg directory conventions, module and package naming, go.work…
Part of cc-skills-golangPack · 46 skills
by samber· Developer toolsUnclaimed · Yours? Claim it
About
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).
Skills people install alongside golang-project-layout.
Runs on your machine.
Runs on your machine.
Runs on your machine.
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-project-layout ~/.copilot/skills/golang-project-layout
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-project-layout ~/.cursor/skills/golang-project-layout
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-project-layout ~/.claude/skills/golang-project-layout
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-project-layout ~/.agents/skills/golang-project-layout
Runs on your machine.
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-project-layout ~/.gemini/skills/golang-project-layout
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-project-layout .agents/skills/golang-project-layout
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-project-layout ~/.openclaw/skills/golang-project-layout
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-project-layout ~/.config/opencode/skills/golang-project-layout
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-project-layout ~/.hermes/skills/golang-project-layout
Scanned and passed · checked 49 min ago
From people who use it
Step by step
Nothing new reaches your agent until a person has looked at it.
Scanned on every change, and again when our rules improve.
No reviews yet. Used golang-project-layout? Say how it went.
Write a reviewTw93's engineering habits as eight skills: plan before you build, debug to root cause, review before you ship, and more.
Go skills for coding agents: idiomatic style, error handling, testing, concurrency, security and performance for production Go projects.
Test Double's coding skills: build test-first, refactor under green tests, review your branch and trace bugs to their root cause.
Nobody has shared how they use golang-project-layout yet.
Security scan
Passed
Safe to install in every agent it supports. Runs in your agent, as instructions.