Skill / SKILL.md

design

rainmanjam/poka-yoke

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.
2 views 26 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/rainmanjam/poka-yoke' skill-source

Use the complete skill-source/plugins/poka-yoke/skills/design directory with your client’s skill installer.

  • plugins/poka-yoke/skills/design

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/poka-yoke/skills/design

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
4cdbd7a2ee882688e01962f602008372c2847b46e8cc97de120a0652007fee0a
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills