ocaml/dune

GitHub
https://github.com/ocaml/dune

A composable build system for OCaml.

  • build
  • dune
  • jbuilder
  • ocaml
  • opam
Stars:
1.9k
Language:
OCaml
Default branch:
main
Last scored:
Overall

At a glance

Rank
#107 of 401
Top 27% · #1 of 4 OCaml repos
Checks passed
10 of 17
Full list below
Best set up for
Kimi Code CLI
Score 82.4
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
    Linter / formatter config
    Configure a linter/formatter (ESLint+Prettier, Biome, Ruff, rustfmt+clippy, golangci-lint) and commit the config.
    +7.9 pts
  2. 2
    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
  3. 3
    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
#83 of 401
82.4
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Dependency manifest
Codex
#88 of 401
82.3
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ✓Test suite
Claude Code
#115 of 401
81.6
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Reproducible dev env
Devin
#89 of 401
78.8
  • ✓Reproducible dev env
  • ✓Dependency manifest
  • ✓Test suite
Pi
#109 of 401
78.7
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✗Linter / formatter config
Gemini CLI
#100 of 401
72.8
  • ✗GEMINI.md
  • ✓README
  • ✓Test suite
OpenHands
#107 of 401
72.4
  • ✓CI configuration
  • ✓Dependency manifest
  • ✓Reproducible dev env
Cursor
#111 of 401
72.2
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✓Type configuration
Aider
#225 of 401
63.1
  • ✗.aider.conf.yml
  • ✗Linter / formatter config
  • ✓Test suite

Does ocaml/dune 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) · 8,766 characters
Agent-specific files
.agents/skills (new tab) (1 skill)No GEMINI.md, .cursor/rules, .openhands/setup.sh or .aider.conf.yml
Repos that have one
221 of 401 repos on the leaderboard · See examples →

All 17 checks · 10 passed

Substantive (8,766 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
16 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
3 env artifacts (Makefile, .devcontainer/devcontainer.json)
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 (5,828 characters)
Manageable size· 20% pass
7992 files — very large
Test suite· 100% pass
Found /test
Type configuration· 100% pass
Typed language (OCaml)

How ocaml/dune compares

vs leaderboard average
9.2 pts above
Average 66.8
vs OCaml average
16.9 pts above
Average 59.1
Stars among OCaml repos
#3 of 4

Missing here, and how many repos have it

  • Linter / formatter config · passed by 65% of leaderboard repos
  • Pre-commit / git hooks · passed by 29% of leaderboard repos
  • Cursor rules (.cursor/rules) · passed by 4% of leaderboard repos

Passes checks most repos miss

  • Skills (.agents/skills) · only 17% of repos pass it
  • Reproducible dev env · only 22% of repos pass it

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 first, then the repos closest in overall score.

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/ocaml/dune
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/ocaml/dune.svg)](https://agentfriendlycode.com/repo/github/ocaml/dune)

Check the score on every pull request

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