मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)101k · #982

diff-review

यह क्या करती है

यह टूल आपके कोड में हुए बदलावों को ऐसे दिखाता है जिन्हें आप आसानी से समझ सकें, ताकि आप तय कर सकें कि उन्हें स्वीकार करना है या अस्वीकार। यह बदलावों को समीक्षा के लिए व्यवस्थित करता है।

कब इस्तेमाल करें

  • ✓जब कोई टूल आपके कोड में अपने-आप बदलाव करता है।
  • ✓स्थायी रूप से लागू करने से पहले बदलावों की समीक्षा करना चाहते हैं।
  • ✓बदलावों के सेट में से खास हिस्सों को स्वीकार या अस्वीकार करने का फ़ैसला करने के लिए।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/nexu-io/open-design/blob/main/plugins/_official/atoms/diff-review/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे कोड में हुए बदलावों की समीक्षा करो और बताओ कि मुझे उन्हें स्वीकार करना चाहिए या अस्वीकार।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

टूल आपके प्रोजेक्ट में हुए सभी बदलाव इकट्ठा करता है। फिर उन्हें 'diff' जैसे साफ़ फ़ॉर्मैट में दिखाता है, और आप चुन सकते हैं कि बदलाव स्वीकार करने हैं, अस्वीकार करने हैं, या आंशिक रूप से स्वीकार करने हैं।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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.

अक्सर पूछे जाने वाले सवाल

'diff' क्या है?

'diff' एक रिपोर्ट है जो किसी फ़ाइल या फ़ाइलों के दो वर्ज़न के बीच का अंतर दिखाती है। इसमें साफ़ दिखता है कि क्या जोड़ा गया, हटाया गया या बदला गया।

अगर मैं बदलाव अस्वीकार कर दूँ तो क्या होगा?

बदलाव अस्वीकार करने पर टूल उन्हें वापस ले लेगा, और कोड उस हालत में लौट जाएगा जो बदलाव से पहले थी।

'आंशिक रूप से स्वीकार' का क्या मतलब है?

इसका मतलब है कि आप हर फ़ाइल को अलग-अलग देखकर फ़ैसला कर सकते हैं। एक ही बदलावों के सेट में कुछ फ़ाइलें स्वीकार हो सकती हैं और कुछ अस्वीकार।

जानकारी

लेखक का मूल विवरण

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

लोकप्रियता

GitHub स्टार
101k
रैंकिंग में स्थान
#982
लाइसेंस
Apache-2.0
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills