gorm-mysql-skill
CommunityStandardized MySQL access with GORM patterns.
AuthorPenitence1992
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Streamlines creating consistent GORM models and MySQL access patterns across services, reducing boilerplate and errors.
Core Features & Use Cases
- Standard entity templates with common fields (CreateTime, UpdateTime, CreateBy, UpdateBy).
- Read-write separation guidance with environment-based configuration.
- Example patterns for initializing service context and wiring DB connections.
Quick Start
Define a new Go struct in common-service/entity using the standard template, configure the MySQL read/write connections in etc/{{SERVICE}}.yaml, and initialize the connections in internal/svc/service_context.go.
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: gorm-mysql-skill Download link: https://github.com/Penitence1992/go-zero-backend-skills/archive/main.zip#gorm-mysql-skill 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.