go-scaffoldlisted
Install: claude install-skill tammai/bigin-skills
# go-scaffold
This skill is mechanical: gather config, run the script, relay its output. Do not deliberate — no thinking needed on any step here.
Scaffolds a Go REST API from a single template. The mechanical work is done by a deterministic script — `scripts/scaffold.mjs` (Node stdlib only, cross-platform, zero prompts). This skill's only jobs: **decide the CLI flags, run the script, report the result.** Do not perform any scaffolding steps yourself.
Stack: Go ≥1.24, Gin, contract-first via `oapi-codegen` (`openapi.yaml` → `internal/openapi/openapi.gen.go`: gin-server interface + request/response models), GORM + `pgx` on Postgres, `godotenv` config, `golang-migrate` for schema, `air` for hot reload.
One template only — no variant menu like nuxt-scaffold's. The generated app is a **modular monolith**: `cmd/server` is the composition root, `internal/modules/<mod>/` holds each module's four layers (`domain`, `application`, `infrastructure`, `api`) behind a `module.go` public contract, and `internal/shared/` holds the cross-cutting kernel. It ships **one module** (`users`) carrying the full auth kernel: signup with password-complexity + HTML-rejection validation, login, refresh-token **rotation** (opaque, stored hashed, replay-detecting), logout, an authenticated profile, and admin user management (list/paginate, role change, delete) with self-demotion and self-deletion blocked. Per-route rate limiting, an origin-allowlisted CORS layer, liveness/readiness probes. `internal/ar