#Refactoring

Showing 44 of 44 repositories tagged #refactoring, ranked by stars

pre-commit
pre-commit
pre-commit

A framework for managing and maintaining multi-language pre-commit hooks.

Score
100
โ˜… 15.4k โ‘‚ 983 +31/day
Python
ast-grep
ast-grep
ast-grep

โšกA CLI tool for code structural search, lint and rewriting. Written in Rust

Score
100
โ˜… 15.0k โ‘‚ 408 +66/day
Rust
pre-commit
pre-commit
pre-commit-hooks

Some out-of-the-box hooks for pre-commit

Score
80
โ˜… 6.6k โ‘‚ 792 +14/day
Python
ThreeDotsLabs
ThreeDotsLabs
wild-workouts-go-ddd-example

Go DDD example application. Complete project to show how to apply DDD, Clean Architecture, and CQRS by practical refactoring.

Score
80
โ˜… 6.4k โ‘‚ 579 +4/day
Go
davidhalter
davidhalter
jedi

Awesome autocompletion, static analysis and refactoring library for python

Score
60
โ˜… 6.2k โ‘‚ 531 โ€”
Python
biomejs
biomejs
gritql

GritQL is a query language for searching, linting, and modifying code.

Score
80
โ˜… 4.5k โ‘‚ 124 +13/day
Rust
repowise-dev
repowise-dev
repowise

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

Score
40
โ˜… 3.4k โ‘‚ 411 +23/day
Python
comby-tools
comby-tools
comby

A code rewrite tool for structural search and replace that supports ~every language.

Score
100
โ˜… 2.7k โ‘‚ 74 โ€”
OCaml
uber
uber
piranha

A tool for refactoring code related to feature flag APIs

Score
60
โ˜… 2.5k โ‘‚ 207 +1/day
Rust
wix-incubator
wix-incubator
vscode-glean

The extension provides refactoring tools for your React codebase

Score
62
โ˜… 1.5k โ‘‚ 56 โ€”
TypeScript
Wansmer
Wansmer
treesj

Neovim plugin for splitting/joining blocks of code

Score
88
โ˜… 1.3k โ‘‚ 50 +2/day
Lua
joealcorn
joealcorn
laboratory

Achieving confident refactoring through experimentation with Python 2.7 & 3.3+

Score
81
โ˜… 1.3k โ‘‚ 31 +1/day
Python
ml-tooling
ml-tooling
best-of-python-dev

๐Ÿ† A ranked list of awesome python developer tools and libraries. Updated weekly.

Score
100
โ˜… 1.3k โ‘‚ 76 โ€”
Python
hyhmrright
hyhmrright
brooks-lint

AI code reviews grounded in 12 classic engineering books โ€” decay risk diagnostics with book citations, severity labels, and 6 analysis modes including full-sweep auto-fix

Score
94
โ˜… 1.2k โ‘‚ 55 +18/day
JavaScript
bespoyasov
bespoyasov
refactor-like-a-superhero

How to refactor code efficiently and without pain.

Score
50
โ˜… 1.1k โ‘‚ 94 โ€”
phodal
phodal
coca

Coca is a toolbox which is design for legacy system refactoring and analysis, includes call graph, concept analysis, api tree, design patterns suggest. Coca ๆ˜ฏไธ€ไธช็”จไบŽ็ณป็ปŸ้‡ๆž„ใ€็ณป็ปŸ่ฟ็งปๅ’Œ็ณป็ปŸๅˆ†ๆž็š„ๅทฅๅ…ท็ฎฑใ€‚ๅฎƒๅฏไปฅๅˆ†ๆžไปฃ็ ไธญ็š„ๆต‹่ฏ•ๅๅ‘ณ้“ใ€ๆจกๅ—ๅŒ–ๅˆ†ๆžใ€่กŒๆ•ฐ็ปŸ่ฎกใ€ๅˆ†ๆž่ฐƒ็”จไธŽไพ่ต–ใ€Git ๅˆ†ๆžไปฅๅŠ่‡ชๅŠจๅŒ–้‡ๆž„็ญ‰ใ€‚

Score
40
โ˜… 988 โ‘‚ 116 โ€”
Go
busser
busser
tfautomv

Generate Terraform moved blocks automatically for painless refactoring

Score
60
โ˜… 898 โ‘‚ 25 โ€”
Go
nicoespeon
nicoespeon
abracadabra

JS & TS automated refactorings for the VS Code editor โœจ It's magic โœจ

Score
100
โ˜… 887 โ‘‚ 52 +1/day
TypeScript
asottile
asottile
reorder-python-imports

Rewrites source to reorder python imports

Score
20
โ˜… 782 โ‘‚ 59 โ€”
Python
CodelyTV
CodelyTV
refactoring-code_smells-design_patterns

โ™ป๏ธ Example projects illustrating Code Smells in order to apply Refactoring techniques

Score
100
โ˜… 595 โ‘‚ 140 +1/day
PHP
Cranot
Cranot
roam-code

Local codebase intelligence CLI + MCP server for AI coding agents: SQLite code graph, 28 languages, 238 commands, 224 MCP tools, change-safety gates, audit evidence, zero API keys.

Score
75
โ˜… 495 โ‘‚ 47 +1/day
Python
godoctor
godoctor
godoctor

Go Doctor - The Golang Refactoring Engine

