Skip to main content

type-driven-design

Stars2
Forks0
UpdatedJuly 1, 2026 at 02:20

Use when modeling a domain with the type system to make illegal states unrepresentable — discriminated unions, exhaustive matching, newtypes/branded types, and Result/Option error modeling in TypeScript and Rust.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly