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

How to feed a diff review as JSON to a coding agent with Jev Review

Print the change review as JSON so an agent can triage the findings against the code.

Short answer: Install Node.js 24 or newer and Git, then add TYPESAFE_API_KEY to .env; then run npm install in the Jev Review folder; run npm run review:changes -- /path/to/git/repository and save the printed JSON to a file. All steps.

Who it is forA developer using an AI coding agent who wants the agent to act on review findings rather than read them by hand.

The problemAgents need structured input, and a plain-text review is hard to parse reliably.

The outcomeA JSON review of the current diff that the agent can use to decide which findings to fix, dismiss, or investigate.

What you need first

  • Node.js 24 or newer
  • Git installed and a Git repository to review
  • A TypeSafe API key from https://console.typesafe.ai/settings/keys

Steps

  1. Install Node.js 24 or newer and Git, then add TYPESAFE_API_KEY to .env.
  2. Run npm install in the Jev Review folder.
  3. Run npm run review:changes -- /path/to/git/repository and save the printed JSON to a file. (inferred, check the README)
  4. Give the JSON file to your coding agent with instructions to check each finding against the cited hunk.

Prompt for your agent

In the jev-review repo, run `npm run review:changes -- <path to git repository>` and capture the JSON output. For each finding, open the cited diff hunk in the target repository and label it as confirmed, unclear, or false positive. Verify the labels by re-reading the code before you change anything.

Caveat. The README calls findings review prompts, so an agent should confirm each one in the code and not apply fixes automatically.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for devagrawal09/jev-review and "Feed a diff review as JSON to a coding agent"

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