본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)101k · #982

diff-review

하는 일

코드에 가해진 변경 사항을 이해하기 쉬운 방식으로 보여 주어, 수락할지 거절할지 결정하도록 돕습니다. 검토하기 쉽게 변경 사항을 정리합니다.

사용하는 경우

  • ✓도구가 코드를 자동으로 바꾼 후.
  • ✓변경 사항을 영구적으로 적용하기 전에 검토하고 싶을 때.
  • ✓한 묶음의 변경 중 특정 부분을 수락하거나 거절할지 결정할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

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.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 코드에 가해진 변경 사항을 검토하고, 수락해야 할지 거절해야 할지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 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'란 무엇인가요?

두 버전의 파일이나 파일 묶음 사이의 차이를 보여 주는 보고서입니다. 추가, 삭제, 수정된 부분을 강조합니다.

변경을 거절하면 어떻게 되나요?

변경을 거절하면 도구가 되돌려, 변경 전 상태로 코드를 되돌립니다.

'부분 수락'은 무엇을 뜻하나요?

같은 묶음의 변경 안에서도 파일별로 검토해 어떤 것은 수락하고 어떤 것은 거절할 수 있다는 뜻입니다.

상세 정보

작성자의 원본 설명

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
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