CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

trysac/repo-health

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.

Quality

94%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

interpreting-results.mdreferences/

Interpreting results

Reading the score

  • The score measures presence of project basics, not code quality. Say so when presenting it.
  • A skipped check changes the denominator: a repository scored without git data can look better or worse than the same one scored with it. State which checks were skipped.
  • Per-category scores show where the gap is; per-check weights show how much each fix is worth.

Order of fixes by points

  1. SEC001 (15): untrack and rotate any file the check flags as a secret; add it to the ignore file.
  2. MNT001 (15): not fixable by editing files; it reflects recent activity.
  3. DOC001, DOC002, DOC004, TST001, CI001, SEC002 (10 each).
  4. DOC003, CI002 (5 each).

Typical causes of a FAIL

  • DOC001: README under 100 words, or only a title and badges.
  • DOC002: the license file is named LICENCE or sits in a subfolder.
  • DOC003 / DOC004: the file exists with another name (CONTRIBUTE.md, SECURITY.rst).
  • TST001: tests live in a folder not called tests, with file names outside the known patterns.
  • CI002: the CI runs tests through a script or tool that is not one of the recognized commands.
  • SEC002: dependency updates are handled by a tool configured outside the recognized files.

Some of these are naming issues rather than missing practices; confirm with the user before recommending new files.

Using a threshold

--min-score N makes the command exit with code 1 below N, which suits a review checklist. Pick a threshold from the current score, then raise it as gaps are closed.

SKILL.md

tile.json