golang-patterns
π―Skillfrom affaan-m/everything-claude-code
Provides reusable design patterns and idiomatic Go solutions for efficient, scalable, and maintainable software architecture.
Overview
Golang Patterns is a skill that provides idiomatic Go design patterns and best practices for building robust, efficient, and maintainable applications. It covers core principles like simplicity, zero-value design, error handling, and interface usage with practical code examples.
Key Features
- Core Go principles: simplicity over cleverness, useful zero values, accept interfaces return structs
- Comprehensive error handling patterns with wrapping, custom types, and sentinel errors
- Error checking with errors.Is and errors.As for type-safe error inspection
- Practical code examples contrasting good and bad patterns
- Covers package design, concurrency patterns, and module structure
Who is this for?
This skill is for Go developers who want their AI assistant to produce idiomatic, well-structured Go code. It is valuable for both developers learning Go patterns and experienced Gophers who want consistent, best-practice code generation from their AI tools.
Same repository
affaan-m/everything-claude-code(113 items)
Installation
npx vibeindex add affaan-m/everything-claude-code --skill golang-patternsnpx skills add affaan-m/everything-claude-code --skill golang-patterns~/.claude/skills/golang-patterns/SKILL.mdSKILL.md
More from this repository10
Battle-tested Claude Code configurations from an Anthropic hackathon winner
Implements robust backend design patterns like repository, factory, singleton, and dependency injection for scalable and maintainable server-side architectures.
Provides reusable React component patterns like composition, compound components, and render props to enhance code modularity and flexibility.
Spring Boot development patterns skill covering REST API design, layered service architecture, data access, caching, async processing, and logging for production-grade Java services
Dynamically updates and refines AI model knowledge through iterative feedback, adaptive learning techniques, and intelligent knowledge integration.
Provides reusable SQL query patterns, database design strategies, and performance optimization techniques for PostgreSQL development
REST API design patterns covering resource naming conventions, HTTP status codes, pagination, filtering, error responses, versioning, and rate limiting for building consistent, developer-friendly production APIs.
Python testing patterns skill covering pytest, TDD methodology, fixtures, mocking, parametrization, and coverage requirements for robust test suites
Python development patterns skill covering Pythonic idioms, PEP 8 standards, type hints, and best practices for building robust and maintainable applications
Validates and enforces consistent code quality, style guidelines, and best practices across programming languages and project structures.