User repository on GitHub
Put your code comments on trial. Powered by Jev.
- Forks
- 0
- Last pushed
- Updated Sep 2026
Repo stats from the GitHub API, cached Oct 2026.
A CLI that reads the comments in your JS/TS files with the code around them and scores each one for accuracy and usefulness out of 100, weakest first, using Jev.
User repository on GitHub
Put your code comments on trial. Powered by Jev.
Repo stats from the GitHub API, cached Oct 2026.
A little CLI that judges your code comments with Jev. Is the comment accurate? Does it explain something useful? Or is it just "multiply by two" above value 2? Commentcop reads your JS/TS comments with the code around them and scores accuracy and usefulness out of 100. The weakest comments show up first. It respects .gitignore and skips generated code and dependencies. Grab an API key from TypeSafe, then:
Quoted from the project's README. Read the full README.
Watch out
A score of 100 on accuracy does not mean the comment is complete, only that Jev read it as consistent with the nearby code, and the README is explicit that some comments need context beyond that. Read the confidence alongside the score rather than acting on the number alone, and treat the ratings as a starting point for review. Every comment and the code around it is sent to TypeSafe, so anything private left in a comment leaves your machine. The key is stored in plain config at ~/.config/commentcop/config.json unless you set XDG_CONFIG_HOME, and a setup step or the TYPESAFE_API_KEY environment variable will store it for you. Runtime needs are Bun, Node 22.18+ on the 22.x line, or Node 24.11+. Copy reviewed against the repository README on 2026-10-04, not from running it.
Original write-ups on what this entry is for.
Posts from builders shipping with Jev right now.