go-repository

Community

Generate Go repository patterns with GORM.

Authorcristiano-pacheco
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of Go repository interfaces and GORM implementations, adhering to modular architecture conventions and reducing boilerplate code for data access layers.

Core Features & Use Cases

  • Boilerplate Reduction: Generates standard CRUD operations, custom queries, and transaction handling code.
  • Architectural Consistency: Enforces the two-file pattern (port interface and repository implementation) for maintainability.
  • Use Case: When building a new feature that requires storing and retrieving user data, use this Skill to quickly scaffold the necessary repository code, ensuring it integrates seamlessly with your existing GORM models and database layer.

Quick Start

Generate the repository code for a 'Product' entity within the 'inventory' module.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-repository
Download link: https://github.com/cristiano-pacheco/ai-tools/archive/main.zip#go-repository

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.