Skip to main content

refactor

Perform AST-aware TypeScript refactors using ts-morph, preserving each import's original style (path alias or relative). Renames directories and module files anywhere in the tree and rewrites all importers across the project, including test-runner mock paths. Records each applied refactor so the change can later be rebased onto a moved-on main and verified. Runs in dry-run by default and shows a diff before applying. Triggers: 'rename directory', 'rename module', 'rename folder', 'move module', 'rename across files', 'update imports', 'refactor rebase', 'refactor verify', 'rebase onto refactored main', 'verify refactor', or needs AST-aware TypeScript source transformation.

Jump to install

Source facts

Repository
zaripych/skills-ts-refactor
Last source activity
June 24, 2026 at 03:49
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.