graph-it-refactor
Installation
SKILL.md
Graph-It Refactor
Safe two-phase refactoring for changes whose blast radius is larger than one local implementation detail. Map semantic impact with Graph-It-Live before editing code with the host IDE's native tools.
Valid Phase 1 Opening
When the target file and exported symbol are known, the first Graph-It-Live actions are this exact gate:
1. graphitlive_generate_codemap({ filePath: "/abs/path/to/source.ext", format: "toon" })
2. graphitlive_get_impact_analysis({ filePath: "/abs/path/to/source.ext", symbolName: "ExportedSymbol", format: "toon" })
3. graphitlive_get_symbol_callers({ filePath: "/abs/path/to/source.ext", symbolName: "ExportedSymbol", format: "toon" })
4. graphitlive_crawl_dependency_graph({ filePath: "/abs/path/to/source.ext", format: "toon" })
5. Summarize source files, impacted callers/importers/exports, cycles, and analysis gaps before editing.
If the target file is unknown, first use read-only search or IDE navigation to resolve it. Then run the same gate.