code-review-investigate
Identify changed code and dispatch reuse, quality, and efficiency reviewer agents in parallel; return the raw findings list.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Identify changed code and dispatch reuse, quality, and efficiency reviewer agents in parallel; return the raw findings list.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review changed code for reuse, quality, and efficiency, and produce a triaged list of findings (no edits). Use after writing code, for simpler code with fewer bugs and better performance.
Provides guidance on good software design principles, with trade-off calibration, examples, and common failure modes. Applies when making decisions while writing, designing, or refactoring code, or evaluating trivial code for clarity, maintainability, and common mistakes.
Reviews code with a team against established software design principles, and returns triaged findings (no edits). Use when evaluating code, or after writing or refactoring complex code, systems or technical designs: for code that is clearer, easier to maintain, and avoids common mistakes.
Shared setup for shaping sessions. Determines if an artefact exists or needs creating, creates it if needed, starts the transcript, reads the type taxonomy. Called by the parent router or by any sub-skill invoked directly.
Shape an artefact through structured Q&A. Routes to the right sub-skill: brainstorm (new/unclear artefacts), refine (open decisions), or discover (exploration-driven artefacts like People and Ideas).
Review changed code for reuse, quality, and efficiency, then fix any issues found.
| name | code-review:investigate |
| description | Identify changed code and dispatch reuse, quality, and efficiency reviewer agents in parallel; return the raw findings list. |
Run a code review and return the raw findings list — no triage, no edits. Run all reviewers in parallel using subagents. Used by code-review and code-review:fix; can also be called directly.
Run git diff HEAD to see uncommitted changes (staged and unstaged together). If there are no git changes, review the most recently modified files the user mentioned or that you edited earlier in this conversation.
Dispatch all three reviewers as parallel subagents in a single message. Pass each subagent the full diff so it has the complete context. Each reviewer's briefing is the corresponding section below.
Each reviewer must return findings as a list — one item per finding, citing file:line, naming the issue, and proposing the cleanup. Reviewers do not edit files.
For each change:
Review for hacky patterns:
Review for efficiency:
Wait for all reviewers to complete, then return every finding from every reviewer — each citing file:line, the issue, and the proposed cleanup. No triage, no fixes, no summary. If no findings, say so in one line.