typescript-strict
Installation
SKILL.md
TypeScript Strict Mode
Catch errors at build time, not in production.
When to Use This Skill
- Starting a new TypeScript project
- Tightening an existing codebase
- Preventing
anytypes from leaking through - Want compile-time guarantees for runtime safety
Core Concepts
- Strict mode - Enables all strict type checks
- Index safety - Array access returns
T | undefined - Exhaustiveness - Compiler ensures all cases handled
- Branded types - Prevent mixing up IDs and primitives