Type System Discipline
في تصميم الأنواع والتوقيعات: خلّ الحالات المستحيلة مستحيلة التمثيل.
Apply when designing types, reviewing a function signature, or writing code in any statically-typed language. Make illegal states unrepresentable, brand semantic primitives, parse external data at boundaries, exhaust variants, derive from authoritative schemas.
Install
npx skills add cursor/plugins --skill principle-type-system-disciplineWorks with
claude-code (native), claude (native), codex (native), chatgpt (native), gemini-cli (native), cursor (native), copilot (native), opencode (native), amp (native), roo (native), kiro (native), goose (native), junie (native), trae (native), cline (compatible), continue (compatible), antigravity (compatible), windsurf (compatible), augment (compatible), qwen-code (compatible)
This item's license does not let Skilo republish its content, so only its description and a link to the source are shown.
Source and license
- Source
- Cursor Official Plugins
- Original
- cursor/plugins/pstack/skills/principle-type-system-discipline/SKILL.md
- License
- Unknown