typescript-type-safety
Installation
SKILL.md
TypeScript Type Safety
CRITICAL: Never use any type - it defeats TypeScript's purpose.
Rules
- Use proper types for all data structures
- Use
unknownfor truly unknown data, then narrow with type guards - Use type assertions sparingly and only when verified
- Enable strict mode in tsconfig.json