TokenToSeaSkill 广场
English 控制台

Design

Shannon Atkinson

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.

安装

npx skills add rainmanjam/poka-yoke --skill design