Skip to content
Skillpedia
Deploy & cloud (DevOps)101k · #522

diff-review

Lets your agent show changes made in a clear way for you to review. It saves your decision to accept or reject the changes.

What it does

This tool shows the changes made to your code in a way you can understand and decide whether to accept or reject them. It organizes these changes for easy review.

When to use it

  • ✓After a tool makes automatic changes to your code.
  • ✓When you want to review changes before permanently applying them.
  • ✓To decide whether to accept or reject specific parts of a set of changes.

Example of what to ask your AI

“Review the changes made to my code and tell me if I should accept or reject them.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/nexu-io/open-design/blob/main/plugins/_official/atoms/diff-review/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/nexu-io/open-design/blob/main/plugins/_official/atoms/diff-review/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool collects all the changes made to your project. It then presents them in a clear format, like a 'diff', and allows you to choose whether to accept, reject, or partially accept the changes.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add nexu-io/open-design --skill diff-review

Or download just the file:

curl -L https://raw.githubusercontent.com/nexu-io/open-design/main/plugins/_official/atoms/diff-review/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Diff review

Spec §20.3 / §21.3.2: a code-migration / tune-collab handoff is worthless without a human-reviewable diff. This atom is the "present the patch, capture the decision" stage.

Inputs

  • The project cwd's accumulated edits since the run started (or since the previous diff-review iteration).
  • plan/steps.json for context per file.

Output

project-cwd/
└── review/
    ├── diff.patch        # unified diff (git apply-shaped)
    ├── summary.md        # human-friendly per-file walkthrough
    ├── decision.json     # { decision: 'accept' | 'reject' | 'partial', accepted_files: [...], rejected_files: [...], reviewer: 'user' | 'agent' }
    └── meta.json         # { generatedAt, atomDigest, planRevision }

The atom raises a choice GenUI surface with the three top-level decisions (accept / reject / partial). On partial the user flips per-file decisions through follow-up surfaces.

Convergence

The atom completes when decision.json has a non-empty decision. Acceptance writes handoffKind: 'patch' (or 'deployable-app' when a successful build-test is on file) into the eventual artifact manifest; rejection rolls back the patch via git restore or the equivalent in the code-import-bound repo path.

Anti-patterns the prompt fragment forbids

  • Skipping the surface and assuming acceptance.
  • Generating a decision.json that lacks accepted_files / rejected_files on partial decisions.
  • Rolling back files outside plan/steps.json's union of files[] — the patch boundary is a contract.

Status

Implemented by the daemon runner in apps/daemon/src/plugins/atoms/diff-review.ts, with GenUI decisions persisted by apps/daemon/src/plugins/atoms/diff-review-genui-bridge.ts.

FAQ

What is a 'diff'?

A 'diff' is a report that shows the differences between two versions of a file or set of files. It highlights what was added, removed, or modified.

What happens if I reject the changes?

If you reject the changes, the tool will undo them, returning the code to its state before the changes were made.

What does 'partially accept' mean?

It means you can review and decide on each file individually, accepting some and rejecting others within the same set of changes.

Details

Original description by the author

Render the patch-edit run's accumulated changes as a reviewable diff, surface it through a GenUI choice surface, and persist the user's accept / reject decision into the artifact manifest.

repo: nexu-io/open-design

Popularity

GitHub stars
101k
Ranking position
#522
License
Apache-2.0
Updated
10/16/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills