Creates or modifies domain types in src/domain/ — value objects, discriminant unions, and aggregate roots. Use when adding a new domain concept, defining invariants for an existing type, or placing a shared discriminant union that is used across multiple use-cases. Do NOT use for orchestrating I/O or business logic — use use-case instead. Do NOT use for infrastructure concerns — use adapter instead.
$npx -y skills add ai-driven-dev/framework --skill domain-modelInstalls into the current project.
Run `npx skills use "https://github.com/ai-driven-dev/framework" --skill "ai-driven-dev/framework/domain-model"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/ai-driven-dev/framework" that are relevant to the current task. Run `npx skills add "https://github.com/ai-driven-dev/framework"` and select the relevant skills, then follow their instructions.