creating-elysia-domains
CommunityType-safe Elysia domain scaffolding for Nexus
Authorsaavy1
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides a structured, type-safe blueprint for adding new feature domains to the Nexus Elysia API, ensuring consistent architecture and Eden Treaty compatibility across dashboards and the Discord bot.
Core Features & Use Cases
- Create domain directory structure
- Define Drizzle database schemas
- Create Elysia t.* types for API contracts
- Implement repository and service layers
- Build typed route handlers
- Enable Eden Treaty type inference for consumers
Quick Start
Follow the Domain Structure guide to scaffold a new domain under apps/nexus/src/domains/<domain-name>/ with the defined files and wire it into apps/nexus/src/app.ts.
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: creating-elysia-domains Download link: https://github.com/saavy1/sb/archive/main.zip#creating-elysia-domains 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.