legacy

Detect outdated JavaScript/TypeScript patterns and generate a migration plan.

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/RebelliousSmile/my-claude-marketplace --skill legacy-rebellioussmile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: legacy
Source: https://github.com/RebelliousSmile/my-claude-marketplace/tree/main/plugins/sc-js/skills/legacy
Command: npx skills add https://github.com/RebelliousSmile/my-claude-marketplace --skill legacy-rebellioussmile

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of identifying outdated patterns and deprecated APIs in JavaScript/TypeScript codebases, providing a migration plan to upgrade to modern standards and frameworks.

Core Features & Use Cases

  • Pattern Detection: Scans for ES5 remnants, CommonJS→ESM migration, Vue 2→3, Svelte 4→5, SvelteKit 1→2, TypeScript strictness evolution, and framework version migrations.
  • Use Case: Ideal for developers looking to upgrade legacy code to support modern frameworks and practices, reducing the manual effort required for such migrations.

Quick Start

Run the scan to identify outdated patterns in your codebase. If needed, proceed with the migration to update your code to the latest standards.

Frequently Asked Questions about legacy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate legacy JavaScript code from CommonJS to ESM?

To migrate legacy JavaScript from CommonJS to ESM, run a scan to identify outdated patterns in your source files and package.json, then follow the proposed migration plan to update imports and exports to modern standards.

What is the best way to upgrade a Vue 2 codebase to Vue 3?

The best way to upgrade a Vue 2 codebase to Vue 3 is to scan for deprecated APIs and outdated patterns in your source files, which generates a targeted migration plan to modernize the framework version.

Can I improve TypeScript strictness in an existing project automatically?

Yes, you can improve TypeScript strictness by analyzing tsconfig.json and source files to detect weak typing patterns, which provides a migration plan to enforce stricter type checking across your codebase.

Does the code modernization process require specific configuration files?

Yes, the code modernization process requires package.json, tsconfig.json, and source files to accurately identify outdated patterns and propose a migration plan for your JavaScript and TypeScript codebase.

How do I handle Svelte 4 to Svelte 5 migration?

To handle Svelte 4 to Svelte 5 migration, scan your codebase to detect outdated framework patterns, which yields a structured migration plan to update components to the latest Svelte standards.