Plan and execute safe refactoring using dependency analysis
73%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/refactor-safely/SKILL.mdPlan a refactor from the dependency graph and apply renames from a preview.
refactor_tool with mode="suggest" for refactoring candidates, or mode="dead_code" for unreferenced code.refactor_tool with mode="rename", old_name and new_name. Check the returned edit list before applying.apply_refactor_tool with the returned refactor_id to apply the rename.get_impact_radius_tool and get_affected_flows_tool to see the dependents and critical paths involved.find_large_functions_tool to find functions worth splitting.detect_changes_tool to confirm the impact matches the plan.get_minimal_context_tool(task="<your task>") before any other graph tool.detail_level="minimal" wherever a tool accepts it. Use "standard" only when minimal is not enough.query_graph_tool call over a broad listing call.tirth8205/code-review-graph
115dccf
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.