ce-code-review
できること
このスキルは、コードの変更やプルリクエストをレビューし、重要な問題の一覧を作ります。マージや出荷の前に、慎重に見直してほしい開発者向けです。
使う場面
- ✓マージの前に、プルリクエストのバグと回帰をレビューしたいとき。
- ✓コードの変更に十分なテストがあるかを知りたいとき。
- ✓出荷の工程で、変更のレビュー記録が必要なとき。
スキルのリンク
https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-code-review/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“プルリクエスト42を、バグ、回帰、テストの不足の観点でレビューしてもらえますか。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、指定された差分またはプルリクエストを読み、意図された動作とプロジェクトのルールに照らして確認し、裏付けのある指摘を報告します。依頼された場合は、ローカルで修正も適用できます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Code Review
Help the caller deliver a correct change within the agreed scope. Find defects and improvements whose consequences justify action; judge the code against its intended behavior and project requirements, not a preferred rewrite. Serious defects remain important even when the diff is small. An adequate change needs no findings.
Done when: required review and validation are complete, retained findings are supported by the source, and the caller has a clear result with any remaining coverage limits. Apply only when the invocation authorizes it, under the rules below.
Artifact Root
<!-- ce-docs-root:start -->Resolve the CE artifact root <root> before composing any artifact path.
- Read
docs_rootfrom<repo-root>/.compound-engineering/config.yamlonly (<repo-root>=git rev-parse --show-toplevel). Do not read it fromconfig.local.yaml. Unset -><root>isdocs, exactly as before. - Validate a set value: a repo-relative directory whose real, symlink-resolved path stays inside the repo and is neither the repo root nor under
.git/. Otherwise stop with an error namingdocs_rootand the value -- never fall back todocs. - Use
<root>as the sole artifact location: create it if absent, compose each path as<root>/<subdir>with this skill's own subdirectory, and never also readdocs.
Execution spine
Follow these steps in order; the references supply the detail but never change the order. Read each reference when you enter the step whose own work it governs; a read made before that step does not satisfy it, and a reference you only hand to a leaf is not one you read.
- Read
references/modes-and-output.mdfirst. It settles arguments, conflicts, the quick-review short-circuit, the Review depth gate, and what this invocation returns. - Stage 1. Read
references/scope.mdand resolve the reviewed diff, the scope mode, and the deterministic scope signals. Then apply that Review depth gate before Stage 2. Lite ends the run without the later spine references; lite and focused each run from this context byreferences/depth-paths.md. - Stage 2. Read
references/intent-and-plan.md, write the intent summary every reviewer receives, and discover the plan Stage 6 verifies requirements against. - Stage 3. Read
references/persona-catalog.mdandreferences/select-and-route.md, then select the reviewers the change's risks call for, find the applicable standards files, and decide how the adversarial review will run. - Stage 3d. When adversarial is selected for a local reviewed tree, start and persist the sanctioned cross-model job that
references/cross-model-review.mddefines, before any local persona dispatch. Invoking this skill is itself the authorization for its configured or allowlisted peer route, once you have made the required disclosure of the recipient and of the code that leaves the machine. Do not ask the user to confirm a second time, and do not skip the peer because the user did not repeat that authorization. An explicit user prohibition on external review overrides it, as does a checkout that setscross_model_review_mode: offwith no live opt-in; both are resolved before you bind a route. A started peer replaces the local adversarial persona at this stage, and only a real failure to scope, allowlist, reach, authenticate, or start it leaves the local fallback in the roster; a later stage may still restore the local reviewer under the conditions that reference states. - Stage 4. Read
references/dispatch-reviewers.md. Dispatch the selected local reviewers as one concurrent batch collected in this turn, sized to the host's active-agent cap. Every successful launch is collected only when its terminal outcome is in hand: a valid compact return is consumed, a tool error or malformed output is recorded as a failed reviewer, and a launch acknowledgement alone is not a result. Use the host's blocking collection capability for asynchronous receipts within the bound that reference states, after which an uncollected reviewer is a failed reviewer; a terminal outcome may arrive as the call's return, a blocking wait's return, or a host-delivered terminal message that names the launch and carries its payload; a progress update is not one. If launched work cannot be collected reliably, stop it, and for any persisted peer (the cross-model job) run the cleanup its reference describes before returning the failur
よくある質問
自動的にコードを変更しますか?
あなたが許可した場合にだけです。初期設定では指摘を報告し、依頼された場合にだけローカルの修正を適用します。
プルリクエストに既に付いているフィードバックもレビューしますか?
いいえ。誰かがすでに残したフィードバックは、別のスキルが扱います。
小さな変更にも必ず指摘がありますか?
いいえ。適切な変更には指摘がないことがあると、このスキルは説明しています。
詳細
作者による元の説明
Review a named diff or PR for bugs, regressions, tests, and standards. Use when asked to review code or when a shipping skill needs a review receipt. Use when asked to apply this review's findings locally. Use ce-resolve-pr-feedback for feedback already left on a PR.
人気
- GitHubのスター
- 26k
- ランキング
- #10021
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
ce-babysit-pr
26kエージェントが、開いているGitHubのプルリクエストを、レビューのコメント、失敗したチェック、古くなったブランチを扱いながら、時間をかけてマージに向けて進められるよう支援します。
ce-bakeoff
26kエージェントが、ある問題に対して複数の競合する解決策を作り、それらを比べて、最も強い部分を組み合わせた推奨のアプローチにまとめられるよう支援します。
ce-brainstorm
26kエージェントが、作業を始める前に、短くガイドされた会話を通じて、漠然としたアイデアを明確で適切な大きさの要件に変えられるよう支援します。
ce-commit-push-pr
26kエージェントが、ひとつのガイドされた流れで、変更をコミットし、ブランチをプッシュして、わかりやすい説明つきのGitHubのプルリクエストを作れるよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。