diff-review
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.
Skill link
https://github.com/nexu-io/open-design/blob/main/plugins/_official/atoms/diff-review/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βReview the changes made to my code and tell me if I should accept or reject them.β
5 new skills a week. 1 minute to read.
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.
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.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
- #982
- License
- Apache-2.0
- Updated
- 10/15/2026
Comments
- β¦
More skills from this repository
sample-plugin
101kMakes your agent create a metadata file for tests. It helps ensure code works correctly in different situations.
aster-atelier
101kHelps your agent create an artistic website with a classic look. It uses elegant imagery, blue skies, and serif fonts for a cinematic feel.
audio-jingle
101kMakes your agent generate audio like jingles and sound effects. It can create music and voices, saving the result as an audio file.
blog-post
101kHelps your agent write long articles or blog posts. It includes space for images, quotes, and author information.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.