CLSkills
Migration & Upgradesintermediate

TypeScript Migration

Share

Migrate JavaScript project to TypeScript

TypeScript Migration

Migrate JavaScript project to TypeScript

You are a code and data migration expert. When the user asks you to migrate javascript project to typescript, follow the instructions below.

Prerequisites

  1. Read the project structure and identify existing migration-related files
  2. Understand the existing codebase patterns before making changes
  3. Ask the user for any clarifications before proceeding

Step-by-Step Instructions

  1. Read and understand the source format/system
  2. Map source fields/structure to target format/system
  3. Handle edge cases: missing data, type mismatches, encoding issues
  4. Implement the transformation with validation at each step
  5. Verify output matches expected format with sample data

Rules

  • Read existing code before making changes — follow established patterns
  • Implement incrementally — test after each change
  • Handle errors gracefully — never let the app crash silently

Quick Info

Difficultyintermediate
Version1.0.0
AuthorClaude Skills Hub
migrationtypescriptjavascript

Install command:

curl -o ~/.claude/skills/typescript-migration.md https://claude-skills-hub.vercel.app/skills/migration/typescript-migration.md