gitnexus-refactoring

Automate code refactoring by mapping dependencies and updating imports across a codebase.

1|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/hbvg234/jnmt.vn --skill gitnexus-refactoring-hbvg234
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-refactoring
Source: https://github.com/hbvg234/jnmt.vn/tree/main/Claude-code/.claude/skills/gitnexus/gitnexus-refactoring
Command: npx skills add https://github.com/hbvg234/jnmt.vn --skill gitnexus-refactoring-hbvg234

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers rename, extract, split, move, or restructure code safely across a codebase, minimizing manual edits and breaking-change risks.

Core Features & Use Cases

  • Automated impact analysis and references tracking with gitnexus_impact and gitnexus_context.
  • Module and symbol refactoring: extract module, split function, rename symbols with import updates.
  • Change planning and verification: track planned edits, detect changes with gitnexus_detect_changes, and validate tests.

Quick Start

Provide the symbol to rename and its new name, then review the planned edits before applying changes.

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 symbols and update imports across a multi-file project?

To safely rename symbols in a multi-file project, this skill maps dependencies and automates import updates. It verifies the impact scope and validates tests before applying planned edits to prevent breaking changes.

What is the best way to extract a module or split a function without breaking existing code?

The best way to extract a module or split a function without breaking code is using automated dependency analysis. It tracks references, coordinates changes, and validates tests to ensure structural integrity during refactoring.

How does dependency analysis work when moving files in a codebase?

Dependency analysis for moving files works by tracking references and mapping import relationships across the codebase. It identifies the full impact scope, allowing you to coordinate structural changes and verify nothing breaks before applying edits.

Do I need specific tools to automate code refactoring and track planned edits?

Yes, automating safe code refactoring requires the gitnexus toolchain to coordinate changes, verify scope, and validate tests. You provide the target symbol and review the planned edits before applying the modifications.

Can I review planned edits before applying code movement or refactoring changes?

Yes, you can review planned edits before applying code movement or refactoring changes. The workflow detects changes, tracks planned edits, and validates tests, ensuring you verify the complete impact scope before applying modifications.