gitnexus-refactoring

Refactor code across repositories with previews and dry runs.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/daudaudinang/vibecode --skill gitnexus-refactoring-daudaudinang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-refactoring
Source: https://github.com/daudaudinang/vibecode/tree/main/.agents/skills/gitnexus-refactoring
Command: npx skills add https://github.com/daudaudinang/vibecode --skill gitnexus-refactoring-daudaudinang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate safe code refactoring tasks such as renaming, extracting, splitting, or relocating code.

Core Features & Use Cases

  • Detects targets in a repo and plans refactor order (interfaces → implementations → callers → tests).
  • Executes safe changes with previews, dry-runs, and iterative checks to minimize risk.
  • Supports a GitNexus-driven workflow for symbol-level edits, module extraction, and service splits.

Quick Start

Initiate a safe refactor by renaming a function across a module and propagate changes with previews.

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 or extract code across multiple repositories?

To safely refactor code across repositories, you can rename, extract, or split components using deterministic steps, dry runs, and explicit change verification to prevent regressions. It analyzes targets, plans the refactor order, and propagates changes.

What is the safest way to plan a code refactoring order for interfaces and implementations?

Planning code refactoring requires a deterministic order: interfaces first, then implementations, followed by callers, and finally tests. This structured approach minimizes risk by ensuring dependencies are updated systematically before executing the actual code modifications.

Can I preview code modifications and run dry runs before applying a refactoring?

Yes, you can preview code modifications and run dry runs before applying changes. The refactoring process enforces iterative checks and explicit change verification during execution, allowing you to validate modifications safely without immediately altering your codebase.

Do I need a specific configuration to relocate or split modules across a repository?

Yes, relocating or splitting modules requires a GitNexus configuration to drive the workflow. This setup enables symbol-level edits, module extraction, and service splits across repositories while guiding the analysis and application of structural changes.

How do I verify code changes and prevent regressions during a module extraction?

To prevent regressions during module extraction, the refactoring process uses iterative checks and explicit change verification. It enforces deterministic steps and previews, ensuring that all structural modifications are validated before being applied to the codebase.

What are the limitations of automated code refactoring for split and relocation tasks?

Automated code refactoring for split and relocation tasks relies strictly on GitNexus configurations and deterministic steps. It does not apply changes without previews or dry runs, meaning unverified or non-explicit modifications outside this structured workflow are not supported.