# clj-commons/kibit

There's a function for that!

Repository: https://github.com/clj-commons/kibit
Canonical: https://ross.abutalabs.com/products/kibit
Language: Clojure
License Family: other
Last push: 2024-05-22T00:06:30+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5295, "days_push": 834, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1755, forks 128 (observed 2026-08-28T04:05:32.131582+00:00)

## What it is
Kibit is a static code analyzer for Clojure, ClojureScript, and related variants that uses core.logic to find code patterns that could be rewritten more idiomatically. It is distributed primarily as a Leiningen plugin and suggests replacements like using `when` instead of an `if` with a nil else branch.

## Use cases
- suggest idiomatic Clojure rewrites in my codebase
- lint Clojure projects for non-idiomatic code patterns
- run static analysis as part of a CI build for Clojure
- find places where I should use when instead of if
- analyze ClojureScript source files for improvements

## When to choose
- you maintain an existing Clojure codebase already using kibit or lein-kibit
- you want logic-based idiomatic rewrite suggestions for Clojure code

## When to avoid
- starting a new project - the maintainers recommend Splint, clj-kondo, or Eastwood instead
- you need fast analysis or configurable rules, since kibit's core.logic engine is slow and in maintenance mode

## Facets
- artifact type: library
- maturity: maintenance
- function: linter, developer-tools
- domain: developer-tools, programming-languages
- platform: jvm, cli, cross-platform
- tags: clojure, static-code-analysis, code-suggestions, leiningen-plugin, core-logic, code-quality

## Member repositories
- clj-commons/kibit (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:32.131582+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:27:54.751097+00:00, confidence not recorded.
  - readme: https://github.com/clj-commons/kibit (fetched 2026-08-28T04:05:32.131582+00:00, sha 175d97ee5030)
- Data as of 2026-08-30T08:39:29.467469+00:00.
