typescript-guardian
Installation
SKILL.md
TypeScript Guardian
Quick Start
This skill enforces TypeScript strict mode and type safety:
- Strict mode compliance: Verify all strict flags enabled
- Any type elimination: Replace
anywith specific types,unknown, or generics - Return type annotations: Add explicit return types to all functions
- Type narrowing: Implement type guards and predicates
When to Use
- TypeScript compiler errors need resolution
anytypes detected in production code- Missing return type annotations
- Strict mode violations (unchecked index access, null/undefined)