ts-morph-refactor
OfficialAST-based TypeScript refactoring across your codebase.
Authordafthunk-com
Version1.0.0
Installs0
System Documentation
What problem does it solve?
ts-morph-refactor provides a set of executable scripts to perform AST-based refactoring across a TypeScript codebase, ensuring safe, consistent updates.
Core Features & Use Cases
- Rename symbols across files using semantic rename with ts-morph.
- Move declarations between files while updating imports.
- Propagate interface/class changes to all implementations.
- Add methods to implementations and modify parameter/return types across codebase.
Quick Start
Run the appropriate script (e.g., rename-symbol.ts) to apply a semantic refactor across your TypeScript project.
Dependency Matrix
Required Modules
ts-morph
Components
scripts
💻 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: ts-morph-refactor Download link: https://github.com/dafthunk-com/dafthunk/archive/main.zip#ts-morph-refactor 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.