go-maintainable-code
CommunityWrite clean, maintainable Go code fast.
Software Engineering#testing#golang#go#clean-architecture#dependency-injection#wire#maintainable-code
Authorraunlo
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill guides you to write clean, maintainable Go code following Clean Architecture, dependency injection, and project-specific patterns used in ChecklistApplication. It helps you structure code for better testability, readability, and long-term maintainability, reducing churn when refactoring.
Core Features & Use Cases
- Clean Architecture Layers: Enforces proper separation of concerns: server → service → repository, with interfaces and dependency inversion to simplify changes.
- Interface-Based Design & DI: Encourages using interfaces for dependencies and DI via Wire to enable easy testing and substitution of components.
- Code Quality & Testing Standards: Promotes consistent error handling with domain.Error, context propagation, and comprehensive unit tests for services.
Quick Start
Initialize a new Go feature following the prescribed architecture, then run the generator to wire dependencies:
- Create the feature with a private implementation and a public interface.
- Wire the dependencies in internal/deployment/wire.go and run ./generate.sh.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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-maintainable-code Download link: https://github.com/raunlo/ChecklistApplication/archive/main.zip#go-maintainable-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.