What problem does it solve?
TypeScript code reviews often miss critical type safety holes, hidden regression risks, and maintainability issues that lead to runtime errors, technical debt, and hard-to-debug production incidents, especially in legacy codebases or after large refactors.
Core Features & Use Cases
- Type Safety Gap Detection: Flags unsafe type casts, unchecked nullable flows, any usage, and type assertions that disable the TypeScript type checker, preventing runtime type errors.
- Structural Regression Identification: Catches changes that make existing modules harder to reason about, such as mixed-concern service files, hook-heavy components, or utility modules with accumulated unrelated logic.
- Regression Risk Assessment: Highlights behavior that was moved or removed during refactors with no evidence that call sites, consumers, or tests still cover the changed functionality.
- Use Case: For example, when a team refactors a legacy user authentication service, this skill catches an unsafe as User cast that would bypass type checking and flags that the service now handles both authentication and user notification logic, prompting a split into separate, testable modules.
Quick Start
Use the kieran-typescript-reviewer skill to review the latest TypeScript code diff for type safety issues, structural regressions, and testing gaps.