All projects
Open Source|2026|
Open source · v0.7

kerbo

One quality bar for Java, TypeScript, Python, Go and Rust, in a single 7 MB binary

Role: Creator & Developer

Rol: Creador y Desarrollador

Overview

A code quality analyzer written in Rust that applies the same rules across five languages and counts exactly like the tool each ecosystem already trusts — ESLint and sonarjs, ruff, Checkstyle and PMD, golangci-lint, clippy. It also checks shell scripts like ShellCheck, Postgres migrations like squawk, Dockerfiles like hadolint, and scans for committed secrets and vulnerable dependencies. Built so AI coding agents cannot cheat their way past the quality gate.

The Challenge

A polyglot codebase needs five linters with five configs, five reports and five different ideas of what a long function is — and the slowest of them takes longer than the change it is checking. Meanwhile, AI agents learned that the fastest way to turn a red gate green is an eslint-disable or a raised threshold.

The Approach

Each metric is written once over the tree-sitter syntax tree, and a per-language profile says what counts as a function, a decision or a line the way the reference tool does it. Every undocumented quirk came out of diffing against real repos and is pinned by a test. Files are analyzed in parallel against a content-addressed cache, so the next run only looks at what changed, and mechanical fixes are computed during analysis and re-verified before anything is written.

The Outcome

Released as open source under Apache 2.0, with static binaries for Linux, macOS and Windows on x86_64 and ARM, a one-line installer, Homebrew and crates.io. It guards every coding session on my own server as a hook, blocking cheats before they reach a commit.

Key Highlights

01Up to 23× faster and 90× less memory than Checkstyle + PMD on a 3,143-file Java backend: 0.9 s and 8 MB against 21 s and 740 MB
02Zero differences against the reference tools, measured function by function on real repos and on third-party code like Guava, zod and the Go standard library
03Anti-cheat mode: on a diff it flags new suppressions, loosened thresholds, skipped or deleted tests and type escapes instead of real fixes
04Runs as a CLI, a Claude Code hook, an MCP server and an LSP server, with a token-lean output format for AI agents

Live Preview

Interact with the site directly — scroll, navigate, and explore.

https://kerbo.matiascaliz.com.ar