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.
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.