Legacy Modernizer
Callbacks, var, and CommonJS → async/await, const, and ESM automatically.
Trusted trust tier
This skill has significant install counts or stars from a credible organisation.
What is legacy-to-modern?
legacy-to-modern rewrites outdated JavaScript patterns: callbacks to async/await, var to const/let, prototype chains to ES6 classes, CommonJS require() to ESM import/export. It runs AST-level transforms — not regex — preserving semantics while targeting your specified ECMAScript version.
Best for
legacy-to-modern is ideal for developers, teams, and agents who need to callbacks, var, and commonjs → async/await, const, and esm automatically.. Whether you're automating workflows, improving code quality, or extending functionality, this claude skill integrates directly into Claude Code.
Why use legacy-to-modern?
- Integrates seamlessly with Claude Code
- From a trusted source
- Battle-tested by 810 developers
- Open ecosystem standard — works across agents
Installation and usage
Getting started with legacy-to-modern is straightforward. Follow the steps below to install this claude skill into your Claude Code environment and start using it immediately.
How to install
claude in your terminal — if it opens, you're ready./ inside Claude Code to see your installed skills and invoke them by name.