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
Ready-to-paste message
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-reviewOr download just the file:
curl -L https://raw.githubusercontent.com/nexu-io/open-design/main/plugins/_official/atoms/diff-review/SKILL.md -o SKILL.mdTechnical 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.jsonfor 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.jsonthat lacksaccepted_files/rejected_filesonpartialdecisions. - Rolling back files outside
plan/steps.json's union offiles[]— 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
Comments
- …
More skills from this repository
sample-plugin
Makes your agent create a metadata file for tests. It helps ensure code works correctly in different situations.
nexu-io/open-design
aster-atelier
Helps your agent create an artistic website with a classic look. It uses elegant imagery, blue skies, and serif fonts for a cinematic feel.
nexu-io/open-design
audio-jingle
Makes your agent generate audio like jingles and sound effects. It can create music and voices, saving the result as an audio file.
nexu-io/open-design
blog-post
Helps your agent write long articles or blog posts. It includes space for images, quotes, and author information.
nexu-io/open-design
Similar skills
bun-runtime
Has your agent use Bun to run, organize, and test code. It helps choose Bun over other tools and migrate existing projects.
affaan-m/ECC
database-migrations
Helps your agent make safe changes to databases. It ensures changes can be undone and minimizes downtime.
affaan-m/ECC
deployment-patterns
Sets up deployment and CI/CD workflows, containerization, and rollback strategies to ensure safe releases.
affaan-m/ECC