ts-morph-refactor
Installation
SKILL.md
TypeScript Refactoring with ts-morph
Perform safe, AST-based TypeScript refactoring operations using executable scripts. All scripts work across the entire codebase, following type relationships and updating all references.
Installation
Ensure ts-morph is available:
pnpm add -D ts-morph
Available Scripts
rename-symbol.ts
Rename a symbol (function, variable, class, interface, type) across all files. Uses ts-morph's semantic rename which updates all references.