create-repository

Installation
SKILL.md

Repository Generator

Generate DDD-compliant Repository interfaces and implementation stubs.

Repository Characteristics

  • Interface in Domain: Contract defined in Domain layer
  • Implementation in Infrastructure: Doctrine/Eloquent/etc. implementation
  • Works with Aggregates: Not entities directly
  • Collection-like: Find, save, remove operations
  • No business logic: Only persistence operations

Generation Process

Step 1: Generate Interface

Path: src/Domain/{BoundedContext}/Repository/

Related skills
Installs
5
GitHub Stars
71
First Seen
Mar 10, 2026