Type Design Review

Review the design of a new or changed type — does it make illegal states unrepresentable, enforce its invariants at construction, and encapsulate its internals? Rates encapsulation, invariant expression, invariant usefulness, and enforcement. Use when introducing a new type or data model, reviewing the types added in a PR, or refactoring a type for stronger guarantees. Not general diff review (local-review).

davisbuilds 0833d68 4 files · 11.1 KB Updated

File contents

davisbuilds/dojo/tree/main/skills/type-design-review commit 0833d684f2

Frequently asked questions

npx skillmds@latest add davisbuilds/type-design-review