
Gitnexus Refactoring
Semantic, plan-gated rename and refactoring workflow that binds repository identity before any file writes.
- skills.sh installs
- 1.8K
- GitHub stars
- 48.7K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers safe rename, extract, split, and move workflows, using dependency impact and execution-flow analysis before edits
- Includes
renamewith a dry-run preview, single-useplan_tokenapply, and checklists for rename, extract module, and split service - Enforces repository binding through
list_reposand fails closed on stale indexes, source changes, and ambiguous or unsupported references - Designed for multi-repository workspaces and linked worktrees where an unbound write could edit the wrong checkout
Install
$ npx -y skills add abhigyanpatwari/gitnexus --skill gitnexus-refactoring -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Refactoring with GitNexus
When to Use
- "Rename this function safely"
- "Extract this into a module"
- "Split this service"
- "Move this to a new file"
- Any task involving renaming, extracting, splitting, or restructuring code
Bind the repository first
Refactoring writes to disk. rename with dry_run: false edits files in
whichever repository was resolved, so binding identity here is a safety gate,
not bookkeeping.
Call list_repos {} before the first tool call. With one indexed repository,
use the examples below as written. With more than one, pass repo on every
call: an omitted repo normally errors, but under an MCP policy with a
configured default it resolves to that default silently. If you cannot tell
which repository is meant, stop and ask. Never run rename with
dry_run: false until the preview in the same bound repository has been
reviewed — its returned file_path values show which checkout is about to be
written, so read them as a confirmation of identity.
list_repos is paginated, so page with offset: pagination.nextOffset until
hasMore is false before concluding a repository is absent.
Details
- Repository
- github.com/abhigyanpatwari/gitnexus
- Category
- Code Review & Quality
- First seen
- May 16, 2026
More from abhigyanpatwari/gitnexus
All 7Similar to Gitnexus Refactoring
More Code Review & Quality
Refactor SafelySkilltirth8205/code-review-graph345 installsPlans refactors from the dependency graph and applies renames only after previewing the edit list.
refactorSkillparcadei/continuous-claude-v3624 installsSafe refactoring workflow that chains analysis, planning, implementation, review, and test validation through named agents.
gitnexus-impact-analysisSkillabhigyanpatwari/gitnexus2K installsTurn impact analysis into a pre-edit safety check that reports what breaks before code changes.
ruflo-jujutsuPluginruvnet/ruflo82.2K starsAdvanced git workflows with diff analysis, risk scoring, and reviewer recommendations
gitnexus-exploringSkillabhigyanpatwari/gitnexus1.9K installsExplains how code works by exploring symbols, call graphs, and execution flows in an indexed codebase.
refactor-planSkillgithub/awesome-copilot13.1K installsPlan a multi-file refactor by investigating the codebase first, then stop for confirmation before any edits.