Git Stars Git Stars

#refactoring Repositories

Discover 63 active open source GitHub repositories tagged with #refactoring, accumulating 188,982 total stars (averaging 2,999 stars per project). Leading this topic is ast-grep/ast-grep with 16,651 stars.

63
Total Repositories
188,982
Total Stars
2,999
Avg Stars/Repo
1
ast-grep/ast-grep

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

ast-grep
โญ 16,651 Rust ๐Ÿ‘ค ast-grep Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2022-07-01
2
nickbutcher/plaid

An Android app which provides design news & inspiration as well as being an example of implementing material design.

nickbutcher
โญ 16,230 Kotlin ๐Ÿ‘ค nickbutcher User ๐Ÿ• Updated 2024-01-04 ๐Ÿ“… Created 2015-10-30
3
pre-commit/pre-commit

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

pre-commit
โญ 15,707 Python ๐Ÿ‘ค pre-commit Organization ๐Ÿ• Updated 2026-11-09 ๐Ÿ“… Created 2014-03-13
4
piotrplenik/clean-code-php

:bathtub: Clean Code concepts adapted for PHP

piotrplenik
โญ 12,449 PHP ๐Ÿ‘ค piotrplenik User ๐Ÿ• Updated 2024-05-09 ๐Ÿ“… Created 2017-01-16
5
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.

repowise-dev
โญ 8,189 Python ๐Ÿ‘ค repowise-dev Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2026-03-23
6
github/scientist

:microscope: A Ruby library for carefully refactoring critical paths.

github
โญ 7,794 Ruby ๐Ÿ‘ค github Organization ๐Ÿ• Updated 2026-11-13 ๐Ÿ“… Created 2014-02-05
7
pre-commit/pre-commit-hooks

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

pre-commit
โญ 6,753 Python ๐Ÿ‘ค pre-commit Organization ๐Ÿ• Updated 2026-11-04 ๐Ÿ“… Created 2014-03-13
8
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.

ThreeDotsLabs
โญ 6,507 Go ๐Ÿ‘ค ThreeDotsLabs Organization ๐Ÿ• Updated 2026-08-27 ๐Ÿ“… Created 2020-05-06
9
davidhalter/jedi

Awesome autocompletion, static analysis and refactoring library for python

davidhalter
โญ 6,189 Python ๐Ÿ‘ค davidhalter User ๐Ÿ• Updated 2026-11-02 ๐Ÿ“… Created 2012-02-19
10
meltylabs/melty

Chat first code editor. To download the packaged app:

meltylabs
โญ 5,450 TypeScript ๐Ÿ‘ค meltylabs Organization ๐Ÿ• Updated 2024-11-14 ๐Ÿ“… Created 2024-09-02
11
davidhalter/jedi-vim

Using the jedi autocompletion library for VIM.

davidhalter
โญ 5,298 Python ๐Ÿ‘ค davidhalter User ๐Ÿ• Updated 2026-10-13 ๐Ÿ“… Created 2012-09-18
12
biomejs/gritql

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

biomejs
โญ 4,629 Rust ๐Ÿ‘ค biomejs Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2024-03-08
13
emilybache/GildedRose-Refactoring-Kata

Starting code for the GildedRose Refactoring Kata in many programming languages.

emilybache
โญ 4,323 XSLT ๐Ÿ‘ค emilybache User ๐Ÿ• Updated 2026-08-21 ๐Ÿ“… Created 2013-06-10
14
openrewrite/rewrite

Automated mass refactoring of source code.

openrewrite
โญ 4,003 Java ๐Ÿ‘ค openrewrite Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2020-05-12
15
danielstjules/jsinspect

Detect copy-pasted and structurally similar code

danielstjules
โญ 3,585 JavaScript ๐Ÿ‘ค danielstjules User ๐Ÿ• Updated 2024-03-20 ๐Ÿ“… Created 2014-09-15
16
andersontr15/clean-code-javascript-es

Clean Code translated to Spanish

andersontr15
โญ 3,511 JavaScript ๐Ÿ‘ค andersontr15 User ๐Ÿ• Updated 2024-08-17 ๐Ÿ“… Created 2017-02-16
17
ciembor/agent-rules-books

AGENTS.md rules / skills for AI coding agents: Codex, Cursor & Claude Code. Inspired by Clean Code, Refactoring, DDD, Clean Architecture and DDIA programming books.

ciembor
โญ 3,325 ๐Ÿ‘ค ciembor User ๐Ÿ• Updated 2026-09-10 ๐Ÿ“… Created 2026-04-16
18
joebew42/study-path

A curated, open, and ever-evolving learning path focused on practices of software development, principles of software design, and software architecture.

joebew42
โญ 3,010 ๐Ÿ‘ค joebew42 User ๐Ÿ• Updated 2026-09-01 ๐Ÿ“… Created 2015-09-30
19
comby-tools/comby

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

comby-tools
โญ 2,691 OCaml ๐Ÿ‘ค comby-tools Organization ๐Ÿ• Updated 2026-11-06 ๐Ÿ“… Created 2019-04-08
20
joaotavora/eglot

A client for Language Server Protocol servers

joaotavora
โญ 2,575 Emacs Lisp ๐Ÿ‘ค joaotavora User ๐Ÿ• Updated 2026-11-07 ๐Ÿ“… Created 2017-08-16
21
redhat-et/ripwire

The ripgrep of AI context: a zero-dependency C++23 CLI + MCP server for coding agents. Cut agent token costs by finding code without reading the repo, then keep large codebases off the complexity wall: blast radius, tests to run, quality deltas as you write. Every guess labelled, every loss published. Paddle out with a map.

redhat-et
โญ 2,560 C++ ๐Ÿ‘ค redhat-et Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2026-07-29
22
uber/piranha

A tool for refactoring code related to feature flag APIs

uber
โญ 2,529 Rust ๐Ÿ‘ค uber Organization ๐Ÿ• Updated 2026-10-20 ๐Ÿ“… Created 2018-12-06
23
unjs/magicast

๐Ÿง€ Programmatically modify JavaScript and TypeScript source codes with a simplified, elegant and familiar syntax powered by recast and babel.

unjs
โญ 2,478 TypeScript ๐Ÿ‘ค unjs Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2021-05-25
24
python-rope/rope

a python refactoring library

python-rope
โญ 2,247 Python ๐Ÿ‘ค python-rope Organization ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2013-11-30
25
AndrewRadev/splitjoin.vim

Switch between single-line and multiline forms of code

AndrewRadev
โญ 1,970 Vim Script ๐Ÿ‘ค AndrewRadev User ๐Ÿ• Updated 2026-10-01 ๐Ÿ“… Created 2011-03-06
26
HugoMatilla/The-Pragmatic-Programmer

Summary of the book The Pragmatic Programmer by Andrew Hunt and David Thomas

HugoMatilla
โญ 1,961 ๐Ÿ‘ค HugoMatilla User ๐Ÿ• Updated 2025-09-30 ๐Ÿ“… Created 2016-08-22
27
phpactor/phpactor

Mainly a PHP Language Server with more features than you can shake a stick at

phpactor
โญ 1,931 PHP ๐Ÿ‘ค phpactor Organization ๐Ÿ• Updated 2026-11-19 ๐Ÿ“… Created 2015-09-24
28
sourcery-ai/sourcery

Instant AI code reviews

sourcery-ai
โญ 1,890 ๐Ÿ‘ค sourcery-ai Organization ๐Ÿ• Updated 2026-11-10 ๐Ÿ“… Created 2019-07-15
29
ternjs/tern_for_vim

Tern plugin for Vim

ternjs
โญ 1,820 Python ๐Ÿ‘ค ternjs Organization ๐Ÿ• Updated 2024-02-13 ๐Ÿ“… Created 2013-04-29
30
johnousterhout/aposd-vs-clean-code

A discussion between John Ousterhout and Robert Martin about differences between John's book "A Philosophy of Software Design" and Bob's book "Clean Code".

johnousterhout
โญ 1,694 ๐Ÿ‘ค johnousterhout User ๐Ÿ• Updated 2025-04-15 ๐Ÿ“… Created 2024-09-04
31
ndmitchell/hlint

Haskell source code suggestions

ndmitchell
โญ 1,619 Haskell ๐Ÿ‘ค ndmitchell User ๐Ÿ• Updated 2026-11-06 ๐Ÿ“… Created 2013-07-23
32
hyhmrright/brooks-lint

Portable AI code quality reviews for Codex, Cursor, Copilot and other coding agents: six Agent Skills for architecture, technical debt, tests and remediation.

hyhmrright
โญ 1,584 HTML ๐Ÿ‘ค hyhmrright User ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2026-03-26
33
Wansmer/treesj

Neovim plugin for splitting/joining blocks of code

Wansmer
โญ 1,364 Lua ๐Ÿ‘ค Wansmer User ๐Ÿ• Updated 2026-09-23 ๐Ÿ“… Created 2022-11-11
34
ml-tooling/best-of-python-dev

A ranked list of awesome python developer tools and libraries. Updated weekly.

ml-tooling
โญ 1,320 Python ๐Ÿ‘ค ml-tooling Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2021-01-08
35
abo-abo/lispy

Short and sweet LISP editing

abo-abo
โญ 1,297 Emacs Lisp ๐Ÿ‘ค abo-abo User ๐Ÿ• Updated 2026-01-23 ๐Ÿ“… Created 2014-01-10
36
joealcorn/laboratory

