code-review-graph-refactor
OfficialRefactor safely with impact-aware planning
Software Engineering#code review#refactoring#dependency graph#dead code detection#impact radius#rename analysis#safe change planning
AuthorAniTrend
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It reduces the risk of breaking code during refactors by using a code-review dependency graph to understand reachability, dead code, and rename impact before making changes.
Core Features & Use Cases
- Dependency-aware refactor planning: Uses graph context to reason about affected symbols and call paths rather than relying on manual searching.
- Dead code detection: Identifies unreferenced code paths to support cleanup and decomposition work.
- Rename and apply workflow with previews: Plans renames with an edit list preview and applies changes using a graph-validated refactor lifecycle.
Use this when you need to rename symbols, remove dead code, or break apart large functions while keeping blast radius controlled.
Quick Start
Start by orienting with mcp_code-review-g_get_minimal_context_tool using your refactor task, then preview the rename or dead-code plan with the graph refactor tool before applying any changes.
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: code-review-graph-refactor Download link: https://github.com/AniTrend/anitrend-v2/archive/main.zip#code-review-graph-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 471,000+ vetted skills library on demand.