go-patterns
CommunityMaster idiomatic Go development.
AuthorMiles0sage
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a comprehensive guide to writing robust, concurrent, and maintainable Go applications, addressing common pitfalls and promoting best practices.
Core Features & Use Cases
- Project Structure: Learn the standard layout for Go projects (
cmd,internal,pkg). - Error Handling: Implement effective error wrapping, sentinel errors, and avoid ignoring errors.
- Concurrency: Utilize goroutines, channels, and
errgroupfor efficient parallel processing. - Context Propagation: Understand how to correctly pass request-scoped values and cancellation signals.
- Testing: Employ table-driven tests and interface-based mocking for reliable unit tests.
- Use Case: When developing a new microservice in Go, use this Skill to ensure proper project structure, error handling, and concurrent request processing.
Quick Start
Use the go-patterns skill to demonstrate idiomatic error handling in Go.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: go-patterns Download link: https://github.com/Miles0sage/claude-ultimate-stack/archive/main.zip#go-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.