JS → TS Migrator

Community

Convert JS to TS with inferred types.

Authorsaddam-eng-tech
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the conversion of JavaScript React components to TypeScript, inferring types from usage patterns to ensure type safety without resorting to any.

Core Features & Use Cases

  • Type Inference: Automatically infers types for props, state, refs, and event handlers based on component usage.
  • PropTypes Conversion: Extracts and converts PropTypes definitions into TypeScript interfaces.
  • Boilerplate Reduction: Eliminates the need for manual type declarations and PropTypes boilerplate.
  • Use Case: Convert an existing JavaScript React component into a TypeScript component to improve code quality and maintainability, catching potential errors before runtime.

Quick Start

Use the js-to-ts-migrator skill to convert the provided JavaScript code into TypeScript.

Dependency Matrix

Required Modules

None required

Components

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: JS → TS Migrator
Download link: https://github.com/saddam-eng-tech/ai-agent-skills/archive/main.zip#js-ts-migrator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.