gitnexus-refactoring

Rename, extract, split, or move code across a repository with dependency tracking.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/RUSHYOP/imperium-cli --skill gitnexus-refactoring-rushyop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-refactoring
Source: https://github.com/RUSHYOP/imperium-cli/tree/main/.github/skills/gitnexus-refactoring
Command: npx skills add https://github.com/RUSHYOP/imperium-cli --skill gitnexus-refactoring-rushyop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Safely renames, extracts, splits, or moves code across a repository.

Core Features & Use Cases

  • Impact analysis: map dependents before applying changes.
  • Context-aware edits: query and view all incoming/outgoing refs.
  • Guided plan and verification: orderly update plans with checks to prevent breaking changes.

Quick Start

Provide the target symbol and the new name to initiate a safe refactor.

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 modules without breaking dependencies?

To safely rename a function, you need automated impact analysis to map all incoming and outgoing references before applying changes. This ensures dependencies are tracked across multiple modules, preventing breaking changes during the refactor.

What is the best way to restructure files and split services in a large codebase?

The best way to restructure files and split services is using a guided plan with verification checks. This approach applies context-aware edits and queries all references, ensuring an orderly update process that prevents breaking changes.

How does impact analysis work when extracting modules from existing code?

Impact analysis for extracting modules works by mapping all dependents before applying changes. It queries and views all incoming and outgoing references to provide context-aware edits, ensuring safe code extraction.

Can I move code across a repository and track dependencies automatically?

Yes, you can move code across a repository with automated dependency tracking. The process provides impact analysis and a step-by-step update plan with verification to prevent breaking changes during the move.

What should I provide to start a safe code refactoring task?

To start a safe code refactoring task, you provide the target symbol and the new name. This initiates the automated impact analysis and generates a guided update plan with verification checks.

When do I need automated impact analysis for a code refactor?

You need automated impact analysis when renaming, extracting, splitting, or moving code across multiple modules. It maps dependents and queries references beforehand to prevent breaking changes in the repository.