pingcap/tidb

GitHub
https://github.com/pingcap/tidb

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

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

At a glance

Rank
#3 of 401
Top 1% · #1 of 40 Go repos
Checks passed
12 of 17
Full list below
Best set up for
Kimi Code CLI
Score 95.7
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
    Manageable size
    If possible, split into smaller modules or carve out a focused entry path. Document where to start in AGENTS.md.
    +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 →

Kimi Code CLI
#2 of 401
95.7
  • AGENTS.md / CLAUDE.md
  • Test suite
  • Dependency manifest
Codex
#2 of 401
94.9
  • AGENTS.md / CLAUDE.md
  • README
  • Test suite
Claude Code
#14 of 401
94.7
  • AGENTS.md / CLAUDE.md
  • Test suite
  • Reproducible dev env
Pi
#2 of 401
94.7
  • AGENTS.md / CLAUDE.md
  • Test suite
  • Linter / formatter config
Devin
#5 of 401
90.7
  • Reproducible dev env
  • Dependency manifest
  • Test suite
Cursor
#10 of 401
84.8
  • Cursor rules (.cursor/rules)
  • README
  • Type configuration
Gemini CLI
#5 of 401
84.8
  • GEMINI.md
  • README
  • Test suite
OpenHands
#3 of 401
84.4
  • CI configuration
  • Dependency manifest
  • Reproducible dev env
Aider
#16 of 401
81.4
  • .aider.conf.yml
  • Linter / formatter config
  • Test suite

Does pingcap/tidb 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
AGENTS.md (new tab) · 14,515 characters
Agent-specific files
.agents/skills (new tab) (9 skills)No GEMINI.md, .cursor/rules, .openhands/setup.sh or .aider.conf.yml
Repos that have one
22 of 40 Go repos · 217 of 401 repos on the leaderboard · See examples →

All 17 checks · 12 passed

Substantive (14,515 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
7 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
2 env artifacts (Makefile, Dockerfile)
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
Config detected
No .openhands/setup.sh
Hook framework configured
README· 100% pass
README detailed (10,819 characters)
Manageable size· 20% pass
7674 files — very large
Test suite· 100% pass
Found /tests
Type configuration· 100% pass
Typed language (Go)

How pingcap/tidb compares

vs leaderboard average
22.8 pts above
Average 66.8
vs Go average
18.9 pts above
Average 70.7
Stars among Go repos
#21 of 40

Missing here, and how many repos have it

  • Cursor rules (.cursor/rules) · passed by 4% of leaderboard repos, 0% of Go repos

Passes checks most repos miss

  • Skills (.agents/skills) · only 16% of repos pass it
  • Reproducible dev env · only 22% of repos pass it
  • Pre-commit / git hooks · only 29% of repos pass it

One fix for the most agents: Manageable size would raise the score for all 9 agents, by up to 5.7 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/pingcap/tidb
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/pingcap/tidb.svg)](https://agentfriendlycode.com/repo/github/pingcap/tidb)

Check the score on every pull request

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