Topics / #code-quality

Code-quality projects on GitHub

Tooling and practices for keeping codebases clean and correct.

As of , the most-starred Code-quality projects on GitHub are ponytail (202.6K stars), javascript (148K stars) and nodebestpractices (105.8K stars). GitHub.Locker tracks 90 Code-quality repositories with 1.8M stars combined. The fastest-growing on November 30 was ponytail, with +796 stars in a day.

90Projects
1.8MStars in total
+1.8KStars in a day

Hot right now

Most stars gained in a day · Nov 30

The all-time top

90 projects · by stars

  1. #1 · DietrichGebert/ponytail

    ponytail

    Ponytail is a skill for AI coding agents that channels the laziest senior dev in the room: the agent writes only what the task needs, on the belief that the best code is the code you never wrote.

    202.6K
  2. #2 · airbnb/javascript

    javascript

    A JavaScript style guide from Airbnb covering conventions for types, variables, functions, classes, modules, naming, whitespace, and more, described as 'a mostly reasonable approach to JavaScript'.

    148K
  3. #3 · goldbergyoni/nodebestpractices

    nodebestpractices

    A curated, community-maintained list that summarizes the top Node.js best practices, style guides, and architectural tips, organized into chapters covering architecture, error handling, code style, testing, production readiness, security, performance, and Docker.

    105.8K
  1. 4

    strix

    78.2Kusestrix/strix · Python

    Strix is an open-source tool that uses autonomous AI agents to pentest your application like real hackers: it runs your code dynamically, finds vulnerabilities, and proves them with working exploits instead of just flagging suspicious patterns.

  2. 5

    open-code-review

    57.2Kalibaba/open-code-review · Go

    An AI-powered code review CLI born inside Alibaba: it reads Git diffs, sends changed files to a configurable LLM agent, and returns structured review comments with line-level precision.

  3. 6

    dive

    54.7Kwagoodman/dive · Go

    dive is a CLI tool that breaks a Docker or OCI image into its layers, shows what each layer contains, and points out where the image wastes space so you can shrink it.

  4. 7

    prettier

    52.4Kprettier/prettier · JavaScript

    Prettier is an opinionated code formatter: point it at a project and it keeps the whole codebase in one consistent code style.

  5. 8

    ruff

    51.3Kastral-sh/ruff · Rust

    Ruff is an extremely fast Python linter and code formatter written in Rust, built to replace tools like Flake8, Black, isort, pydocstyle, pyupgrade, and autoflake with a single command-line tool.

  6. 9

    shellcheck

    40.4Kkoalaman/shellcheck · Haskell

    ShellCheck is a free static analysis tool for shell scripts: it reads your bash/sh code and reports warnings and suggestions for problems in it.

  7. 10

    googletest

    39.8Kgoogle/googletest · C++

    Google's testing and mocking framework for C++, built on the xUnit architecture. It merges the formerly separate GoogleTest and GoogleMock projects, which Google now maintains and releases together.

  8. 11

    husky

    35.4Ktypicode/husky · JavaScript

    Husky is a tool that makes it easy to set up and manage Git hooks, so scripts run automatically on Git events like commits or pushes.

  9. 12

    eslint

    27.6Keslint/eslint · JavaScript

    ESLint is a linter for JavaScript: a tool that identifies and reports on patterns found in ECMAScript/JavaScript code, so problems get caught before they ship.

  10. 13

    testify

    26.3Kstretchr/testify · Go

    Testify is a toolkit of Go packages that add assertions, mocking and test suites on top of the standard library, so tests are easier to write and failures are easy to read.

  11. 14

    biome

    26.2Kbiomejs/biome · Rust

    Biome is a toolchain for web projects: one fast tool that both formats and lints JavaScript, TypeScript, JSX, JSON, CSS and GraphQL, run from the CLI or your editor via LSP.

  12. 15

    angular-styleguide

    23.6Kjohnpapa/angular-styleguide · Vim Snippet

    An opinionated style guide for Angular: documented conventions for syntax, structure, and building Angular applications, written by John Papa for development teams.

  13. 16

    oxc

    23.5Koxc-project/oxc · Rust

    Oxc — the Oxidation Compiler — is a collection of high-performance tools for JavaScript and TypeScript written in Rust: a parser, linter, formatter, transformer, minifier, and module resolver.

  14. 17

    flow

    22.3Kmeta/flow · Rust

    Flow is a static typechecker for JavaScript: it adds static typing to your code to catch errors early and improve quality. The project goes back to 2014 and is written in Rust.

  15. 18

    mypy

    20.7Kpython/mypy · Python

    Mypy is a static type checker for Python: you add type hints (PEP 484) to your code and it warns you when you use those types incorrectly, catching bugs without even running the program.

  16. 19

    phpunit

    20.1Ksebastianbergmann/phpunit · PHP

    PHPUnit is a programmer-oriented testing framework for PHP, built on the xUnit architecture - the classic pattern for unit testing frameworks.

  17. 20

    keploy

    19.9Kkeploy/keploy · Go

    Keploy is an open-source tool that auto-generates API and integration tests from real traffic: it records your API calls, database queries and streaming events, then replays them as tests.

  18. 21

    SwiftLint

    19.8Krealm/SwiftLint · Swift

    SwiftLint is an open-source linter that enforces Swift style and conventions — rules generally accepted by the Swift community, loosely based on the now-archived GitHub Swift Style Guide.

  19. 22

    golangci-lint

    19.5Kgolangci/golangci-lint · Go

    A fast linters runner for Go: one tool that runs over a hundred Go linters on your codebase in a single pass.

  20. 23

    commitlint

    18.8Kconventional-changelog/commitlint · TypeScript

    commitlint checks whether your commit messages meet the conventional commit format, linting them against a configurable rule set.

  21. 24

    diff-so-fancy

    18.1Kso-fancy/diff-so-fancy · Perl

    A command-line tool that turns git's machine-readable diff output into human-readable text, so you can review changes and spot defects faster.

  22. 25

    semgrep

    18Ksemgrep/semgrep · C

    Semgrep is a fast, open-source static analysis tool that scans source code to find bugs, security issues, and enforce coding standards using rules that look like ordinary code rather than abstract syntax trees or regex.

  23. 26

    guide

    17.8Kuber-go/guide · Makefile

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

  24. 27

    PHP-Parser

    17.5Knikic/PHP-Parser · PHP

    A parser written in PHP that turns PHP code into an abstract syntax tree (AST). Its purpose is to simplify static code analysis and manipulation of PHP code.

  25. 28

    pr-agent

    16.8KThe-PR-Agent/pr-agent · Python

    An open-source, AI-powered code review agent for pull requests — the original open-source PR reviewer, now community-owned after being donated by Qodo.

  26. 29

    ast-grep

    16.6Kast-grep/ast-grep · Rust

    ast-grep (sg) is a CLI tool for structural search, linting and rewriting of source code — like grep, but matching the abstract syntax tree instead of raw text.

  27. 30

    ruby-style-guide

    16.5Krubocop/ruby-style-guide

    A community-driven Ruby coding style guide: it recommends best practices so real-world Ruby programmers can write code that other people can maintain. It deliberately favors established real-world usage over unproven ideals.

  28. 31

    typescript-eslint

    16.5Ktypescript-eslint/typescript-eslint · TypeScript

    typescript-eslint is the monorepo that provides the tooling enabling ESLint to understand and lint TypeScript code, including the parser and plugin rules.

  29. 32

    Modern-CPP-Programming

    16.3Kfederico-busato/Modern-CPP-Programming · HTML

    A free, open-access Modern C++ Programming course by Federico Busato covering standards from C++03 to C++26 — from language basics to advanced features, tools and optimization.

  30. 33

    infer

    15.8Kmeta/infer · OCaml

    Infer is a static analysis tool that finds bugs in Java, C, C++, and Objective-C code by analyzing it without running it. It lives under Facebook's GitHub and is written in OCaml.

  31. 34

    pyright

    15.8Kmicrosoft/pyright · Python

    Pyright is a full-featured, standards-based static type checker for Python, built by Microsoft for speed on large codebases.

  32. 35

    mockito

    15.4Kmockito/mockito · Java

    Mockito is a mocking framework for unit tests written in Java, and the most popular one: it creates mock objects so you can test a class in isolation from its dependencies.

  33. 36

    react-doctor

    15.2Kmillionco/react-doctor · TypeScript

    React Doctor is a code-review tool that scans React code for the kind of mistakes AI coding agents tend to introduce, so bad patterns get caught before they ship.

  34. 37

    tokei

    15.1KXAMPPRocky/tokei · Rust

    Tokei is a CLI tool that counts code statistics (files, lines, blanks, comments, code) grouped by programming language across your codebase.

  35. 38

    laravel-ide-helper

    15Kbarryvdh/laravel-ide-helper · PHP

    A Laravel package that generates helper files so your IDE gives accurate autocompletion. Everything is generated from the files in your project, so the results stay up to date.

  36. 39

    static-analysis

    14.9Kanalysis-tools-dev/static-analysis · Rust

    A curated list of static analysis (SAST) tools, linters and formatters for all programming languages, config files and build tools, focused on tools that improve code quality.

  37. 40

    pytest

    14.7Kpytest-dev/pytest · Python

    pytest is a Python testing framework that makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries.

  38. 41

    phpstan

    14.2Kphpstan/phpstan · PHP

    PHPStan is a static analysis tool for PHP that finds bugs in your code without actually running it, catching whole classes of errors before you even write tests.

  39. 42

    ale

    14Kdense-analysis/ale · Vim Script

    ALE (Asynchronous Lint Engine) is a Vim/Neovim plugin that lints your code asynchronously as you type and can fix files, acting as a Language Server Protocol client for things like completion, go-to-definition, and hover info.

  40. 43

    yapf

    14Kgoogle/yapf · Python

    YAPF is a Python code formatter based on clang-format: instead of just enforcing style rules, it calculates the best way to reformat your code to conform to a configured style, aiming to produce code as good as a programmer following the style guide would write.

  41. 44

    rust-clippy

    13.7Krust-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.

  42. 45

    PHP-CS-Fixer

    13.6KPHP-CS-Fixer/PHP-CS-Fixer · PHP

    PHP CS Fixer is a tool that automatically fixes your PHP code to follow coding standards — unlike a plain linter, it does not just detect problems, it fixes them for you.

  43. 46

    scalene

    13.6Kplasma-umass/scalene · Python

    Scalene is a high-performance CPU, GPU, and memory profiler for Python. It is also the first profiler to add AI-powered optimization proposals, via providers like OpenAI, Azure, Bedrock, or local Ollama models.

  44. 47

    lombok

    13.5Kprojectlombok/lombok · Java

    Project Lombok is a Java library that plugs into your editor and build tools to eliminate boilerplate: annotations generate getters, equals methods, builders, logging variables, and more.

  45. 48

    oss-fuzz

    13Kgoogle/oss-fuzz · Shell

    OSS-Fuzz is Google's free continuous fuzzing service for open source software: it runs guided fuzzing nonstop to surface security vulnerabilities and stability bugs before attackers do.

  46. 49

    rubocop

    12.9Krubocop/rubocop · Ruby

    RuboCop is a static code analyzer (linter) and code formatter for Ruby that enforces the community Ruby Style Guide out of the box, and it is also configurable to enforce your own style.

  47. 50

    knip

    12.7Kwebpro-nl/knip · TypeScript

    Knip is a free and open-source tool that finds unused files, dependencies and exports in your JavaScript and TypeScript projects, so you can cut them before you ship.

  48. 51

    hadolint

    12.5Khadolint/hadolint · Haskell

    Hadolint is a smarter Dockerfile linter written in Haskell that helps you build best-practice Docker images. It flags mistakes and bad patterns in your Dockerfile before you build the image.

  49. 52

    improve

    12Kshadcn/improve

    It's an agent skill that audits any codebase and writes implementation plans for other, cheaper models to execute - the expensive model does the thinking, cheap models do the typing.

  50. 53

    stylelint

    11.6Kstylelint/stylelint · JavaScript

    Stylelint is a CSS linter that catches errors and enforces coding conventions in your stylesheets, with over 100 built-in rules for modern CSS.

  51. 54

    inflector

    11.3Kdoctrine/inflector · PHP

    Doctrine Inflector is a small PHP library that performs string manipulations with regard to uppercase/lowercase and singular/plural forms of words.

  52. 55

    awesome-guidelines

    11.3KKristories/awesome-guidelines

    A curated list of programming style guides, best practices, and coding conventions — one page collecting links to official and community guidelines for dozens of languages, platforms, and tools.

  53. 56

    sonarqube

    11.2KSonarSource/sonarqube · Java

    SonarQube is a continuous inspection platform that statically analyzes your code to find bugs, vulnerabilities, security hotspots, and maintainability issues, explaining exactly what to fix and why.

  54. 57

    mockery

    10.7Kmockery/mockery · PHP

    A PHP mock object framework for unit testing: it builds test doubles (mocks) through a succinct, human-readable DSL, so your tests can call fakes instead of real objects.

  55. 58

    super-linter

    10.7Ksuper-linter/super-linter · Shell

    A ready-to-run bundle of linters and code analyzers that validates your source code, enforces best practices and consistent formatting across dozens of languages, and reports issues as console output and GitHub Actions status checks.

  56. 59

    mason.nvim

    10.5Kmason-org/mason.nvim · Lua

    It's a portable package manager for Neovim: a plugin that installs and manages your editor's external tooling — LSP servers, DAP servers, linters, and formatters — from a single interface, wherever Neovim runs.

  57. 60

    rector

    10.5Krectorphp/rector · PHP

    Rector is a PHP tool that instantly upgrades and refactors PHP codebases: it automates upgrades from PHP 5.3 up to 8.5 plus framework migrations, and can keep code quality high continuously via CI.

  58. 61

    conc

    10.4Ksourcegraph/conc · Go

    conc is a Go library — a 'toolbelt' for structured concurrency that makes common concurrent patterns in Go easier and safer than raw goroutines and sync primitives.

  59. 62

    anti-slop

    9.5Kmiqdadbadjuber/anti-slop · JavaScript

    antislop is a rulebook for your AI coding agent so it stops producing generic 'AI slop' - cliched UI, copy, and code. It is a filter, not a style guide: it bans the slop but prescribes no colors, fonts, or layouts.

  60. 63

    ub-mode

    9Kunclebob/ub-mode

    ub-mode is an agent skill that enforces disciplined software engineering principles (like TDD, first-principles redesign, and architecture discipline) whenever an AI coding agent writes or changes code.

  61. 64

    repowise

    8.3Krepowise-dev/repowise · Python

    Repowise indexes a codebase once (code, dependency graph, git history, tests, docs, and architectural decisions) and then gives AI agents and developers cited answers, change-impact analysis, and concrete code-health fixes instead of making an agent rediscover the code every time.

  62. 65

    closure-compiler

    7.7Kgoogle/closure-compiler · JavaScript

    A tool for making JavaScript download and run faster — a true compiler for JavaScript: it compiles JavaScript to better JavaScript, parsing your code, removing dead code and rewriting and minimizing what is left.

  63. 66

    DeepAudit

    7.3Klintsinghua/DeepAudit · Python

    DeepAudit is a multi-agent AI platform for code security auditing. It mimics how a security expert thinks, using cooperating agents (Orchestrator, Recon, Analysis, Verification) to find vulnerabilities and then verify them with automated sandbox PoC exploitation.

  64. 67

    anti-slop

    6.2Kdmmulroy/anti-slop · TypeScript

    A set of opinionated Oxlint rules that reject low-evidence and low-signal patterns in TypeScript and JavaScript codebases.

  65. 68

    psalm

    5.9Kvimeo/psalm · PHP

    Psalm is a static analysis tool that scans PHP code to find errors and security vulnerabilities without running the application.

  66. 69

    fast-ruby

    5.7Kfastruby/fast-ruby · HTML

    A collection of common Ruby idioms, each paired with a benchmark, showing which way of writing the same code runs faster.

  67. 70

    fallow

    5.4Kfallow-rs/fallow · Rust

    Fallow is a Rust-based codebase intelligence tool for TypeScript/JavaScript that builds one dependency graph of a repository and reports unused code, circular dependencies, duplication, complexity hotspots, architecture boundary violations, and design-system styling drift.

  68. 71

    CoDiver

    4.7KAhmadHassan-BTed/CoDiver · Python

    CoDiver (formerly SMC-Software-Metrics-Calculator) is a unified platform for code quality, architecture metrics, and Agile analytics, combining Python AST parsing, Java static analysis, and sprint tracking into one Streamlit dashboard.

  69. 72

    desloppify

    4.1Kpeteromallet/desloppify · Python

    Desloppify is an agent harness that gives AI coding agents the tools to detect, triage, and fix code quality issues in a codebase — combining mechanical checks (dead code, duplication, complexity) with LLM-based review of naming, abstractions, and module boundaries — and tracks progress with a score.

  70. 73

    kani

    3.7Kmodel-checking/kani · Rust

    Kani is a bit-precise model checker for Rust programs: instead of sampling inputs like a test suite, it proves that your code is free of certain bugs and undefined behavior.

  71. 74

    lint

    3.4Kshadcn-ui/lint · TypeScript

    An agent-first linter for Tailwind design systems: you define what is allowed, and when an agent breaks a rule the error explains what is wrong and suggests a fix using your components, variants, and theme.

  72. 75

    vibe-coding-toolkit

    2.5Ksoumatheusgomes/vibe-coding-toolkit · JavaScript

    A curated, battle-tested AI-coding workflow for Claude Code (and partly Codex): ready-to-copy plugins, subagent orchestration patterns, quality-gate configs, and prompt templates extracted from a real production fintech codebase.

  73. 76

    BeautifulRust

    2.1Kmorganlinton/BeautifulRust · Python

    BeautifulRust is a Claude Code plugin made of Agent Skills that teaches coding agents to write, review, and port idiomatic, robust Rust, plus a clippy lint config to enforce the rules in CI.

  74. 77

    omnidiff

    1.4Kivankovic/omnidiff · Rust

    OmniDiff is a fast, content-aware diff tool that understands what it's comparing: it parses code structurally for 25 languages, and diffs images, fonts, archives, PDFs, cursors and message catalogs by their actual content instead of raw bytes.

  75. 78

    SlopMonster

    1.3KItsssssJack/SlopMonster · Python

    SlopMonster is a linter that scores written copy out of 5 for telltale AI-writing patterns and can fail a CI build on a bad score; it also has a cleanse step that uses a rival AI model to rewrite the flagged lines.

  76. 79

    openqodex

    1.2Kopenqodex/openqodex · TypeScript

    OpenQodex is an open source AI code review tool for Claude Code and Codex that runs before you push: it scans only the lines you changed, then has a separate reviewer process check every scanner finding.

  77. 80

    gdp-ts

    861rauchg/gdp-ts · TypeScript

    gdp-ts is a tiny TypeScript library plus a linter and an AI coding-agent skill that implements the 'Ghosts of Departed Proofs' pattern, letting you catch authorization and entitlement bugs (like checking if a user can read or pay for a resource) at compile time instead of at runtime.

  78. 81

    landmines

    593interfere-inc/landmines · TypeScript

    A set of Oxlint rules (a lint plugin) that stop AI coding agents from faking green checks: mocked tests, fixed sleeps, retried flakes, raised timeouts and comments that narrate the diff.

  79. 82

    cccc

    523moznion/cccc · Rust

    cccc is a fast CLI tool (and Rust library) that measures Cognitive Complexity (SonarSource) and Cyclomatic Complexity (McCabe) for source code across many languages.

  80. 83

    simplify-codebase

    518tt-a1i/simplify-codebase · HTML

    An Agent Skill that helps coding agents prove and safely remove accidental complexity from an existing codebase without changing its real behavior.

  81. 84

    uml-viewer

    501unclebob/uml-viewer · Clojure

    A live UML class-diagram viewer for your codebase: it draws a project's structure from an EDN intermediate representation, is coupled to an AI agent companion, and lets you drill from components all the way down to source code.

  82. 85

    cyclomatic-complexity-skill

    409saurabhkumar8112/cyclomatic-complexity-skill

    A Claude Skill that teaches Claude to measure a function's cyclomatic complexity and refactor the worst offenders instead of leaving tangled branch-heavy code behind.

  83. 86

    perch

    317lakeday-org/perch · JavaScript

    Perch is a command-line semantic code linter that scans a codebase for real issues using Decision Models, rather than plain syntax rules, and ranks what it finds worst-first.

  84. 87

    nopus

    305Vistyy/nopus · TypeScript

    nopus is a deterministic prose checker that catches coding-agent responses drifting into abstract, jargon-heavy LLM language, flags them once they cross a chosen complexity threshold, and sends them back for one clearer rewrite.

  85. 88

    farol

    188winnin/farol · TypeScript

    Farol is a free, open-source CLI and GitHub Action that runs after an AI code review to tell the person approving a pull request how risky the merge is and exactly which files and call chains carry that risk.

  86. 89

    jev-code-reviewer

    152egma-ai/jev-code-reviewer · JavaScript

    Jev is a local code review tool for pull requests opened by coding agents: it classifies each diff hunk into P0, P1 or P2 attention priority and explains the change in natural language instead of raw code.

  87. 90

    jevlint

    129codegirl-007/jevlint · Go

    Jevlint is a CLI linter that checks code against plain-language rules: it uses Tree-sitter to extract code units (functions, types, comments, fields, statements), then asks a configured AI decision backend called Jev whether each one passes.

Often tagged together