react-migration
OfficialSafely modernize React codebases to TypeScript
Authormindcockpit-ai
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Migrating large React codebases from untyped JavaScript to TypeScript is error-prone, time-consuming, and risky; this guide reduces migration risk by providing a phased, verifiable approach that balances incremental typing with build and tooling modernization.
Core Features & Use Cases
- Progressive migration framework: assessment, permissive tsconfig setup, file-by-file renames, incremental strictness, and tracking to minimize disruption.
- Legacy pattern replacement & modernization: convert class components to functional components, replace PropTypes with TypeScript types and Zod validation, and migrate CRA→Vite and Jest→Vitest.
- Practical validation and tooling: includes repo scanning checks, suggested tsconfig flags, typecheck scripts, ESLint flat-config guidance, and common pitfalls to avoid.
- Use Case: Plan and execute a migration for a legacy CRA app with many class components, untyped API responses, and mixed JS/JSX files to achieve gradual strict typing and modern tooling.
Quick Start
Request a migration readiness report for this repository and a prioritized plan to convert leaf components, API types, and build tooling to TypeScript.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: react-migration Download link: https://github.com/mindcockpit-ai/cognitive-core/archive/main.zip#react-migration Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.