writing-go-code
CommunityWrite idiomatic Go code.
AuthorMrPointer
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill ensures your Go code adheres to established best practices, improving readability, maintainability, and robustness.
Core Features & Use Cases
- Code Organization: Follows standard Go project structure for structs, interfaces, and constructors.
- Dependency Injection: Enforces constructor-based dependency injection for better testability and modularity.
- Idiomatic Error Handling: Guides on proper error wrapping and handling.
- Mock Generation: Integrates with
mockeryfor generating mock objects. - Use Case: When implementing a new feature in a Go application, use this Skill to guide the structure of your new types, functions, and their dependencies.
Quick Start
Apply Go coding standards when writing or modifying Go code.
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: writing-go-code Download link: https://github.com/MrPointer/dotfiles/archive/main.zip#writing-go-code 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.