apache/flink

GitHub
https://github.com/apache/flink

Apache Flink

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

At a glance

Rank
#116 of 401
Top 29% · #1 of 28 Java repos
Checks passed
8 of 17
Full list below
Best set up for
Claude Code
Score 82.0
Needs most work for
OpenHands
Biggest fix: .openhands/setup.sh (+10.0 pts)

What it has

What it's missing

What to fix first

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    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
  2. 2
    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
  3. 3
    Test suite
    Add a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.
    +3.9 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
#105 of 401
82.0
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ~Reproducible dev env
Codex
#114 of 401
79.1
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ~Test suite
Kimi Code CLI
#113 of 401
78.7
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Dependency manifest
Pi
#114 of 401
78.0
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Linter / formatter config
Devin
#141 of 401
73.2
  • ~Reproducible dev env
  • ✓Dependency manifest
  • ~Test suite
Cursor
#105 of 401
72.6
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✓Type configuration
Gemini CLI
#114 of 401
70.9
  • ✗GEMINI.md
  • ✓README
  • ~Test suite
Aider
#128 of 401
70.8
  • ✗.aider.conf.yml
  • ✓Linter / formatter config
  • ~Test suite
OpenHands
#150 of 401
68.7
  • ✓CI configuration
  • ✓Dependency manifest
  • ~Reproducible dev env

Does apache/flink 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) · 22,898 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 · 8 passed

No .agents/skills/<name>/SKILL.md
Substantive (22,898 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
10 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
Config detected
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (7,768 characters)
Manageable size· 20% pass
10000+ files — very large
Test suite· 70% pass
Test files detected (flink-end-to-end-tests/test-scripts/container-scripts/docker-compose.test.yml)
Type configuration· 100% pass
Typed language (Java)

How apache/flink compares

vs leaderboard average
8.1 pts above
Average 66.8
vs Java average
13.7 pts above
Average 61.2
Stars among Java repos
#10 of 28

Missing here, and how many repos have it

  • Pre-commit / git hooks · passed by 29% of leaderboard repos, 4% of Java repos
  • Skills (.agents/skills) · passed by 17% of leaderboard repos, 4% of Java repos
  • Cursor rules (.cursor/rules) · passed by 4% of leaderboard repos, 0% of Java repos

One fix for the most agents: Pre-commit / git hooks would raise the score for all 9 agents, by up to 6.0 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/apache/flink
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/apache/flink.svg)](https://agentfriendlycode.com/repo/github/apache/flink)

Check the score on every pull request

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