refactor-dependency
Installation
SKILL.md
Dependency Mapper Analysis
Map all dependencies, import chains, call graphs, and coupling relationships for the refactoring target.
Analysis Checklist
Import Chain Analysis
- Trace all direct and transitive imports from the target code
- Identify shared dependencies across multiple modules
- Check for re-exports that create indirect coupling
- Map import depth to detect deeply nested dependency chains
Call Graph Mapping
- Build function/method call graphs for the target scope
- Identify entry points and terminal nodes
- Detect callback chains and event-driven connections
- Map data flow through function parameters and return values