← back to leaderboard

trpc/trpcGitHub

https://github.com/trpc/trpc
Stars:
40.7k
Language:
TypeScript
Default branch:
main
Last scored:
5h ago
Overall

At a glance

Rank
#165 of 371
Top 44% · #43 of 81 TypeScript repos
Checks passed
8 of 16
Full list below
Best set up for
Cursor
Score 80.8
Needs most work for
Gemini CLI
Biggest fix: GEMINI.md (+11.4 pts)

What it has

  • CI configuration
  • CONTRIBUTING guide
  • Cursor rules (.cursor/rules)
  • Dependency manifest
  • License file

What it's missing

  • AGENTS.md / CLAUDE.md
  • .aider.conf.yml
  • GEMINI.md
  • .openhands/setup.sh
  • Pre-commit / git hooks

What to fix first

  1. 1
    AGENTS.md / CLAUDE.md
    Add an AGENTS.md covering project goals, layout, setup commands, and conventions. Aim for 800+ chars of real guidance (not boilerplate).
    +13.2 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
    Reproducible dev env
    Add a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.
    +4.7 pts

Score for each AI agent

Each agent looks for different things in a repo, based on its own docs. Under each score are the three checks it cares about most.

Cursor
80.8
Devin
75.5
GPT-5 Codex
74.4
Pi
71.7
Claude Code
71.6
Kimi CLI
71.4
OpenHands
69.7
Aider
69.3
Gemini CLI
68.8

Similar repos

Scored for Claude Code. Same language and host as this repo, scoring near it.

All TypeScript repos →

All checks

AGENTS.md / CLAUDE.md· 0% pass
No agent instructions file found
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
12 GitHub Actions workflow(s)
.github/workflows
CONTRIBUTING guide· 100% pass
Guide present
CONTRIBUTING.md
Cursor rules (.cursor/rules)· 100% pass
7 .mdc files in .cursor/rules/
.cursor/rules/coding-guidelines.mdc
Dependency manifest· 100% pass
Manifest present
package.json
Reproducible dev env· 60% pass
package.json has 27 scripts
package.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 (13748 chars)
README.md
Manageable size· 80% pass
1438 files
Test suite· 70% pass
Test files detected (examples/minimal-content-types/test/smoke.test.ts)
examples/minimal-content-types/test/smoke.test.ts
Type configuration· 100% pass
Type config present
tsconfig.json

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

Check the score on every pull request

Add this file to your repo. On each pull request, it posts one comment showing how the score changed and why. It runs in your own CI, with no outside server involved.

# .github/workflows/agent-friendly.yml
name: Agent-friendly score diff

on:
  pull_request:
    branches: [main]

permissions:
  contents: read
  pull-requests: write

jobs:
  score-diff:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
        with:
          fetch-depth: 0
      - uses: hsnice16/agent-friendly-action@v0
        with:
          agents-badge-token: ${{ secrets.AGENTS_BADGE_TOKEN }}

Add AGENTS_BADGE_TOKENto the repo's secrets to turn the comment on. Without it, the action does nothing. Where do I add it?