← ClaudeAtlas

go-library-builderlisted

Scaffolds reusable Go 1.27.3 library modules in the ralvarezdev house style — flat, vertical-slice, toolkit or framework-adapter shapes; domain-pure root package, ports as narrow interfaces, technology-named adapter subpackages (prod/dev/test), config structs over options, testcontainers over mocks, mise + Task + golangci tooling. Module namespace is a parameter (default github.com/ralvarezdev). Use when bootstrapping a new Go library, adding an adapter, or auditing one against the house style.
ralvarez-ai/ralvaskills · ★ 4 · Web & Frontend · score 77
Install: claude install-skill ralvarez-ai/ralvaskills
# Go Library Builder Scaffolds a new **reusable Go library module** in the ralvarezdev house style, distilled from the `identity`, `ratelimit`, and `email` libraries, and extended for the toolkit and framework-adapter modules (`restkit`, `pgkit`, `ginkit`). **Check [go-house-libs](../go-house-libs/SKILL.md) first:** if a module already covers the need, use it; scaffold a new one only when none fits and a second consumer exists. This skill is the *composition root* for three others — it does not restate them: - **[go-architect](../../languages/go-architect/SKILL.md)** — every Go idiom (memory alignment, errors, iterators, linters, `//go:embed` SQL). This skill assumes it. - **[hexagonal-architecture](../../design/hexagonal-architecture/SKILL.md)** — ports & adapters, dependency direction. This skill applies it *at library scale*. - **[ddd-architect](../../design/ddd-architect/SKILL.md)** — entities, value objects, bounded contexts. This skill uses it for domain shape. Also leans on [repo-tooling-architect](../../tooling/repo-tooling-architect/SKILL.md) (mise/Task/editorconfig/renovate) and [sql-architect](../../databases/sql-architect/SKILL.md) (persistence adapters). File skeletons and full tooling templates live in [RECIPES.md](RECIPES.md) and [assets/](assets). Pinned versions in [STACK.md](STACK.md). ## 1. What it produces A standalone Go module publishable as `<namespace>/<name>` where **hexagonal layers map onto Go package boundaries**, not layer-named folders. Ther