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
export TYPESAFE_API_KEY=...npx jev-lint commits --base main(inferred, check the README)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
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer