Design

Design APIs, schemas, types and state machines so misuse cannot be expressed. Use when writing a new interface and someone asks "what should the types look like", "make invalid states unrepresentable", "so callers cannot screw it up", or wants illegal state transitions rejected. Covers branded types, discriminated unions, typestate, parse-don't-validate. For code that already exists use audit.

rainmanjam Updated

File contents

rainmanjam/poka-yoke/tree/main/plugins/poka-yoke/skills/design commit fc9cf1d6d7

Frequently asked questions

npx skillmds@latest add rainmanjam/design