domain-modeling
Teaches coding agents to encode domain rules, transitions, and illegal-state guards directly in the TypeScript type system before implementing handlers or UI.
CLI Install Command
Builderthread summarizes metadata only and does not republish full third-party skill files. Review the upstream GitHub repository before installing into your workspace.
Want domain-modeling wired into a working starter repo?
Builderthread pairs verified skills with a private GitHub starter repo, living PRD, and MCP task board for Claude Code, Cursor, and Codex.
When to use this skill
- •Designing core SaaS entities, billing states, or workflow transitions in TypeScript
- •Eliminating loose optional fields and conflicting boolean flags
- •Aligning TypeScript domain models with PRD requirements before coding
What this skill covers
Focus Areas
- Discriminated unions
- Branded ID types
- State transition modeling
- Compile-time invariants
Read the full SKILL.md instructions and license terms on mattpocock/skills on GitHub.
Upstream Package Files
Related typescript Skills
Engineering skill from Matt Pocock guiding coding agents to design cohesive TypeScript modules, narrow interfaces, and testable seams before writing implementation code.
MIT-licensed TypeScript skill from Node.js TSC member Matteo Collina focused on generic constraints, type guards, utility types, and strict runtime-to-type narrowing.
Concise MIT-licensed TypeScript style guide skill covering discriminated unions, naming, source organization, function signatures, and strict maintainability rules.
Strict TypeScript from commit one
Pair strict TypeScript rules with a working starter repo
Builderthread generates strict TypeScript repos for Next.js SaaS, Hono APIs, and WXT Chrome extensions, backed by a living PRD, curated skills, and MCP tasks checked with tsc --noEmit.