home/categories/automation-tools/bcowdery-claude-skills-patsy-plugin-skills-ast-refactor-skill-md
automation-toolstools

ast-refactor

This skill should be used when transforming, refactoring, or replacing code patterns across multiple files. Use for renaming functions/classes/variables, migrating API usage patterns, modernizing syntax, or performing bulk code transformations. Prefer ast-grep over sed/awk for syntax-aware replacements that understand language structure.

bcowdery
maintainer
bcowdery
Updated 1/14/2026
Stars
0
Forks
0
quick start

Installation and usage

This skill should be used when transforming, refactoring, or replacing code patterns across multiple files. Use for renaming functions/classes/variables, migrating API usage patterns, modernizing syntax, or performing bulk code transformations. Prefer ast-grep over sed/awk for syntax-aware replacements that understand language structure.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use ast-refactor