typescript-refactor
Installation
SKILL.md
Instructions
Help the user migrate a React/Next.js codebase from JavaScript to strict TypeScript.
Before edits: suggest pnpm exec tsc --noEmit (or npx tsc --noEmit) so there is a baseline.
When to Use
- Use for JS→strict TypeScript or type audits.
- Prefer
code-assistantfor small non-migration diffs. - Prefer
testing-agentto lock behavior before refactors.