Skills/typescript/domain-modeling
View .md
★ 329,578License: MITVerified Publisher

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.

Publisher: Matt Pocock•Audited: 2026-11-21•Agents: Claude Code, Cursor, Codex, Windsurf

CLI Install Command

npx skills add mattpocock/skills --skill domain-modeling

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

skills/engineering/domain-modeling/SKILL.mdView on GitHub

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.

Six private starter repos, one MCP workflow
Next.js SaaS
Hono API
FastAPI AI
Expo mobile
Tauri Rust
Chrome extension
100% code ownership in your GitHubLiving PRD + MCP task boardStarts at $29 one-time
Start my SaaS blueprintTry free architecture preview

Free preview needs no signup or card