roc-lang/roc

GitHub
https://github.com/roc-lang/roc

A fast, friendly, functional language.

  • functional-language
  • functional-programming
  • language
  • roc-lang
Stars:
6.2k
Language:
Zig
Default branch:
main
Last scored:
Overall

At a glance

Rank
#257 of 401
#4 of 6 Zig repos
Checks passed
8 of 17
Full list below
Best set up for
Claude Code
Score 69.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
    Reproducible dev env
    Add a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.
    +11.8 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
#239 of 401
69.7
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✗Reproducible dev env
Codex
#235 of 401
68.4
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ✓Test suite
Kimi Code CLI
#222 of 401
67.7
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Dependency manifest
Pi
#245 of 401
65.3
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✗Linter / formatter config
Devin
#274 of 401
62.1
  • ✗Reproducible dev env
  • ✓Dependency manifest
  • ✓Test suite
Cursor
#228 of 401
61.8
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✓Type configuration
Gemini CLI
#245 of 401
60.9
  • ✗GEMINI.md
  • ✓README
  • ✓Test suite
OpenHands
#290 of 401
58.4
  • ✓CI configuration
  • ✓Dependency manifest
  • ✗Reproducible dev env
Aider
#297 of 401
56.1
  • ✗.aider.conf.yml
  • ✗Linter / formatter config
  • ✓Test suite

Does roc-lang/roc 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) · 3,968 characters
Agent-specific files
None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
3 of 6 Zig repos · 222 of 401 repos on the leaderboard · See examples →

All 17 checks · 8 passed

No .agents/skills/<name>/SKILL.md
Substantive (3,968 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
10 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
No Makefile / devcontainer / Docker / equivalent found
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 (3,181 characters)
Manageable size· 20% pass
5065 files — very large
Test suite· 100% pass
Found /test
Type configuration· 100% pass
Typed language (Zig)

How roc-lang/roc compares

vs leaderboard average
3.5 pts below
Average 66.9
vs Zig average
1.0 pts above
Average 62.4
Stars among Zig repos
#5 of 6

Missing here, and how many repos have it

  • Linter / formatter config · passed by 65% of leaderboard repos, 17% of Zig repos
  • Pre-commit / git hooks · passed by 29% of leaderboard repos, 0% of Zig repos
  • Reproducible dev env · passed by 22% of leaderboard repos, 33% of Zig repos

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.

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

Check the score on every pull request

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