Score a local repository on docs, tests, CI, security and maintenance with ten weighted offline checks and an A-F grade. Use when the user asks how healthy, complete or well maintained a repository is, or what basics it lacks.
94%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
| Id | Category | Weight | Passes when |
|---|---|---|---|
| DOC001 | docs | 10 | A README (README, .md, .rst, .txt, .markdown) at the root has at least 100 words. |
| DOC002 | docs | 10 | A license file at the root: LICENSE, LICENSE.md, LICENSE.txt or COPYING. |
| DOC003 | docs | 5 | A contributing guide (CONTRIBUTING, .md, .rst, .txt) at the root, in .github/ or in docs/. |
| DOC004 | docs | 10 | SECURITY.md at the root, in .github/ or in docs/. |
| TST001 | tests | 10 | A file named test_*.py, *_test.py, *_test.go, *.test.ts or *.spec.ts, or a directory called tests. |
| CI001 | ci | 10 | A file under .github/workflows/ or a .gitlab-ci.yml. |
| CI002 | ci | 5 | One of those CI files contains pytest, npm test, go test, tox, nox or make test. |
| SEC001 | security | 15 | No tracked file looks like a secret: .env, .env.*, *.pem, *.key, id_rsa, id_ed25519 (names ending in .example or .sample are fine). Needs --tracked-files. |
| SEC002 | security | 10 | Dependency update configuration: .github/dependabot.yml or .yaml, renovate.json, renovate.json5, .renovaterc, .renovaterc.json, .github/renovate.json, .github/renovate.json5 or .gitlab/renovate.json5. |
| MNT001 | maintenance | 15 | The last commit is at most 365 days older than --now. Needs --last-commit. |
Total weight is 100.
total = (200 * passed + possible) // (2 * possible), where passed is the weight of passing checks and possible the weight of checks that were not skipped (round half up). If every check is skipped, the total is 0.PASS and FAIL count toward the score.SKIPPED means the data was not available (git facts not supplied) and the check is left out of both sides of the formula..git directory are not followed or read.too large.too_many_files error.