← back to leaderboard

withastro/astroGitHub

https://github.com/withastro/astro
Stars:
58.8k
Default branch:
main
Last scored:
6h ago
Overall

Strengths

  • AGENTS.md / CLAUDE.md
  • CI configuration
  • CONTRIBUTING guide
  • Dependency manifest
  • License file

Gaps

  • .aider.conf.yml
  • Cursor rules (.cursor/rules)
  • GEMINI.md
  • .openhands/setup.sh
  • Pre-commit / git hooks

Suggestions to improve for a specific model

  1. 1
    .openhands/setup.sh
    Add a `.openhands/setup.sh` that installs dependencies and prepares the project so OpenHands can run tests and lints out of the box.
    +10.4 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.
    +6.2 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.8 pts

Per-model scores

Claude Code
Loads CLAUDE.md at the start of every conversation per Anthropic's memory docs, so AGENTS.md / CLAUDE.md and a fast test loop carry the most weight.
82.0
Cursor
Per Cursor's Rules docs, reads `.cursor/rules/*.mdc` and AGENTS.md as the canonical repo-side input. Type config and a clean README still aid the codebase index but aren't the docs-cited signal.
76.1
Devin
Operates from a sandboxed Ubuntu VM and runs an 8-step machine setup (deps, secrets, language versions, lint/test commands) per Cognition's repo-setup docs. CI config files alone aren't what the docs ask for — a runnable dev environment is.
79.9
GPT-5 Codex
Reads AGENTS.md before doing any work per OpenAI's Codex docs — the strictest AGENTS.md adherent of any agent here. Hierarchical (per-directory) AGENTS.md and AGENTS.override.md are first-class.
83.3
Gemini CLI
Reads hierarchical `GEMINI.md` (global → workspace → component-level) at every prompt per Gemini CLI's docs. The long-context advantage favors repos that split context per directory rather than docs-heavy in general.
74.1
Aider
Auto-lints on every edit by default; runs the configured test command after edits when `--test-cmd` is set (per Aider's lint/test docs). A green linter and a declared test command translate directly into successful commits.
74.7
OpenHands
Runs in a sandboxed container and executes `.openhands/setup.sh` at session start per OpenHands' repo-customization docs. Root AGENTS.md is now the preferred always-on instruction surface (microagents are deprecated in favor of it).
71.6
Pi
Minimal terminal coding harness. Loads `AGENTS.md` (or `CLAUDE.md`) at startup — global, parent dirs, then cwd — per the Pi coding-agent README. Sandboxing is deferred to user-installed extensions.
82.4

Alternatives

Same-language repos scored for OpenHands. Heuristic v1 (same language + same host); cross-language matches are refined in v0.6.0.

Signal breakdown

AGENTS.md / CLAUDE.md· 100% pass
Substantive (5566 chars)
AGENTS.md
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
20 GitHub Actions workflow(s)
.github/workflows
CONTRIBUTING guide· 100% pass
Guide present
CONTRIBUTING.md
Cursor rules (.cursor/rules)· 0% pass
No .cursor/rules/*.mdc or .cursorrules
Dependency manifest· 100% pass
Manifest present
package.json
Reproducible dev env· 70% pass
Has .devcontainer/devcontainer.json
.devcontainer/devcontainer.json
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
LICENSE
Linter / formatter config· 100% pass
Config detected
eslint.config.js
.openhands/setup.sh· 0% pass
No .openhands/setup.sh
Pre-commit / git hooks· 0% pass
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (8487 chars)
README.md
Manageable size· 20% pass
5883+ files — very large
Test suite· 70% pass
Test files detected (examples/container-with-vitest/test/Card.test.ts)
examples/container-with-vitest/test/Card.test.ts
Type configuration· 100% pass
Type config present
tsconfig.json

Embed this badge

Drop the snippet below into the top of this repo's README so visitors can see its agent-friendliness at a glance — clicks land back here.

Agent friendly score for github/withastro/astro
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/withastro/astro.svg)](https://agentfriendlycode.com/repo/6)