gitnexus-refactoring

Rename, extract, and split code symbols using GitNexus CLI graph analysis.

1|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/raybird/telenexus --skill gitnexus-refactoring-raybird
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-refactoring
Source: https://github.com/raybird/telenexus/tree/main/.claude/skills/gitnexus/gitnexus-refactoring
Command: npx skills add https://github.com/raybird/telenexus --skill gitnexus-refactoring-raybird

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill mitigates the risks associated with large-scale code refactoring, such as breaking dependencies or missing references, by providing a structured, graph-aware approach to renaming, extracting, and splitting code.

Core Features & Use Cases

  • Automated Symbol Renaming: Safely rename functions and classes across multiple files with impact analysis.
  • Dependency Mapping: Visualize incoming and outgoing references to ensure refactoring doesn't break existing execution flows.
  • Verification: Detect changes and verify scope after refactoring to ensure system integrity.
  • Use Case: When extracting a shared utility function into a new module, use this skill to map all upstream callers and ensure the new interface is correctly implemented without breaking dependent services.

Quick Start

Use the gitnexus-refactoring skill to safely rename the function validateUser to authenticateUser across the entire project.

Frequently Asked Questions about gitnexus-refactoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely rename a function across multiple files without breaking dependencies?

Safe code refactoring requires analyzing dependency graphs and execution flows before modifying symbols. By mapping incoming and outgoing references, you can identify affected processes and validate changes through AST search to ensure structural integrity.

What is the best way to extract a shared utility function into a new module?

Extracting a shared utility function safely requires mapping all upstream callers to ensure the new interface works. Dependency graph analysis and AST search validate the refactoring scope, ensuring no dependent services break during the extraction.

Do I need GitNexus CLI tools to perform graph-aware code refactoring?

Yes, GitNexus CLI tools are required for this refactoring process. The tools map code relations and validate changes through AST search and graph analysis, enabling safe renaming, extracting, and splitting of symbols within the codebase.

How does AST search help with splitting code symbols in a complex codebase?

AST search helps with splitting code symbols by validating changes and verifying scope after refactoring. It enables structural integrity checks by analyzing dependency graphs and execution flows to identify all affected processes within the codebase.

Can I visualize incoming and outgoing references before restructuring my codebase?

Yes, you can visualize incoming and outgoing references through dependency mapping. This feature ensures refactoring does not break existing execution flows by providing a graph-aware approach to identify affected processes before making structural changes.