medusajs/medusa

GitHub
https://github.com/medusajs/medusa

The world's most flexible commerce platform for agents and developers

Stars:
37.1k
Language:
TypeScript
Default branch:
develop
Last scored:
Overall

At a glance

Rank
#224 of 401
#63 of 82 TypeScript repos
Checks passed
7 of 17
Full list below
Best set up for
Claude Code
Score 72.9
Needs most work for
Gemini CLI
Biggest fix: GEMINI.md (+10.9 pts)

What it has

What it's missing

What to fix first

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    Type configuration
    Add a type config (tsconfig.json for JS/TS, mypy.ini or pyrightconfig.json for Python). Rust/Go/JVM/Scala/Swift/C#/OCaml/Haskell/Zig are typed by default.
    +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 →

Claude Code
#195 of 401
72.9
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ~Reproducible dev env
Kimi Code CLI
#194 of 401
69.7
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Dependency manifest
Codex
#222 of 401
69.4
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ~Test suite
Pi
#198 of 401
69.2
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Linter / formatter config
Devin
#242 of 401
66.1
  • ~Reproducible dev env
  • ✓Dependency manifest
  • ~Test suite
Aider
#222 of 401
63.1
  • ✗.aider.conf.yml
  • ✓Linter / formatter config
  • ~Test suite
OpenHands
#242 of 401
62.7
  • ✓CI configuration
  • ✓Dependency manifest
  • ~Reproducible dev env
Cursor
#240 of 401
60.6
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✗Type configuration
Gemini CLI
#249 of 401
60.3
  • ✗GEMINI.md
  • ✓README
  • ~Test suite

Does medusajs/medusa 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) · 18,598 characters
Agent-specific files
None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
62 of 82 TypeScript repos · 221 of 401 repos on the leaderboard · See examples →

All 17 checks · 7 passed

No .agents/skills/<name>/SKILL.md
Substantive (18,598 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
50 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
package.json has 22 scripts
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 (5,950 characters)
Manageable size· 20% pass
10000+ files — very large
Test suite· 70% pass
Test files detected (integration-tests/http/__tests__/view-configurations.spec.ts)
No type config found

How medusajs/medusa compares

vs leaderboard average
0.8 pts below
Average 66.8
vs TypeScript average
5.2 pts below
Average 71.2
Stars among TypeScript repos
#46 of 82

Missing here, and how many repos have it

  • Type configuration · passed by 68% of leaderboard repos, 68% of TypeScript repos
  • Pre-commit / git hooks · passed by 29% of leaderboard repos, 48% of TypeScript repos
  • Skills (.agents/skills) · passed by 17% of leaderboard repos, 30% of TypeScript repos

One fix for the most agents: Type configuration would raise the score for all 9 agents, by up to 11.5 points.

Similar repos

Same language and host as this repo, closest in overall score.

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

Check the score on every pull request

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