ast-grep-refactor

Community

Safely refactor large codebases with AST rules.

AuthorIndianBoy42
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automate large-scale code refactoring by applying structural transformations that preserve semantics, reducing manual search-and-replace errors across files.

Core Features & Use Cases

  • Systematic refactoring using AST-based rewrite rules across a codebase
  • API migrations and code modernization through pattern-driven transformations
  • Creation of reusable transformation rules for scalable maintenance

Quick Start

Create or load an ast-grep rule and run it against your project to perform structural refactors safely.

Dependency Matrix

Required Modules

None required

Components

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: ast-grep-refactor
Download link: https://github.com/IndianBoy42/dot-opencode/archive/main.zip#ast-grep-refactor

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 471,000+ vetted skills library on demand.