cockroachdb/cockroach

GitHub
https://github.com/cockroachdb/cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.

Stars:
32.6k
Language:
Go
Default branch:
master
Last scored:
Overall

At a glance

Rank
#289 of 401
#33 of 40 Go repos
Checks passed
7 of 17
Full list below
Best set up for
Claude Code
Score 65.8
Needs most work for
Aider
Biggest fix: .aider.conf.yml (+14.1 pts)

What it has

What it's missing

What to fix first

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    Reproducible dev env
    Add a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.
    +11.8 pts
  2. 2
    Linter / formatter config
    Configure a linter/formatter (ESLint+Prettier, Biome, Ruff, rustfmt+clippy, golangci-lint) and commit the config.
    +7.9 pts
  3. 3
    Pre-commit / git hooks
    Set up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.
    +5.3 pts

Score for each AI agent

Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →

Claude Code
#279 of 401
65.8
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✗Reproducible dev env
Codex
#268 of 401
65.3
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ~Test suite
Kimi Code CLI
#261 of 401
64.1
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Dependency manifest
Pi
#274 of 401
61.7
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✗Linter / formatter config
Cursor
#254 of 401
59.4
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✓Type configuration
Devin
#316 of 401
58.9
  • ✗Reproducible dev env
  • ✓Dependency manifest
  • ~Test suite
Gemini CLI
#285 of 401
57.9
  • ✗GEMINI.md
  • ✓README
  • ~Test suite
OpenHands
#323 of 401
55.7
  • ✓CI configuration
  • ✓Dependency manifest
  • ✗Reproducible dev env
Aider
#329 of 401
51.8
  • ✗.aider.conf.yml
  • ✗Linter / formatter config
  • ~Test suite

Does cockroachdb/cockroach have agent instructions?

An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.

AGENTS.md / CLAUDE.md
CLAUDE.md (new tab) · 5,664 characters
Agent-specific files
None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
23 of 40 Go repos · 221 of 401 repos on the leaderboard · See examples →

All 17 checks · 7 passed

No .agents/skills/<name>/SKILL.md
Substantive (5,664 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
27 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
No Makefile / devcontainer / Docker / equivalent found
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
No linter/formatter config found
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (7,430 characters)
Manageable size· 20% pass
10000+ files — very large
Test suite· 70% pass
Test files detected (build/tools/gen-cockroachdb-metrics/main_test.go)
Type configuration· 100% pass
Typed language (Go)

How cockroachdb/cockroach compares

vs leaderboard average
6.7 pts below
Average 66.8
vs Go average
10.9 pts below
Average 71.0
Stars among Go repos
#25 of 40

Missing here, and how many repos have it

  • Linter / formatter config · passed by 65% of leaderboard repos, 70% of Go repos
  • Pre-commit / git hooks · passed by 29% of leaderboard repos, 13% of Go repos
  • Reproducible dev env · passed by 22% of leaderboard repos, 40% of Go repos

One fix for the most agents: Linter / formatter config would raise the score for all 9 agents, by up to 14.1 points.

Similar repos

Same language and host as this repo, closest in overall score.

All Go repos →

Same topics, any language

Repos tagged with the same GitHub topics, most shared first.

Add a badge to your README

Paste this at the top of the README. It shows the score, and links back to this page.

Agent friendly score for github/cockroachdb/cockroach
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/cockroachdb/cockroach.svg)](https://agentfriendlycode.com/repo/github/cockroachdb/cockroach)

Check the score on every pull request

A GitHub Action posts one comment per pull request with how the score changed and why.