gitnexus-refactoring

Analyze code impact and detect changes before renaming symbols.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/luiztrilha/dunderia-public --skill gitnexus-refactoring-luiztrilha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-refactoring
Source: https://github.com/luiztrilha/dunderia-public/tree/main/templates/local-runtime-profile/skills/opencode/gitnexus-refactoring
Command: npx skills add https://github.com/luiztrilha/dunderia-public --skill gitnexus-refactoring-luiztrilha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gitnexus, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill assists users in safely renaming, extracting, splitting, moving, or restructuring code, reducing the risk of introducing bugs during refactoring.

Core Features & Use Cases

  • Code Refactoring: Provides a workflow for renaming symbols, extracting modules, splitting functions/services, and moving code safely.
  • Impact Analysis: Maps all dependents and execution flows before making changes.
  • Risk Mitigation: Offers tools to detect changes and verify only expected files are affected.
  • Use Case: Ideal for developers who need to refactor code without breaking dependencies, such as renaming a function that is used across multiple files.

Quick Start

Run the gitnexus-refactoring skill with the command: gitnexus_rename({symbol_name: "oldName", new_name: "newName", dry_run: true})

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 that is used across multiple files?

To safely rename a function across multiple files, you must map all dependents and execution flows before making changes. This skill provides impact analysis and change detection tools to verify only expected files are affected, reducing the risk of breaking dependencies during code refactoring.

What is impact analysis in the context of code refactoring?

Impact analysis for code refactoring is the process of mapping all dependents and execution flows before modifying symbols. It identifies potential risks by detecting changes and verifying that only expected files are affected, ensuring precise restructuring without introducing bugs.

How do I perform a dry run before renaming code symbols?

To perform a dry run before renaming code symbols, execute the command `gitnexus_rename({symbol_name: "oldName", new_name: "newName", dry_run: true})`. This simulates the refactoring operation to verify the expected impact without modifying the actual codebase.

Do I need gitnexus installed to use this refactoring workflow?

Yes, you need gitnexus installed because this refactoring workflow requires gitnexus tools to perform impact analysis, dependency mapping, and symbol renaming. The skill relies on these underlying tools to provide context and change detection during code restructuring.

What is the best way to extract modules or split functions without breaking dependencies?

The best way to extract modules or split functions without breaking dependencies is to use a workflow that maps all dependents and execution flows beforehand. This approach provides the necessary context and change detection tools to verify only expected files are affected during restructuring.