ワンクリックで
code-review
Code review skill — critique the working diff and surface real issues, with optional wiki context for the change
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Code review skill — critique the working diff and surface real issues, with optional wiki context for the change
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Capability discovery — the canonical answer to 'what can you do?' and 'what do I say to ...?'
Close skill — draft resolution comment, sync backends, redirect to next task
Start skill — begin task with optional backend sync
End-of-day wrap-up skill — daily summary and status update
Morning brief skill — prioritized daily summary
Reconcile skill — detect wiki/backend drift and let the User resolve it via four moves
| name | code-review |
| description | Code review skill — critique the working diff and surface real issues, with optional wiki context for the change |
| scope | repo |
Review the working diff in this repository. Surface real issues — correctness, security, edge cases, readability problems that will actually bite — not stylistic nits a linter would catch.
Run this skill when the user asks to "review", "code review", "check my changes", "look at the diff", or otherwise signals they want a critique of the current change before they commit, push, or open a PR.
Default scope is the working diff against the closest integration branch (typically main or master). Use:
git diff --stat $(git merge-base HEAD main 2>/dev/null || git merge-base HEAD master 2>/dev/null || echo HEAD~1)
If $ARGUMENTS names a different base ref, PR number, or commit range, use that instead.
If the diff is empty, say so and stop — there's nothing to review.
git diff <base>...HEAD gives the patch. For each changed file, also read the full file (not just the hunks) so you can reason about call sites, invariants, and edge cases the diff hunk doesn't show on its own.
If this workspace has a wiki/ folder one or two directories up (rubber-ducky workspace pattern), look for related context before drafting the review:
rubber-ducky --workspace ../.. query "<feature or area name from the diff>" 2>/dev/null
Use whatever surfaces (recent task pages, design decisions, prior incidents) to inform the review. Skip silently if rubber-ducky is not on PATH or the workspace isn't a rubber-ducky vault — this is opportunistic context, not a hard dependency.
Organize findings into three buckets, in this order:
For each finding, cite the file and line (path/to/file.ts:123) so the user can jump straight to it. Explain why it's a problem, not just what is unusual — "this swallows the error and returns null, so callers can't distinguish 'no result' from 'lookup failed'" is useful; "consider improving error handling" is not.
One line: ship-ready, ship-with-followups, or needs-changes. Be direct. If you found nothing blocking, say so.
A focused review. No preamble, no "great change overall" warm-up, no closing pep talk. Findings cited by file:line, organized blocking → worth-raising → minor, ending with a one-line verdict.
For engineering skills beyond what rubber-ducky bundles, install Matt Pocock's set inside the repo:
npx skills@latest add mattpocock/skills
Those land in <repo>/.claude/skills/ and compose with this one — no conflict.