From claude-resources
Go project scaffolding. Service/CLI/library directory structure, boilerplate, dependencies, tooling. Extends core/project-structure with Go-specific layouts and templates.
npx claudepluginhub deandum/claude-resources --plugin go-skillsThis skill uses the workspace's default tool permissions.
Scaffold production-ready Go projects with consistent structure and tooling.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides agent creation for Claude Code plugins with file templates, frontmatter specs (name, description, model), triggering examples, system prompts, and best practices.
Scaffold production-ready Go projects with consistent structure and tooling.
go mod init, add dependencies)myservice/
├── cmd/myservice/main.go
├── internal/
│ ├── user/ # Entity-focused package
│ │ ├── user.go # Domain entity
│ │ ├── repository.go # Interface (port)
│ │ ├── service.go # Business logic
│ │ ├── http.go # HTTP handlers
│ │ └── postgres.go # Repository impl — uses connection from internal/postgres
│ ├── http/ # Cross-cutting HTTP concerns
│ │ ├── middleware.go
│ │ └── router.go
│ ├── postgres/ # Shared DB infrastructure
│ │ ├── conn.go # Connection pool setup, exposed as *sqlx.DB
│ │ └── tx.go # Transaction helpers used by entity packages
│ └── config/config.go
├── migrations/
├── Makefile
├── Dockerfile
├── .golangci.yml
└── .gitignore
mytool/
├── cmd/mytool/main.go
├── internal/command/ # Cobra commands
│ ├── root.go
│ └── serve.go
├── Makefile
├── .goreleaser.yml
└── .golangci.yml
mylib/
├── mylib.go # Public API
├── mylib_test.go
├── option.go # Functional options
├── internal/ # Private implementation
└── examples/basic/main.go
| Need | Recommended |
|---|---|
| HTTP router | net/http (stdlib) or chi |
| Logging | log/slog (stdlib) |
| Database | pgx (Postgres) or sqlx (generic SQL) |
| Migrations | golang-migrate |
| Config | envconfig |
| Validation | go-playground/validator |
| Testing | stdlib testing or Ginkgo/Gomega |
| CLI | Cobra |
Principle: a little copying is better than a little dependency.
Use templates/ — replace {{.Module}} and {{.AppName}} placeholders.
go mod tidy runs cleanlymake lint passesmake test passesmake build produces binarydocker build succeedsgo mod tidy runs cleanly with no changesmake lint passes with no warnings or errorsmake test passes with all tests greenmake build produces a working binarydocker build succeeds and produces a valid image