Make invalid states harder to write in TypeScript.
Guides TypeScript edits toward safer types, validated boundaries, and compiler-checked handling of variants.
When to use it
Use when reading or editing any .ts or .tsx file.
It changes how the agent reads and edits TypeScript project code.
What you provide
Requires applying this principle skill before the TypeScript rules.
On Muse, requires reading the platform mapping and per-skill notes in this sibling skill before proceeding.
No additional actions listed.