DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to check commit messages and staged changes against AGENTS.md with Jev Lint

Judge each commit message against its diff and each change against repo instructions.

Short answer: export TYPESAFE_API_KEY=; then npx jev-lint commits --base main; npx jev-lint commits --staged. All steps.

Who it is forA developer or agent working in a repository that has an AGENTS.md file and wants commits and staged edits checked against those written rules before they are pushed.

The problemCommit messages can describe something other than the diff, and changes can break instructions the repository wrote for itself.

The outcomeA per-commit report of message-versus-diff and change-versus-instruction findings, plus a check of staged work before the commit is made.

What you need first

  • Node 24 or newer with npx
  • A TYPESAFE_API_KEY from https://typesafe.ai, set in the environment (the code being judged is sent to the API)
  • A repository with code to lint, such as a TypeScript src folder

Steps

  1. export TYPESAFE_API_KEY=...
  2. npx jev-lint commits --base main (inferred, check the README)
  3. npx jev-lint commits --staged (inferred, check the README)

Prompt for your agent

In the repository <repo-path>, with TYPESAFE_API_KEY set, run `npx jev-lint commits --base main` and then `npx jev-lint commits --staged`. Report each finding that cites an AGENTS.md instruction or a commit message mismatch, and confirm each cited instruction exists in the file.

Caveat. The README says only instructions a diff can be held against are judged, so vague guidance such as 'develop test-first' will not produce findings.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for mizchi/jev-lint and "Check commit messages and staged changes against AGENTS.md"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer