Example Skill: Domain Model
A Domain Model skill might define:
Goal:
Create a domain model.
Requirements:
- Pure TypeScript
- No UI concerns
- No API concerns
- Business terminology only
- Strong typing
- Zod validation
Now every generated model follows the same standards.
Mini Exercise
Define one additional rule you would require for all domain models in your own stack.
Example
You might add:
- Keep domain models framework-agnostic so they can be reused in web, mobile, and server contexts.