← back to leaderboard

gohugoio/hugoGitHub

https://github.com/gohugoio/hugo
Stars:
90.1k
Language:
Go
Default branch:
master
Last scored:
6h ago
Overall

At a glance

Rank
#176 of 371
Top 47% · #22 of 37 Go repos
Checks passed
7 of 16
Full list below
Best set up for
GPT-5 Codex
Score 77.3
Needs most work for
Aider
Biggest fix: .aider.conf.yml (+14.1 pts)

What it has

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

What it's missing

  • .aider.conf.yml
  • Cursor rules (.cursor/rules)
  • GEMINI.md
  • Linter / formatter config
  • .openhands/setup.sh

What to fix first

  1. 1
    Linter / formatter config
    Configure a linter/formatter (ESLint+Prettier, Biome, Ruff, rustfmt+clippy, golangci-lint) and commit the config.
    +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
    Test suite
    Add a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.
    +3.9 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.

GPT-5 Codex
77.3
Kimi CLI
76.3
Claude Code
76.1
Devin
75.7
Pi
73.2
Cursor
68.0
Gemini CLI
67.8
OpenHands
67.5
Aider
58.5

Similar repos

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

All Go repos →

All checks

AGENTS.md / CLAUDE.md· 100% pass
Substantive (1712 chars)
AGENTS.md
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
3 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
go.mod
Reproducible dev env· 70% pass
Has Dockerfile
Dockerfile
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
LICENSE
Linter / formatter config· 0% pass
No linter/formatter config found
.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 (16522 chars)
README.md
Manageable size· 50% pass
2561 files — large
Test suite· 70% pass
Test files detected (bufferpool/bufpool_test.go)
bufferpool/bufpool_test.go
Type configuration· 100% pass
Typed language (Go)

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

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: [master]

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?