ワンクリックで
review-dog
Review code changes for bugs, style, best practices, and adherence to project conventions.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Review code changes for bugs, style, best practices, and adherence to project conventions.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Orchestrate the review skills (review-dog, regression-dog) into one deduplicated, adjudicated report. TRIGGER when: the user wants a combined/full/aggregated review of a branch or commit (e.g., "run the full review", "review this branch with everything", "give me the aggregated review").
Review new/changed code for bugs. TRIGGER when: checking for bugs, auditing new logic, or validating correctness (e.g., "any bugs here?", "check this for bugs", "is this correct?").
Review code for regressions. TRIGGER when: reviewing changes, checking for breakage, or auditing commits (e.g., "did I break anything", "review last commit").
Add JSDoc to code entities. TRIGGER when: user asks to add/write/improve JSDoc (e.g., "add jsdoc to Foo", "jsdoc for Bar").
| name | review-dog |
| description | Review code changes for bugs, style, best practices, and adherence to project conventions. |
This skill guides creation of distinctive, expert-level code reviews that avoid generic "AI slop" — boilerplate observations, vague suggestions, parroting code back, and rubber-stamped clearances. Produce reviews that read like they came from a staff+ engineer who focuses on finding real problems in the concrete code at hand, not reciting common wisdom that sounds applicable but isn't. Every finding must be grounded in the context of the code being changed — its purpose, its callers, its invariants — not in what diffs like this tend to get wrong in general.
Important:
CLAUDE.md compliance:
Review technique:
Read the diff carefully.
Classify the changed files into clusters based on what they are part of. For each cluster, note its nature — for example: a high-traffic production endpoint, a shared internal library, an internal CLI tool, a standalone PoC app, a test helper, a CI/CD script, etc. Output these clusters before proceeding.
For each cluster, based on its nature and the specific changes in the diff, compile a list of review aspects that are most relevant. Aspects to consider (pick the ones that apply, add others as needed):
Weight aspects according to the cluster's nature — e.g., failure modes and contracts matter more for a shared library than for a one-off script; security matters more for a production endpoint than for a test helper.
Review the code through each selected aspect, one cluster at a time. For each aspect, reason about whether the diff introduces any issues visible through that lens.
Compile findings into the output format below.
Quality bar:
Output format:
severity · aspect — path/to/file.ts:line. Severity is one of critical / warning / nit.Example of a single finding:
1. Logs full shopifyContext at info — emits hundreds of KB per request
_warning · log hygiene — generate-segments-endpoint.ts:194_
`ret` carries up to 50 product objects plus 50 collection objects with
merchant-authored rich-text descriptions... [rest of the detailed body]
Scope (pass as arguments):
main: review all commits since the last merge from mainHEAD~3: review the last 3 commitsabc123..HEAD, main..HEAD)