Giverny

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…

by backnotprop★ 5,529Databases

What Principle Type System Discipline does

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, exhaust variants, derive from authoritative schemas.

How to install Principle Type System Discipline in Claude Code

Giverny gives you a ready prompt with the exact install command from backnotprop/pstack. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone backnotprop/pstack and copy the skills/principle-type-system-discipline folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Principle Type System Discipline on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the principle-type-system-discipline skill on my current project.”

More Claude skills for databases