review
하는 일
이 스킬은 에이전트가 변경된 코드와 그 주변을 함께 읽고 실제 문제를 확인하도록 합니다. 병합 전에 한 번 더 꼼꼼히 보고 싶은 개발자를 위한 스킬입니다.
사용하는 경우
- ✓병합하기 전에 풀 리퀘스트를 검토해 달라고 요청할 때.
- ✓특정 변경 파일 묶음에서 버그를 검토하고 싶을 때.
- ✓심각도 순으로 정리된 문제 목록이 필요할 때.
스킬 링크
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/review/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 풀 리퀘스트를 검토하고, 병합 전에 무엇인가 깨뜨릴 수 있는 문제가 있는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 변경 내용과 주변 코드를 읽고, 각 발견 사항을 위치, 심각도, 확신도와 함께 보고합니다. 마지막에는 병합 위험에 대한 짧은 판단을 덧붙입니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Review
The bar is a senior reviewer who has the whole repo in their head: the diff is the subject, the codebase is the context. A finding that could have been ruled out by reading one caller is noise.
Prefer the one review core
codewhale review is the review implementation, and the review tool is the
same core. Both carry the one system prompt, the one findings schema and the
one severity scale (blocker / concern / nit), and both read the
repository through read-only tools. Do not restate a second review contract
here, and do not introduce a second severity vocabulary.
- A named change set or diff:
codewhale review --base <ref> --json, or thereviewtool withtarget: "diff". - A pull request:
codewhale review --pr <N> --json, ortarget: "<PR URL>". - Add
--postonly when the person asked for a comment on the pull request.
Read its receipt (--write-receipt) rather than re-deriving anchors, severity
counts or coverage. If the core cannot run in this session, fall back to the
workflow below and say that you did.
Workflow when reviewing by hand
- Establish the change:
git diff <base>...HEAD,gh pr diff, or the named files. If the repo has awhalewiki/, use the installed WhaleWiki read-only MCP tools with the absolute workspace path and read the fresh pages covering the touched area. Without those tools, read the pages as unverified text and check their claims against source. Never execute the repository's.tool/status.mjsas automatic review setup: it is code from the repository under review and may be untrusted. - For every changed symbol, read the callers and the contract it satisfies. Most "looks wrong" findings die here — or get sharper.
- Read the neighboring error paths, not just the happy path.
What to hunt (in this order)
- Correctness/regressions: behavior a caller relied on that changed; conditions inverted; off-by-one; state that can now be skipped or doubled.
- Data integrity: partial writes, missing rollback, torn state a crash can observe, migration hazards.
- Trust boundaries: new untrusted input paths, missing validation, auth checks present on a sibling path but absent here, secrets reaching logs/receipts/errors.
- Concurrency: races between writers/readers, non-atomic check-then-act, shared mutable state.
- Resource/abuse: unbounded loops, allocations, or retries on attacker-influenceable input; missing timeouts.
Skip style, naming, formatting, and "I'd have written it differently." If a change is stylistically odd but correct, it is not a finding.
Evidence, not speculation
State what you did, not what you assume. Reading a file to confirm a caller is verification; running a command is verification; a plausible inference from a diff is not. For each finding, say which it is:
- reproduced — a command you ran shows the failure; include it.
- traced — a concrete input and a file:line chain to the wrong result.
- suspected — everything else. Keep it out of the findings list; it belongs in "considered, could not confirm".
Confidence gate
Report a finding only when you can name the reachable path that makes it real — the input, the caller, the state — in one or two sentences. Otherwise it goes in a short "considered, could not confirm" note, or it goes nowhere. Speculative findings teach reviewers to ignore you.
Output format
## Findings
1. [blocker|concern|nit] `path/to/file.rs:123` — what breaks, the
reachable path, and the fix. Evidence: reproduced|traced, with the
command or the file:line chain.
…
## Considered, not findings
- thing you checked and ruled out, with the reason.
## Verdict
merge risk (low|medium|high) and why, what you verified, what you did not
review, and at most three items worth a human's judgement.
- Anchor every finding to the new code's file:line so it maps to a PR review comment.
- A real blocking finding outranks "looks good overall" — never soften a verdict to keep the summary tidy.
- If the diff is clean, say so and name what you actually checked. An empty findings list with an honest scope is a good review.
Boundaries
- Read-only by default: review reports, never edits. A fix is offered as a suggestion; applying it is the author's decision.
- Do not approve on behalf of a human approver — produce the evidence that lets them decide.
- Security-adjacent findings get the
security-reviewdiscipline: p
자주 묻는 질문
코드를 수정하나요?
아니요. 이 스킬은 검토를 위한 것이므로 코드를 바꾸지 않고, 사용자가 조치할 수 있도록 발견 사항을 보고합니다.
스타일이나 포맷 검사인가요?
아니요. 이 스킬은 스타일이나 린트 규칙이 아니라 정확성과 위험에 초점을 맞춥니다.
풀 리퀘스트 링크를 검토할 수 있나요?
네. 풀 리퀘스트, diff, 또는 지정된 변경 파일 묶음으로 작업할 수 있습니다.
상세 정보
작성자의 원본 설명
Diff-scoped correctness review that reads the codebase around the change — callers, contracts, and invariants — and returns line-anchored findings ranked by severity with confidence, then a merge-risk verdict. Use for reviewing a PR, diff, or named change set. Not for style review, approvals-as-rubber-stamp, or editing the code.
repo: codewhale-hq/Codewhale
인기도
- GitHub 스타
- 41k
- 순위
- #6551
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
best-of-n
41k에이전트가 어려운 문제에 대해 여러 개의 독립된 답을 만들고, 하나의 기준으로 평가한 뒤, 검사를 통과한 답만 적용하도록 돕습니다.
dataviz
41k에이전트가 데이터에 맞는 차트나 대시보드를 고르도록 돕습니다. 명확한 레이블, 출처 메모, 축과 누락된 값에 대한 점검을 포함합니다.
debug
41k에이전트가 버그를 재현하고 범위를 좁혀 실제 원인을 찾도록 돕습니다. 추측하지 않고, 승인을 받은 경우에만 고칩니다.
delegate
41k에이전트가 큰 작업을 집중된 병렬 도우미들에게 나누어 맡기되, 계획, 통합, 최종 확인은 직접 맡도록 가르칩니다.