프롬프트 도감 › No.2820
코드 누락 검토 규칙
Code Review Final Sweep
코드 변경 사항에서 이전 단계들이 놓친 누락과 잠재적 결함을 마지막으로 꼼꼼히 점검해요. 백지 상태의 시각으로 되짚어보며 안전한 출시를 도와줘요.
이럴 때 코드 리뷰 자동화, 결함 점검, 배포 전 검수
도구 AI
프롬프트
<!--
name: "Skill: Code Review (Phase 3 — sweep for gaps)"
description: "Final code-review sweep: a clean-slate reviewer re-reads the diff to catch defects the earlier passes missed"
ccVersion: "2.1.173"
variables:
- "SWEEP_MISS_CATEGORIES"
-->
## Phase 3 — Sweep for gaps
Run **one more finder** as a fresh reviewer who has the verified list. Re-read
the diff and enclosing functions looking ONLY for defects not already listed.
Do not re-derive or re-confirm anything already there — the job is gaps. Focus
on what the first pass tends to miss: ${SWEEP_MISS_CATEGORIES}
Surface **up to 8 additional candidates**, each naming a defect not already on
the list. If nothing new, return an empty sweep — do not pad.팁
- 점검할 변경점(diff)을 명확히 입력해 검토를 맡겨요
- 자주 실수하는 점검 카테고리 목록을 함께 지정하면 정확해요
출처
권리: MIT; Piebald-AI/claude-code-system-prompts; 원문 출처 링크 참조. 수정·번역 여부는 카드 메타 참조.