DEV Community

R VIKRAM
R VIKRAM

Posted on

Your GitHub repo scored 28/100 — here's the checklist that caught it

Your GitHub repo scored 28/100 — here's the checklist that caught it

Your repo looks unfinished and you can't say why. No LICENSE, a one-line README, node_modules committed, a 40 MB binary in git history, no CI, no topics. Each gap is a five-minute fix once found — and each one is a reason a hiring manager or a collaborator closes the tab.

I built a skill that scores any repo against the senior standard, and this article is the checklist it runs — so you can use it even without the skill.

TL;DR

Score your repo 0–100: start at 100, subtract points per gap (missing LICENSE −15, node_modules committed −12, binary committed −10, stub README −10, large file −6, no CI −6, no topics −5, missing README sections −5, no .gitignore −8, no description −4, default branch not main −3). PASS is 70+. A fictional sample repo with all of these gaps scored 28/100 — FAIL, 9 findings, 72 points deducted.

The checks, and how to run them

The skill is a stdlib-only Python CLI. You hand it a manifest — a JSON object describing the repo, not the repo itself — and it scores it:

python3 scripts/main_pipeline.py --input sample_data/sample_input.json \
    --output /tmp/repo-audit-out.md --json /tmp/repo-audit-out.json
Enter fullscreen mode Exit fullscreen mode

The manifest is plain JSON. Here is the shape, with the fictional sample's values:

{
  "repo_name": "fictional-shop-analytics",
  "description": "A fictional sample shop analytics repo used only to test the audit.",
  "topics": [],
  "files": [
    {"path": "README.md", "size_bytes": 120},
    {"path": "node_modules/lodash/lodash.js", "size_bytes": 1258291},
    {"path": "assets/model.bin", "size_bytes": 41943040}
  ],
  "has_readme": true,
  "readme_sections": ["title"],
  "readme_length_chars": 120,
  "has_license": false,
  "has_gitignore": true,
  "has_ci": false,
  "default_branch": "master",
  "large_files": ["assets/model.bin"],
  "committed_binaries": ["assets/model.bin"]
}
Enter fullscreen mode Exit fullscreen mode

The pipeline sorts findings High first, then Medium, then Low, and a second script validates the report — schema, ranked order, score math — before anything is delivered:

python3 scripts/validate_output.py --markdown /tmp/repo-audit-out.md \
    --json /tmp/repo-audit-out.json
# Validation passed: 0 errors
Enter fullscreen mode Exit fullscreen mode

The proof

Real dry run on that fictional manifest, 2026-11-30:

Repo: fictional-shop-analytics
Score: 28/100 (FAIL)
Total findings: 9
High: 4 | Medium: 4 | Low: 1
1. [High] NO_LICENSE (-15) — no LICENSE file in the repo
2. [High] COMMITTED_NODE_MODULES (-12) — node_modules committed
3. [High] README_STUB (-10) — README is 120 chars, 1 section
4. [High] COMMITTED_BINARY (-10) — assets/model.bin, 40.0 MB binary committed
5. [Medium] LARGE_FILE (-6) — assets/model.bin over the 10 MB limit
6. [Medium] NO_CI (-6) — no CI configured
7. [Medium] NO_TOPICS (-5) — no topics set
8. [Medium] README_MISSING_SECTIONS (-5) — missing installation, usage, results, structure, license
9. [Low] DEFAULT_BRANCH_NOT_MAIN (-3) — default branch is 'master', not 'main'
Enter fullscreen mode Exit fullscreen mode

The fixes are concrete, not advice. Remove node_modules with git rm -r --cached node_modules and add it to .gitignore. Purge the 40 MB binary from history with BFG or git-filter-repo — deleting it in a later commit does not shrink the repo — and host it in GitHub Releases instead. Add a LICENSE at the root. Expand the README to cover problem, what was built, stack, how to run it, results with numbers, and structure.

Limits, honestly

This is a manifest audit: it scores what the manifest says, so a stale manifest scores a stale repo. And the checks are structural, not qualitative — a 2,000-word README can still be badly written, and a CI workflow can still be broken. The audit checks presence and shape; read the README and the workflow yourself before calling the repo done.

Try it

The full skill is $15 one-time — it runs the whole checklist, validates the report, and hands you the ranked fix list:

Run the checklist against your own repos. What gap would yours fail on first — the README, or what's committed in it?

Top comments (0)