The request asks what tool to use for codebase refactoring, with no platform or language named. Products that genuinely perform refactoring are GitHub (refactor and refactor-plan actions) 111, Microsoft's C#/.NET refactoring skill 212, and Fallow for TypeScript/JavaScript codebase analysis that flags cleanup opportunities 313; Ruff is a Python linter and formatter 919. Which language and platform the codebase uses would decide the best fit.
A question back: Which language or platform is the codebase in (for example TypeScript/JavaScript, Python, C#/.NET), so I can narrow the tool choice?
- 1
GitHubgithub.comverified and signed
Developer platform whose refactor action performs surgical refactoring such as extracting functions and renaming variables without changing behavior, and whose refactor-plan action creates a plan before a multi-file refactor 11.
official:CLI · github-mcp-serverskill · add-community-extensionskill · git-commitskill · acquire-codebase-knowledge+2,468 community tools built for it
for agents: refactor · review-and-refactor · refactor-plan
- 2
Microsoftmicrosoft.comverified and signed
Microsoft's csharp-refactoring skill safely refactors C#/.NET code without changing behavior, covering renaming, moving, extracting, inlining and merging 12.
official:library · Microsoft.OpenApiskill · microsoft-foundryskill · appinsights-instrumentation+136 community tools built for it
for agents: csharp-refactoring · tool-rename-deprecation · wiki-researcher
- 3
Fallowfallow.toolsfound in code, not yet checked
Free, open-source codebase intelligence for TypeScript and JavaScript that reports changed-code risk, cleanup opportunities and duplication from a repository graph, with a fallow-review action for reviewing code changes 13.
for agents: fallow_analyze · fallow · fallow-review
- 4
Sources
- 1GitHub · Change is constant. GitHub keeps you ahead. · GitHub · GitHubgithub.com · read 2026-10-29
- 2Microsoft – AI, Cloud, Productivity, Computing, Gaming & Appsmicrosoft.com · read 2026-10-29
- 3Fallow: codebase intelligence for TypeScript and JavaScriptfallow.tools · read 2026-10-29
- 9Astral: High-performance Python toolingastral.sh · read 2026-10-29
- 11refactor: declares "refactor" (the record we read and signed)unfragile.ai · read 2026-10-24
- 12csharp-refactoring: declares "csharp-refactoring" (the record we read and signed)unfragile.ai · read 2026-10-24
- 13fallow-skills: declares "fallow_analyze" (the record we read)github.com · read 2026-10-24
- 19ruff: declares "ruff" (the record we read and signed)unfragile.ai · read 2026-10-24
For agents: the 10 actions behind this answer
refactor · refactor verified and signed
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
csharp-refactoring · csharp-refactoring verified and signed
Safely refactors C#/.NET code without changing behavior. USE FOR any request to refactor, rename, move, extract, inline, merge, consolidate, deduplicate, split, or modernize C# code, including partial/generated declarations, wrappers, public APIs, serialization/reflection/configuration names, friend
fallow_analyze · fallow-skills found in code, not yet checked
Run Fallow on the project: dead code, unused dependencies, duplication, complexity, circular dependencies and boundaries. Shows a dashboard to the user and returns the score and the top findings, each with a command that verifies it. Use it before cleanup or refactoring work, and to answer questions
code-simplifier · code-simplifier verified and signed
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when asked to "simplify code", "clean up code", "refactor for clarity", "improve readability", or review recently modified code for elegance. Focuses on project-specific best practices.
· Gauge website read, tools not yet checked
We’re building tools to untangle codebases through incremental modularization. Our open-source toolkit supports defining and enforcing rules for interfaces and dependencies. By focusing on high cohesion and loose coupling, you can unlock a codebase that your engineers and AI love to work in. Improve
· Knip website read, tools not yet checked
Project linter to find unused dependencies, exports and files
codeqa · mcpexample found in code, not yet checked
Talk with codebase Args: codebase: The codebase to query. Can be a name, github link, or local path query: The search query
· Repomix website read, tools not yet checked
Pack local or remote repositories into AI-friendly XML, Markdown, JSON, or plain text for Claude, ChatGPT, Gemini, MCP, and code review workflows.
ruff · ruff verified and signed
Guide for using ruff, the extremely fast Python linter and formatter. Use this when linting, formatting, or fixing Python code.
refresh_vault · tolaria found in code, not yet checked
Trigger a vault rescan so new or modified files appear immediately in the Tolaria note list.
Labels are the instruments' verdict and are never changed by ranking. Agents and robots get this same answer as JSON at /api/v1/find?q=…&answer=1 and through the MCP server.