Principle Type System Discipline

Apply when designing types, reviewing a function signature, or writing code in any statically-typed language. Make illegal states unrepresentable, brand semantic primitives, parse external data at boundaries, refuse to lie to the compiler, exhaust variants, derive from authoritative schemas.

EdbertChan Updated
catstack — Claude, Cursor, Codex

File contents

EdbertChan/catstack commit c822206e84

Frequently asked questions

npx get-skill add edbertchan/principle-type-system-discipline