nexu-io/open-design

diff-review

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.

62Collecting
See how to use itView GitHub source
npx skills add https://github.com/nexu-io/open-design --skill "plugins/_official/atoms/diff-review"
Automated source guideReview and auditStandard source

Source checked Jul 28, 2026·Refresh due Oct 26, 2026

Reorganized from the pinned upstream SKILL.md

Source-grounded review guide: 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.

npx skills add https://github.com/nexu-io/open-design --skill "plugins/_official/atoms/diff-review"
Check the pinned source

The pinned source supports a structured brief, but not an expanded tutorial. Only detected inputs, outputs, and sections are shown.

219 source words · 5 usable sections

Review inputs

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

Evidence and findings

  • 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.

Review workflow

Read diff-review through these 4 source sections

Sections are extracted automatically from the pinned SKILL.md and link back to the source.

01

Inputs

The project cwd's accumulated edits since the run started (or

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

Output

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.

SKILL.md · Output
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.
03

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-…

SKILL.md · 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 b…
04

Anti-patterns the prompt fragment forbids

Skipping the surface and assuming acceptance.

SKILL.md · Anti-patterns the prompt fragment forbids
Skipping the surface and assuming acceptance.Generating a decision.json that lacks acceptedfiles /Rolling back files outside plan/steps.json's union of

Review checklist

Verify each item before delivery

The source section “Inputs” has been checked.

The source section “Output” has been checked.

The source section “Convergence” has been checked.

The source section “Anti-patterns the prompt fragment forbids” has been checked.

Source output checked: 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.

FAQ

What does the diff-review source document cover?

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.

How do I install diff-review?

The source record exposes this install command: npx skills add https://github.com/nexu-io/open-design --skill "plugins/_official/atoms/diff-review". Inspect the command and pinned source before running it.

Repository stars
82,073
Repository forks
9,485
Quality
62/100
Source repository last pushed

Quality breakdown

Based on traceable docs and repository signals; stars are not treated as quality.

62/100
Documentation20/30
Specificity10/25
Maintenance20/20
Trust signals12/25
View original Skill.mdThis page is parsed directly from the repository SKILL.md without editorial rewriting. Collected: Jul 28, 2026 · about 1 min

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.

Skill path
plugins/_official/atoms/diff-review/SKILL.md
Commit SHA
89d6d4ef21ba
Repository license
Apache-2.0
Data collected