review-agent
하는 일
이 스킬은 에이전트가 코드 변경 집합을 읽고, 파일을 바꾸지 않은 채 버그와 위험을 보고하도록 합니다. 병합 전에 신중하게 한 번 더 보고 싶은 개발자를 위한 스킬입니다.
사용하는 경우
- ✓커밋하기 전에 커밋되지 않은 변경에 대해 두 번째 의견이 필요할 때.
- ✓브랜치와 기준 브랜치의 차이를 검토해야 하는 경우.
- ✓다른 에이전트나 팀원이 특정 커밋에 대해 읽기 전용 점검을 요청할 때.
스킬 링크
https://github.com/HKUDS/DeepCode/blob/main/core/skills/builtin/review-agent/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 커밋되지 않은 변경을 검토하고, 파일은 바꾸지 말고 실제 문제가 있으면 알려 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 차이(diff)와 그 주변 코드를 읽고, 관련 테스트와 호출하는 곳을 확인합니다. 확인할 수 있는 문제만 보고합니다. 파일을 수정하거나, 커밋하거나, 게시하지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Review Agent
Inspect the requested target directly and return every finding that the author would likely fix. Do not modify files, create commits, push branches, post review comments, or delegate the review to another agent.
Review the change
- Read the applicable
AGENTS.mdinstructions. - Inspect the complete diff for the requested target and enough surrounding code to understand each changed path.
- Identify concrete regressions introduced by the change. Continue through the whole diff after finding the first issue.
- Check the relevant tests and call sites to confirm that each finding is real and actionable.
For a base-branch review, compare the changes that would actually merge rather than diffing
directly against the branch tip. Resolve the comparison ref to the branch's upstream when that
upstream exists and is ahead of the local branch; otherwise use the local branch. Run
git merge-base HEAD <comparison-ref>, then inspect git diff <merge-base-sha>. If the local
branch cannot be resolved, try its configured upstream explicitly before reporting that the target
is unavailable.
Flag an issue only when all of these are true:
- It affects correctness, security, performance, or maintainability in a meaningful way.
- It is discrete and actionable.
- It was introduced by the reviewed change.
- The affected scenario or call path can be demonstrated from the code.
- The author would probably fix it if they knew about it.
Do not flag speculative concerns, pre-existing problems, intentional behavior changes, or style nits that do not obscure the code.
Write the result
Present findings first, ordered by severity. Use one entry per issue in this form:
[P1] Imperative finding title — path/to/file.rs:line
Follow the title with one short paragraph explaining the affected scenario and why the behavior is wrong. Keep the cited range as small as possible and make sure it overlaps the reviewed diff.
Use these priorities:
P0: universal release blocker or critical failure.P1: urgent defect that should be fixed next.P2: ordinary defect that should be fixed.P3: low-impact issue that is still worth fixing.
If there are no qualifying findings, say No findings. Do not invent a finding to fill the result.
After the findings, add a brief overall assessment and mention any material test gaps or residual
risks.
자주 묻는 질문
제 코드를 바꾸나요?
아니요. 리뷰는 읽기 전용이므로 파일을 수정하거나, 커밋을 만들거나, 댓글을 올리지 않습니다.
사소한 스타일 지적도 하나요?
정확성, 보안, 성능, 유지 보수성에 영향을 주는 의미 있고 실행할 수 있는 문제에 집중합니다.
무엇을 검토할 수 있나요?
커밋되지 않은 변경, 기준 브랜치와 비교한 브랜치, 커밋, 또는 직접 준 지침을 검토할 수 있습니다.
상세 정보
작성자의 원본 설명
Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.
repo: HKUDS/DeepCode
인기도
- GitHub 스타
- 17k
- 순위
- #10798
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …