Topics / #clean-code

Clean-code projects on GitHub

Principles and refactored examples of clean, maintainable code.

As of , the most-starred Clean-code projects on GitHub are clean-code-javascript (94.7K stars), guide (17.7K stars) and Android-CleanArchitecture (15.5K stars). GitHub.Locker tracks 10 Clean-code repositories with 218.6K stars combined. The fastest-growing on October 17 was rust-clippy, with +5 stars in a day.

10Projects
218.6KStars in total
+17Stars in a day

Hot right now

Most stars gained in a day · Oct 17

The all-time top

10 projects · by stars

  1. #1 · ryanmcdermott/clean-code-javascript

    clean-code-javascript

    This is a guide that adapts the software engineering principles from Robert C. Martin's book 'Clean Code' specifically for JavaScript, with practical bad/good code examples.

    94.7K
  2. #2 · uber-go/guide

    guide

    It's the Uber Go Style Guide — an open document describing the patterns and conventions Uber uses when writing Go code.

    17.7K
  3. #3 · android10/Android-CleanArchitecture

    Android-CleanArchitecture

    A sample Android app that shows how to architect an application using Uncle Bob's clean architecture approach — it accompanies Fernando Cejas's series of blog posts on the topic.

    15.5K
  1. 4

    domain-driven-hexagon

    15KSairyss/domain-driven-hexagon · TypeScript

    A learning resource that documents how to design backend software using Domain-Driven Design, Hexagonal/Clean/Onion Architecture and SOLID principles, with runnable TypeScript/NestJS code examples illustrating every pattern.

  2. 5

    modular-monolith-with-ddd

    14.1Kkgrzybek/modular-monolith-with-ddd · C#

    A full, production-style .NET sample application that shows how to build a Modular Monolith using Domain-Driven Design (DDD), CQRS and Event Sourcing, implementing a Meetup-like 'Meeting Groups' domain.

  3. 6

    rust-clippy

    13.6Krust-lang/rust-clippy · Rust

    Clippy is a collection of over 800 lints that catches common mistakes in Rust code and nudges it toward idiomatic style. It runs alongside the compiler as a cargo subcommand.

  4. 7

    cognitive-load

    12.5Kzakirullin/cognitive-load

    A living document that defines 'cognitive load' - how much a developer has to think to understand code - and gives concrete, non-aesthetic practices for reducing the unnecessary (extraneous) kind of it, which matters even more now that we review a lot of LLM-generated code.

  5. 8

    clean-code-php

    12.5Kpiotrplenik/clean-code-php · PHP

    A guide that adapts the Clean Code principles from Robert C. Martin's book into PHP-specific examples, covering naming, functions, classes, SOLID, and DRY.

  6. 9

    laravel-best-practices

    12.3Kalexeymezenin/laravel-best-practices

    A widely used community guide (12k+ stars) that collects best practices for writing Laravel applications. Each practice comes with a Bad and a Good code example, and the guide has been translated into 25 languages.

  7. 10

    eShopOnWeb

    10.7Kdotnet-architecture/eShopOnWeb · C#

    Microsoft's sample ASP.NET Core 8.0 reference application: an online-store web app demonstrating a single-process (monolithic) architecture and deployment model, built to accompany a free architecture ebook.

Often tagged together