repository-generator
CommunityAuto-create repository layers for new entities.
Authortaku-o
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill defines standard patterns for adding new Repository layers (Standard SQL and GORM), including GroupManager and TableSelector usage, and CRUD templates with sharding-ready guidance.
Core Features & Use Cases
- Standard SQL pattern: Create {Entity} repositories with proper table selection and shard routing.
- GORM pattern: Provide GORM-based repositories using dbresolver.
- Sharding-aware design: Guidance for cross-table and cross-shard operations.
Quick Start
Create a new entity named Article and generate article_repository.go (standard SQL) and article_repository_gorm.go (GORM) under server/internal/repository/.
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: repository-generator Download link: https://github.com/taku-o/go-webdb-template/archive/main.zip#repository-generator 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.