oven-sh/bun

GitHub
https://github.com/oven-sh/bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

Stars:
96.5k
Language:
Rust
Default branch:
main
Last scored:
Overall

At a glance

Rank
#60 of 401
Top 15% · #8 of 45 Rust repos
Checks passed
10 of 17
Full list below
Best set up for
Claude Code
Score 89.5
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

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
#40 of 401
89.5
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Reproducible dev env
Kimi Code CLI
#58 of 401
85.1
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Dependency manifest
Codex
#63 of 401
84.8
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ✓Test suite
Pi
#64 of 401
84.0
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Linter / formatter config
Devin
#74 of 401
80.0
  • ✓Reproducible dev env
  • ✓Dependency manifest
  • ✓Test suite
Aider
#40 of 401
77.2
  • ✗.aider.conf.yml
  • ✓Linter / formatter config
  • ✓Test suite
Cursor
#68 of 401
76.8
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✓Type configuration
Gemini CLI
#61 of 401
76.1
  • ✗GEMINI.md
  • ✓README
  • ✓Test suite
OpenHands
#81 of 401
74.4
  • ✓CI configuration
  • ✓Dependency manifest
  • ✓Reproducible dev env

Does oven-sh/bun 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) · 17,516 characters
Agent-specific files
None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
24 of 45 Rust repos · 221 of 401 repos on the leaderboard · See examples →

All 17 checks · 10 passed

No .agents/skills/<name>/SKILL.md
Substantive (17,516 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
26 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
3 env artifacts (flake.nix, shell.nix)
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 (26,196 characters)
Manageable size· 20% pass
10000+ files — very large
Test suite· 100% pass
Found /test
Type configuration· 100% pass
Type config present

How oven-sh/bun compares

vs leaderboard average
14.1 pts above
Average 66.8
vs Rust average
10.3 pts above
Average 70.6
Stars among Rust repos
#6 of 45

Missing here, and how many repos have it

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

Passes checks most repos miss

  • Reproducible dev env · only 22% of repos pass it

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

Check the score on every pull request

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