
from claude-spellbook171
Reference of idiomatic Go patterns: error handling, goroutines and channels, context usage, interfaces, generics, testing, and performance best practices.
This skill provides an agent with detailed, idiomatic Go patterns and recipes for writing correct, safe, and performant Go code. It covers error wrapping and sentinel errors, goroutine lifecycle and channel patterns, sync primitives, context propagation, interface design, generics, testing strategies (table-driven tests, benchmarks, fuzzing), and common gotchas.
Activate this skill when writing or reviewing non-trivial Go code: designing error flows, structuring concurrent pipelines, implementing interfaces, adding generics, or authoring tests and benchmarks. It's useful during code reviews, refactors, or when converting ad-hoc code into idiomatic packages.
Best used by agents that can read and produce Go code, suggest diffs, and run local tests—Copilot-style or Claude Code/Code assistants that can edit repositories and run go test.
This skill has not been reviewed by our automated audit pipeline yet.
System Design
Structured, end-to-end guidance for designing scalable, reliable systems: requirements, capacity estimation, architecture, and failure-mode planning.
Docker Patterns
Production-ready Dockerfile and Compose patterns for Python (FastAPI/uv) and Node.js (Next.js), focused on multi-stage builds, caching, health checks, secrets,