Achieving confident refactoring through experimentation with Python 2.7 & 3.3+

joealcorn
โญ 1,280 Python ๐Ÿ‘ค joealcorn User ๐Ÿ• Updated 2025-12-22 ๐Ÿ“… Created 2016-02-11
37
nunomaduro/essentials

Just better defaults for your Laravel projects.

nunomaduro
โญ 1,244 PHP ๐Ÿ‘ค nunomaduro User ๐Ÿ• Updated 2026-11-10 ๐Ÿ“… Created 2025-04-11
38
codemod/codemod

The CLI for codemods: scaffold, share, and run multi-step transformations of any size. First-class ast-grep support. Fast, reliable, polyglot.

codemod
โญ 1,129 Rust ๐Ÿ‘ค codemod Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2024-01-26
39
bespoyasov/refactor-like-a-superhero

How to refactor code efficiently and without pain.

bespoyasov
โญ 1,068 ๐Ÿ‘ค bespoyasov User ๐Ÿ• Updated 2025-05-25 ๐Ÿ“… Created 2022-08-19
40
phenomnomnominal/tsquery

TypeScript AST query library

phenomnomnominal
โญ 1,059 TypeScript ๐Ÿ‘ค phenomnomnominal User ๐Ÿ• Updated 2026-04-06 ๐Ÿ“… Created 2018-04-21
41
uber-go/gopatch

Refactoring and code transformation tool for Go.

uber-go
โญ 1,031 Go ๐Ÿ‘ค uber-go Organization ๐Ÿ• Updated 2025-02-11 ๐Ÿ“… Created 2020-11-30
42
phodal/coca

Coca is a toolbox designed for legacy system refactoring and analysis, including call graph, concept analysis, API tree, and design patterns suggestions. Coca is a toolbox for system refactoring, system migration, and system analysis. It can analyze test code smells in code, modularization analysis, line count statistics, call and dependency analysis, Git analysis, and automated refactoring, etc.

phodal
โญ 990 Go ๐Ÿ‘ค phodal User ๐Ÿ• Updated 2026-01-06 ๐Ÿ“… Created 2019-10-22
43
seattlerb/flog

Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in.

seattlerb
โญ 972 Ruby ๐Ÿ‘ค seattlerb Organization ๐Ÿ• Updated 2026-11-09 ๐Ÿ“… Created 2009-02-18
44
busser/tfautomv

Generate Terraform moved blocks automatically for painless refactoring

busser
โญ 899 Go ๐Ÿ‘ค busser User ๐Ÿ• Updated 2026-11-10 ๐Ÿ“… Created 2022-04-16
45
nicoespeon/abracadabra

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

nicoespeon
โญ 896 TypeScript ๐Ÿ‘ค nicoespeon User ๐Ÿ• Updated 2026-11-01 ๐Ÿ“… Created 2019-05-24
46
scalacenter/scalafix

Refactoring and linting tool for Scala

scalacenter
โญ 878 Scala ๐Ÿ‘ค scalacenter Organization ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2016-08-08
47
max-mapper/callback-hell

information about async javascript programming

max-mapper
โญ 859 JavaScript ๐Ÿ‘ค max-mapper User ๐Ÿ• Updated 2024-05-13 ๐Ÿ“… Created 2012-07-12
48
asottile/reorder-python-imports

Rewrites source to reorder python imports

asottile
โญ 780 Python ๐Ÿ‘ค asottile User ๐Ÿ• Updated 2026-11-04 ๐Ÿ“… Created 2015-01-01
49
ardalis/kata-catalog

My list of code katas

ardalis
โญ 766 C# ๐Ÿ‘ค ardalis User ๐Ÿ• Updated 2024-02-14 ๐Ÿ“… Created 2014-07-19
50
pappasam/jedi-language-server

A Python language server exclusively for Jedi. If Jedi supports it well, this language server should too.

pappasam
โญ 734 Python ๐Ÿ‘ค pappasam User ๐Ÿ• Updated 2026-06-23 ๐Ÿ“… Created 2019-08-19

Frequently Asked Questions

1

What is the most popular #refactoring repository on GitHub?

The top ranked open source #refactoring project on GitHub is ast-grep/ast-grep with 16,651 stars. A CLI tool for code structural search, lint and rewriting. Written in Rust

2

Which programming languages are most used in #refactoring repositories?

Among the top ranked #refactoring projects on GitHub, the most common programming languages are Python, Rust, Go, TypeScript.

3

How is the #refactoring repository ranking calculated?

We track 63 active open source repositories tagged with #refactoring (500+ stars), totaling 188,982 stars with an average of 2,999 stars per repository. Rankings update daily from the GitHub API.