allowjs-mixing

Community

Incrementally migrate JS to TypeScript.

Authorluyi985
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Migrating large JavaScript codebases to TypeScript can be risky and disruptive. This skill enables gradual adoption by leveraging the allowJs option to mix .js and .ts files in the same project, allowing teams to convert code incrementally while preserving a working codebase.

Core Features & Use Cases

  • Incremental migration: Enable allowJs in tsconfig.json to mix JavaScript and TypeScript files without a full rewrite.
  • Phased conversion strategy: Start with leaf modules and progressively migrate dependencies toward entry points.
  • Risk reduction and learning: Provides a safe pathway for teams to learn TypeScript while maintaining feature development.

Quick Start

Enable allowJs in your tsconfig.json, then begin by converting a small leaf module to TypeScript to validate the workflow.

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: allowjs-mixing
Download link: https://github.com/luyi985/lyi-bash/archive/main.zip#allowjs-mixing

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 471,000+ vetted skills library on demand.