Go Packages

Use when creating Go packages, organizing imports, managing dependencies, or structuring a Go project. Covers meaningful package names, package size, import grouping (stdlib first, then external), blank/dot imports, the run() pattern in main, init() restrictions, and CLI flag conventions. Apply proactively when starting a new module or splitting a growing codebase, even if the user did not explicitly ask about package layout. Does not cover identifier naming inside packages (see go-naming).

muratmirgun 28e9de6 6.3 KB Updated

File contents

muratmirgun/gophers/tree/main/.claude-plugin/skills/go-packages commit 28e9de6aff

Frequently asked questions

npx skillmds@latest add muratmirgun/go-packages-2