golang-mvc
CommunityEnforce Go MVC layer rules for clean, testable code.
Software Engineering#refactoring#testability#go#mvc#clean-architecture#layer-boundaries#go-conventions
AuthorBizShuk
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Go projects often suffer from messy, tightly coupled code where MVC layer boundaries are violated—such as handlers directly accessing databases or business logic being placed in the wrong layer—making code hard to test, refactor, and maintain.
Core Features & Use Cases
- Strict Layer Boundary Enforcement: Clear import rules for each MVC layer (handler, service, repository, model, validation) to prevent cross-layer dependencies.
- End-to-End Implementation Guidance: Step-by-step checklist for building new features following MVC conventions, from model definition to final wiring.
- Refactoring Support: Rules and patterns to fix existing code that violates layer boundaries, including interface placement, constructor injection, and standardized error handling. Use Case: If your Go service has handlers that directly query the database, use this skill to refactor the code to move DB access to the repository layer, define testable interfaces in the handler, and follow standardized wiring and test patterns.
Quick Start
Use the golang-mvc skill to refactor your existing Go service to enforce proper MVC layer boundaries and eliminate cross-layer dependency violations.
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: golang-mvc Download link: https://github.com/BizShuk/gosdk/archive/main.zip#golang-mvc 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 537,000+ vetted skills library on demand.