npx claudepluginhub levifig/loaf --plugin loafWant just this skill?
Then install: npx claudepluginhub u/[userId]/[slug]
Covers idiomatic Go development: project structure, concurrency, error handling, and testing.
This skill is limited to using the following tools:
references/concurrency.mdreferences/core.mdreferences/errors.mdreferences/idioms.mdreferences/testing.mdGo Skill
Patterns and best practices for Go development, grounded in Effective Go principles and community conventions.
Reference Files
| File | Use When |
|---|---|
references/core.md | Setting up projects, naming variables, formatting code |
references/concurrency.md | Working with goroutines, channels, or sync primitives |
references/errors.md | Handling errors, creating custom errors, using panic/recover |
references/testing.md | Writing table-driven tests, benchmarks, or examples |
references/idioms.md | Using guard clauses, defer, embedding, or method receivers |
Naming Conventions
| Element | Convention | Example |
|---|---|---|
| Packages | lowercase, short, no underscores | http, bytes, strconv |
| Exported | PascalCase | ReadFile, HTTPClient |
| Unexported | camelCase | parseConfig, internalState |
| Interfaces (single method) | Method + "er" | Reader, Stringer, Handler |
| Getters | No "Get" prefix | user.Name() not user.GetName() |
| Acronyms | All caps when exported | HTTPServer, xmlParser |
Key Decisions
| Area | Decision |
|---|---|
| Error handling | Return errors, check immediately, no exceptions |
| Formatting | gofmt is non-negotiable |
| Concurrency | Channels for communication, goroutines are cheap |
| Interfaces | Small (1-3 methods), defined by consumer |
| Dependencies | Standard library first, minimize external deps |
| Generics | Use when type safety matters; prefer interfaces when behavior matters |
Similar Skills
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.