m05-type-driven

Installation
SKILL.md

Type-Driven Design

Layer 1: Language Mechanics

Core Question

How can the type system prevent invalid states?

Before reaching for runtime checks:

  • Can the compiler catch this error?
  • Can invalid states be unrepresentable?
  • Can the type encode the invariant?

Error → Design Question

Related skills

More from actionbook/rust-skills

Installs
681
GitHub Stars
1.1K
First Seen
Jan 23, 2026