code-transform

Community

Safely refactor code with AST.

AuthorMekann2904
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates complex code transformations and refactoring tasks across large codebases, ensuring safety and consistency that manual methods or simple text replacements cannot achieve.

Core Features & Use Cases

  • AST-based transformations: Safely modify code structure, rename variables, update imports, and alter function signatures using Abstract Syntax Trees.
  • Multi-language support: Includes examples and tools for JavaScript/TypeScript (jscodeshift, ts-morph) and Python (libcst, Bowler).
  • Use Case: Automatically migrate a deprecated API across thousands of files in your project by renaming functions, updating import paths, and restructuring arguments, all while maintaining code integrity.

Quick Start

Use the code-transform skill to rename all occurrences of 'oldFunction' to 'newFunction' within the 'src/' directory.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: code-transform
Download link: https://github.com/Mekann2904/mekann/archive/main.zip#code-transform

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.