go-service-gen
CommunityGenerate Go Service and DAO scaffolding fast.
Software Engineering#code generation#go#service layer#gorm#architecture scaffolding#dao crud#rbac-ready
AuthorLeiZhang-Hunter
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill solves the repetitive work of manually writing boilerplate Go code for the project’s four-layer architecture (Service Interface → ServiceImpl → DAO Interface → DAOImpl), ensuring consistency in structure, responsibilities, and documentation.
Core Features & Use Cases
- ServiceImpl auto-generation: Creates the Service implementation that delegates method calls to the corresponding DAO, following the required file path and struct/callback conventions.
- DAO interface auto-generation: Generates DAO interfaces with method responsibilities aligned to the Service needs.
- DAOImpl CRUD scaffolding: Produces DAO implementations using gorm and the project’s context utilities (e.g., user/department info), including table naming behavior and baseline CRUD methods.
- Use Case: When you define a new dataset-related
Serviceinterface (e.g., underaidatasetservice) and need consistent persistence and service-layer code immediately, this Skill generates the full scaffolding so you can focus on business rules rather than plumbing.
Quick Start
Ask the AI to generate the missing ServiceImpl and DAO/DAOImpl code for your new I<Name> Service interface, producing files in the specified aidatasetserviceimpl and aidatasetdao locations with complete Go-style comments.
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-service-gen Download link: https://github.com/LeiZhang-Hunter/nova-factory-server/archive/main.zip#go-service-gen 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 471,000+ vetted skills library on demand.