원클릭으로
review-diff
Review a code diff for correctness, logic errors, and style issues.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Review a code diff for correctness, logic errors, and style issues.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use this skill to generate well-branded interfaces and assets for AGENT-33, either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.
Scan code for security vulnerabilities and unsafe patterns with remediation guidance.
Propose targeted refactoring and readability improvements for reviewed code.
Diagnose and explain error messages with root cause analysis and actionable fix steps.
Assist with common git operations including branching, committing, and pull requests.
Lint source code using project-configured linters and auto-fix safe violations.
| name | review-diff |
| version | 1.0.0 |
| description | Review a code diff for correctness, logic errors, and style issues. |
| allowed_tools | ["file_ops","shell"] |
| tags | ["code-review","diff","quality"] |
Given a code diff (unified diff format or a PR description with changed files), perform a thorough code review covering correctness, logic, and style.
file_ops. If a
git ref is given, run git diff <ref> via shell.except clauses, swallowed exceptions, missing null checks.[BLOCKING] or [ADVISORY]## Code Review: <description of change>
### Issues Found
**[BLOCKING] File.py:42 — Correctness**
Problem: The condition `if x = None` assigns rather than compares.
Fix: Change to `if x is None`.
**[ADVISORY] utils.py:17 — Style**
Problem: Function `process_data` has no docstring.
Fix: Add a one-line docstring describing its purpose and return type.
### Summary
Verdict: NEEDS CHANGES
Blocking issues: 1
Advisory issues: 1