TypeScript Refactor
Migrates JavaScript codebases to strict TypeScript using incremental file conversions, explicit return types, and comprehensive type audits.
The TypeScript Refactor skill equips Claude Code to systematically migrate JavaScript and Next.js projects to strict TypeScript while maintaining code stability. Supporting both active file-by-file refactoring and non-destructive type audits, it guides developers through enabling strict tsconfig options, replacing implicit any usages with narrow types, inferring React prop types, and safely handling Next.js server and client component distinctions. It is ideal for teams modernizing legacy React codebases, standardizing enterprise type systems, or conducting pre-migration assessments without introducing runtime regressions.