Automatically transform legacy JavaScript and TypeScript code into modern ES6+ standards using AST-based refactoring.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install neo-es6-refactor
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install neo-es6-refactor using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
ES6 Refactor is a sophisticated code transformation utility designed to modernize aging codebases by converting legacy patterns into clean, modern ES6+ equivalents. By leveraging Babel-powered Abstract Syntax Tree (AST) parsing, the tool identifies and replaces outdated syntax such as var declarations, traditional function expressions, and callback chains with let/const, arrow functions, and async/await.
This skill is an essential part of the Openclaw Skills library for developers looking to maintain high code quality and consistency. It ensures that functional logic remains identical while improving readability and adhering to contemporary ECMAScript standards. It handles everything from simple syntax sugar to complex module system migrations, making it a versatile asset for any modernization project.
To begin using this skill within your environment, follow these installation steps:
# Install the ES6 Refactor utility via npm
npm install -g @openclaw/es6-refactor
# Confirm the installation was successful
es6-refactor --help
# Perform a dry run on a directory to see proposed changes
es6-refactor ./src --dry-run --diff
The skill organizes its operations based on the following technical schema:
| Component | Technical Detail |
|---|---|
| AST Engine | Uses @babel/core for high-fidelity code manipulation and source map preservation. |
| Rules Engine | Driven by a JSON-based pattern library that matches legacy node types to modern templates. |
| Compatibility | References an internal feature matrix to ensure generated code matches target environment versions (e.g., ES2020). |
| Output Standards | Standardized via Prettier with support for custom .prettierrc configurations. |
| Metadata | Tracks transformation logs for audit trails and functional equivalence verification. |
Loading
A specialized skill for converting Docker containers and Compose files into production-grade Kubernetes deployment manifests.

A powerful tool to automatically convert REST API responses into production-ready TypeScript interfaces and interactive Storybook documentation.

A specialized diagnostic tool for analyzing and visualizing communication patterns between agents to identify bottlenecks and optimize workflows.

A lightweight Text-to-Speech (TTS) utility that enables AI agents to generate audible speech from text using the eSpeak-ng engine.

An automated tool to generate high-quality, professional README files for GitHub repositories by analyzing project structure and code.

Automates Google AI Pro and Ultra access through advanced proxy and session rotation for Openclaw agents.








