Score
20
โ˜… 462 โ‘‚ 29 โ€”
Go
essentialdevelopercom
essentialdevelopercom
quiz-app

A repository reflecting the progress made on the "How to Build iOS Apps with Swift, TDD & Clean Architecture" YouTube series, by Caio & Mike.

Score
50
โ˜… 435 โ‘‚ 134 โ€”
Swift
wmjordan
wmjordan
Codist

A visual studio extension which enhances syntax highlighting, quick info (tooltip), navigation bar, scrollbar, display quality, and brings smart tool bar with code refactoring to code editor.

Score
69
โ˜… 393 โ‘‚ 34 โ€”
C#
gp-pereira
gp-pereira
refactorex

A VS Code extension for fast and reliable Elixir code refactoring.

Score
25
โ˜… 280 โ‘‚ 7 โ€”
Elixir
LegacyCodeHQ
LegacyCodeHQ
eureka

Breakthrough tooling to work with Kotlin and Java codebases ๐Ÿš€

Score
100
โ˜… 197 โ‘‚ 9 โ€”
Kotlin
rokoss21
rokoss21
iosm-cli

AI Engineering Runtime for Professional Developers โ€” terminal coding agent with IOSM methodology, MCP, checkpoints, orchestration, and extensions

Score
56
โ˜… 170 โ‘‚ 2 โ€”
TypeScript
denzyldick
denzyldick
phanalist

Performant static analyzer for PHP, which is extremely easy to use. It helps you catch common mistakes in your PHP code.

Score
40
โ˜… 160 โ‘‚ 8 โ€”
Rust
joereynolds
joereynolds
mort

Dead CSS detection

Score
0
โ˜… 114 โ‘‚ 4 โ€”
TypeScript
cqfn
cqfn
aibolit

A Static Analyzer for Java Powered by Machine Learning: Identifies Anti-Patterns Begging for Refactoring

Score
0
โ˜… 101 โ‘‚ 47 +1/day
Java
LogicStamp
LogicStamp
logicstamp-context

A Context Compiler for TypeScript. Deterministic, diffable architectural contracts and dependency graphs for AI coding workflows.

Score
50
โ˜… 86 โ‘‚ 7 โ€”
TypeScript
YaroSpace
YaroSpace
dev-tools.nvim

Friendly developer tools for Nvim - Code Actions LSP server and library

Score
19
โ˜… 86 โ‘‚ 3 +1/day
Lua
jelmersnoeck
jelmersnoeck
experiment

A Go package for experimenting with and evaluating new code paths.

Score
0
โ˜… 77 โ‘‚ 9 โ€”
Go
thanus
thanus
reboot

ReBoot: a refactoring tool to automatically apply best practices in Java / Spring-Boot applications.

Score
0
โ˜… 69 โ‘‚ 3 โ€”
Kotlin
Borda
Borda
pyDeprecate

Smoothly deprecate and redirect Python functions/classes with smart warnings and auto-routingโ€”keep your codebase clean while maintaining backward compatibility

Score
44
โ˜… 59 โ‘‚ 6 +1/day
Python
slonoed
slonoed
jsref

JavaScript refactoring language server

Score
6
โ˜… 56 โ‘‚ 3 โ€”
TypeScript
camilooscargbaptista
camilooscargbaptista
architect

AI-powered architecture analysis plugin for Claude Code. Generates diagrams, detects anti-patterns, and scores your codebase 0-100.

Score
31
โ˜… 53 โ‘‚ 6 +1/day
TypeScript
OldJii
OldJii
dead-code-pruner

Conservative multi-language dead-code elimination with tree-sitter: feature flag cleanup, constant folding, branch cleanup, method pruning, and dynamic-entry protection.

Score
38
โ˜… 51 โ‘‚ 0 +51/day
Python
mohammadrasoulasghari
mohammadrasoulasghari
ai-prompts

The first Persian repository of AI prompts for developers. Enhance your coding workflow with optimized prompts for code refactoring, debugging, testing, and documentation. Save time and boost your development speed!

Score
0
โ˜… 40 โ‘‚ 7 โ€”
AnamKwon
AnamKwon
programming-as-theory-building-skill

Claude Code skill that applies Naur's Programming as Theory Building to coding-agent workflows.

Score
0
โ˜… 29 โ‘‚ 2 +1/day
Python
otaleghani
otaleghani
dwight.nvim

"Assistant to the regional coder". A Neovim AI assistant that puts you in the driver's seat with project-local skills and context-aware generation.

Score
12
โ˜… 22 โ‘‚ 1 โ€”
Lua
talkpython
talkpython
just-enough-python-for-datasci-course

Just Enough Python for Data Science course materials.

Score
0
โ˜… 19 โ‘‚ 28 โ€”
Jupyter Notebook
Romelium
Romelium
mpatch

Applies diffs based on context, not line numbers. Useful for AI-generated code.

Score
20
โ˜… 18 โ‘‚ 3 โ€”
Rust
cool-japan
cool-japan
splitrs

SplitRS uses AST-based analysis to automatically refactor large Rust source files (>1000 lines) into well-organized, compilable modules.

Score
0
โ˜… 17 โ‘‚ 0 โ€”
Rust
Related Topics
#developer-tools#python#static-analysis#typescript#javascript#linter#code-quality#java#llm#rust#ai#cli

ยฉ 2026 GitRepoTrend ยท GitHub repositories by topic ยท Updated weekly