trinodb/trino

GitHub
https://github.com/trinodb/trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)

Stars:
13.5k
Language:
Java
Default branch:
master
Last scored:
Overall

At a glance

Rank
#308 of 401
#21 of 28 Java repos
Checks passed
7 of 17
Full list below
Best set up for
Claude Code
Score 64.9
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
    Test suite
    Add a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.
    +13.2 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
#284 of 401
64.9
  • ✓AGENTS.md / CLAUDE.md
  • ✗Test suite
  • ~Reproducible dev env
Codex
#281 of 401
64.4
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ✗Test suite
Kimi Code CLI
#283 of 401
62.3
  • ✓AGENTS.md / CLAUDE.md
  • ✗Test suite
  • ✓Dependency manifest
Devin
#305 of 401
59.8
  • ~Reproducible dev env
  • ✓Dependency manifest
  • ✗Test suite
Pi
#303 of 401
58.9
  • ✓AGENTS.md / CLAUDE.md
  • ✗Test suite
  • ✗Linter / formatter config
Cursor
#277 of 401
57.8
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✓Type configuration
Gemini CLI
#300 of 401
56.4
  • ✗GEMINI.md
  • ✓README
  • ✗Test suite
OpenHands
#316 of 401
56.4
  • ✓CI configuration
  • ✓Dependency manifest
  • ~Reproducible dev env
Aider
#354 of 401
46.9
  • ✗.aider.conf.yml
  • ✗Linter / formatter config
  • ✗Test suite

Does trinodb/trino 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) · 1,592 characters
Agent-specific files
None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
19 of 28 Java repos · 221 of 401 repos on the leaderboard · See examples →

All 17 checks · 7 passed

No .agents/skills/<name>/SKILL.md
Substantive (1,592 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
11 GitHub Actions workflows
No .cursor/rules/*.mdc or .cursorrules
Manifest present
Has mvnw
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 (6,694 characters)
Manageable size· 20% pass
5337 files — very large
Test suite· 0% pass
No test directory or test files found
Type configuration· 100% pass
Typed language (Java)

How trinodb/trino compares

vs leaderboard average
8.2 pts below
Average 66.8
vs Java average
2.6 pts below
Average 61.2
Stars among Java repos
#17 of 28

Missing here, and how many repos have it

  • Linter / formatter config · passed by 65% of leaderboard repos, 21% of Java repos
  • Test suite · passed by 52% of leaderboard repos, 36% of Java repos
  • Pre-commit / git hooks · passed by 29% of leaderboard repos, 4% of Java repos

One fix for the most agents: Test suite 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 Java 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/trinodb/trino
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/trinodb/trino.svg)](https://agentfriendlycode.com/repo/github/trinodb/trino)

Check the score on every pull request

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