with one click
code-review
Find bugs and potential issues in code changes.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Find bugs and potential issues in code changes.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Atomic execution for the project framework. Executes exactly one atomic task from `PLAN.md`.
Comprehensive Execution for the `SPAE` framework. Executes all tasks from `PLAN.md` sequentially in one invocation.
Optimization & Verification for the `SPAE` framework. Performs gap analysis on `PLAN.md`.
Orchestrate SPAE subagents sequentially through the structured workflow and lifecycle.
Task Decomposition for the `SPAE` framework. Decomposes `SPEC.md` into a `DAG` of atomic tasks in `PLAN.md`.
Orchestrate SPAE subagents sequentially through the spec, plan, and inspect phases of the structured workflow.
| name | code-review |
| description | Find bugs and potential issues in code changes. |
| user-invocable | false |
| argument-hint | [optional: diff, commit, PR, file, or focus area] |
Conduct a skeptical, evidence-based review that flags only material defects—incorrect behavior, data loss, security vulnerabilities, or crashes. Return prioritized findings with exact code citations.
In scope:
Out of scope:
DRY / abstraction suggestionsDetermine scope from the first available source:
unstaged, and untracked
files in a versioned project.Abort with a clear message if no scope detected.
code-review-report.yaml from the project root if
present.references/code-review-guide.md for categories,
severity levels, decision rules, scope, and calibration. Read
references/report-schema.json as the output contract. Anchor to
review goal; name what the review won't change.AGENTS.md, ORIENT.md,
DESIGN.md), nearby code, and tests for grounding.dereferences,
unchecked Result/Option types, unsafe coercions.read-modify-write atomicity, async race conditions.hardcoded credentials, auth bypass,
PII in logs, unsafe deserialization, missing boundary
validation.unpropagated errors.Unvalidated index/size/key inputs, broken
serialization contracts, truncation risk.code-review-report.yaml to the project root conforming to
references/report-schema.json. Write once, after VERIFY passes. Use
| block scalars for multi-line suggestion and excerpt fields.path:line.Critical, High, Medium, Low, Nit.
Nit only when trivially co-located with a higher-severity
finding.Request Changes (any Critical/High) · Comment (Medium/Low
only) · Approve (no findings).AGENTS.md before reporting.Stack: Python 3.12, asyncio), apply its language-specific severity
adjustments—it takes precedence.exploitability.code-review-report.yaml written and conforms to
references/report-schema.json.### Execution Summary
- **Actions**:
- [Terse list of actions taken]
- **Files**:
- [Terse list of affected files]
- **Findings**:
- [Terse list of notable findings]
- **Resolutions**:
- [Terse list of recommended fixes to findings]
- **Summary**:
- [Terse list summarizing outcome]
> **Code Review Status** • `[scope]`
> **Result**: [Issues Found | No Issues | Failed]
> **Impact**: [Terse impact statement]