typescript-review-patterns
Installation
SKILL.md
TypeScript Code Review Patterns
Overview
TypeScript adds a rich static type system on top of JavaScript, but the type system has escape hatches — and those escape hatches are where most TypeScript-specific bugs hide. A reviewer who does not know where the safety net has holes will miss real defects while flagging non-issues.
This skill covers five high-value review dimensions unique to TypeScript: type escape hatches (any, as, !, @ts-ignore), type narrowing (discriminated unions, type guards), async/Promise pitfalls (unhandled rejections, floating promises), React hook rules (stale closures, dependency arrays), and module patterns (barrel exports, import type).
Load alongside review-accuracy-calibration to score confidence before posting.