Create Elysia Repository

Generate the domain type, repository port, Drizzle repository adapter, Drizzle table schema, and apperr error codes for ONE entity in an existing Elysia/Bun project wired to @labspangaea/ts-lib. **Use this whenever someone wants to add a new entity's data layer, create a repository for a domain model, generate a Drizzle schema + port interface, or scaffold the persistence layer without generating the whole app** — phrasings like "I need a repo for X", "create the domain and repository for Y", "add Z to the database layer", "scaffold the Drizzle model for Order". Owns the schema-parsing rules the other layered skills delegate to. Do NOT use to scaffold a fresh project (use `/elysia-scaffolder:create-elysia-app`), to add the service layer (use `create-elysia-service`), or to expose endpoints (use `create-elysia-handler`).

labspangaea e53a6b4 6.0 KB Updated

File contents

labspangaea/pangaealabs-claude-plugins-marketplace/tree/main/plugins/elysia-scaffolder/skills/create-elysia-repository commit e53a6b4a5b

Frequently asked questions

npx skillmds@latest add labspangaea/create-elysia-repository