import-refactor
CommunityAutomate import updates, eliminate refactor headaches.
Authorsorryhyun
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Moving or renaming files and modules often leads to a cascade of broken import statements, string paths, and configuration references across multiple languages (Python, TypeScript, JavaScript). This skill eliminates the tedious, error-prone manual work of updating these references, making refactoring seamless and reliable.
Core Features & Use Cases
- Multi-Language Support: Automatically updates imports and references in Python, TypeScript, and JavaScript files, ensuring consistency across your entire codebase.
- Comprehensive Reference Update: Handles not just import statements, but also string-based paths, configuration files, and even documentation examples, leaving no broken links behind.
- Systematic Verification: Before and after updates, it verifies that paths exist and imports resolve correctly, drastically reducing post-refactoring bugs and ensuring code integrity.
- Use Case: If you decide to move a
utils.pyfile to a new/common/utils/directory, this skill will automatically find and update allfrom old_path import ...statements tofrom common.utils import ..., saving you hours of manual search-and-replace and preventing runtime errors.
Quick Start
Moving utilities to /utils:
1. Map old paths -> new paths
2. Find ALL references (imports, strings, configs, docs)
3. Update systematically by type
4. Verify paths exist and imports resolve
5. Report changes made (e.g., "23 files, 45 imports updated")
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: import-refactor Download link: https://github.com/sorryhyun/DiPeO/archive/main.zip#import-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.