move-and-rename

Move, rename, or delete files and symbols while updating imports in TypeScript and Vue codebases.

Updated Feb 20, 2026
One-click install
npx skills add https://github.com/yearofthedan/weaver --skill move-and-rename
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: move-and-rename
Source: https://github.com/yearofthedan/weaver/tree/main/.claude/skills/move-and-rename
Command: npx skills add https://github.com/yearofthedan/weaver --skill move-and-rename

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually moving files, renaming symbols, or deleting modules often leaves broken import paths and hidden references, causing build failures and wasted developer time.

Core Features & Use Cases

  • Automatic import rewrites for file moves, directory relocations, and symbol transfers.
  • Safe deletion of files with dependency analysis to prevent orphaned imports.
  • Cross‑project consistency for TypeScript and Vue codebases, handling both .ts and .vue files.

Quick Start

Ask the move-and-rename skill to rename the symbol 'Foo' in src/a.ts to 'Bar' across the whole project.

Frequently Asked Questions about move-and-rename

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I rename and move TypeScript files without breaking imports?

To rename and move TypeScript files without breaking imports, this skill automatically rewrites all import paths and references during file moves, directory relocations, and symbol transfers. It handles both .ts and .vue files to maintain cross-project consistency.

Can I safely delete Vue files and prevent orphaned imports in my project?

You can safely delete Vue files and prevent orphaned imports because this skill performs dependency analysis before deletion. It checks for hidden references across TypeScript and Vue codebases to ensure no broken paths remain.

How do I move a TypeScript symbol to a different file and update all references?

To move a TypeScript symbol to a different file and update all references, you ask the skill to transfer the symbol. It automatically applies weaver move-symbol commands to rewrite all import paths and ensure cross-project consistency.

Do I need a weaver daemon running to refactor Vue and TypeScript code?

You need a running weaver daemon and active workspace context to refactor Vue and TypeScript code with this skill. The daemon executes weaver commands like rename, move-file, move-directory, and delete-file to apply the refactoring changes.

What is the best way to refactor code across multiple Vue and TypeScript files?

The best way to refactor code across multiple Vue and TypeScript files is using an automated import rewriting tool. This skill invokes weaver commands to move directories, extract functions, and rename symbols while automatically updating all references.