TL;DR: a good README answers three questions in the first screen: what is this, how do I install it, what does it look like. You can check that with fixed rules instead of opinions. README Score scores any README out of 100, names the line to change, and gives the same score every time because there is no model in it.
Search for good github readme examples and you get lists of pretty profiles. Pretty is not the same as useful. Here is what actually gets measured.
What a good README has
The score is made of weighted groups. These are the ones with the most points:
| Group | Points | What it looks at |
|---|---|---|
| Sections | 27 | Overview, key features, installation, usage, configuration, examples, troubleshooting, contributing, license |
| First screen | 20 | A title within 5 non-empty lines, an install command within 40 lines, a picture within 20, at most 6 badges |
| Website | 10 | The product's website uses the same headline as the README |
| Quickstart | 10 | One shell block that installs the project, at most 6 commands |
| Readability | 10 | Flesch reading ease of the prose |
The rest covers links that point to real files, a consistent tagline, and whether the setup commands could work in a clean environment.
Try it on a real repo
Enter github.com/owner/repo or paste a README on readme.flisk.si. The sample result on the home page, the README of a small CLI, scores 67/100, grade C, and shows where it loses points: sections 11.6 of 27, first screen 16 of 20.
Every finding links to the line on GitHub at the commit that was scored, with a concrete fix: the heading to add, the command to move, the link to correct.
Why no AI
AI README reviews give a score that moves between runs and advice that points at no line. Here every check is a fixed rule, so the same README always gets the same score.
Run it in your terminal or CI
npx @flisk-sh/readme-score honojs/hono
npx @flisk-sh/readme-score --min-score 90 --markdown >> "$GITHUB_STEP_SUMMARY"
Limits
It scores structure, not truth. A README can score 92 and still describe the wrong thing. The checks that need to run commands are static stand-ins: the README is not executed.
Checklist
- [ ] Title, one-line pitch and install command on the first screen
- [ ] At most 6 badges
- [ ] One short quickstart block
- [ ] Links that point to files that exist
- [ ] Same tagline in README, package.json and the website
Source: github.com/flisk-sh/readme-score.
Top comments (0)