jikime-migration-ast-grep
CommunityAutomate code migration with AST.
Authorjikime
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates complex code transformations and legacy code migration tasks by leveraging Abstract Syntax Tree (AST) pattern matching, reducing manual refactoring effort and improving accuracy.
Core Features & Use Cases
- Structural Code Search: Precisely locate code snippets based on AST patterns, not just text.
- Automated Code Rewriting: Safely transform code structures according to defined migration rules.
- Migration Scenarios: Facilitates common refactoring tasks like converting jQuery to React, PHP arrays to TypeScript objects, or Vue 2 options to Composition API.
Quick Start
Use the jikime-migration-ast-grep skill to find all instances of 'var $VAR = $VALUE' in JavaScript files and rewrite them to 'const $VAR = $VALUE'.
Dependency Matrix
Required Modules
None requiredComponents
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: jikime-migration-ast-grep Download link: https://github.com/jikime/jikime-adk/archive/main.zip#jikime-migration-ast-grep Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.