code-review

A structured checklist for reviewing a completed code change against the project’s plans, architecture, conventions, and acceptance criteria.

In plain words
What is it for?
Use it to check correctness, maintainability, documentation, validation results, and whether the change stayed within its approved scope.
Why use it?
It helps catch missing work, unintended changes, and inconsistencies before the implementation is accepted.

Command for Codex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/pueraeternis/agentic-project-template/code-review
Clone the repo
git clone --depth 1 https://github.com/pueraeternis/agentic-project-template

Made for: Codex.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 393 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00393
Opus 5 $0.00000 $0.00197
Sonnet 5 $0.00000 $0.00079
Haiku 4.5 $0.00000 $0.00039

Measured 2d ago against content hash 573f661dcdc1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.codex/prompts/code-review.md · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Code Review Prompt

Review the completed implementation using the Agentic Engineering Methodology.


Objective

Verify that the implementation:

  • satisfies the approved implementation plan;
  • preserves repository consistency;
  • respects the documented architecture;
  • follows documented engineering conventions;
  • introduces no unintended scope.

The review should focus on correctness, consistency, maintainability, and traceability.


Repository Context

Review the repository documentation in the following order:

  1. AGENTS.md
  2. docs/project/PROJECT.md
  3. docs/project/ROADMAP.md
  4. docs/project/ARCHITECTURE.md
  5. docs/project/ENGINEERING.md
  6. Relevant ADRs
  7. Approved implementation plan

Then review the implementation changes.


Review Checklist

Verify:

  • implementation completeness;
  • correctness;
  • maintainability;
  • readability;
  • architectural consistency;
  • engineering consistency;
  • documentation updates;
  • validation results.

Confirm that the implementation satisfies the documented acceptance criteria.


Scope Compliance

Confirm that:

  • only approved functionality has been implemented;
  • no unrelated refactoring has been introduced;
  • no hidden behavior has been added;
  • architectural boundaries have been respected;
  • engineering conventions have been followed.

Reject unnecessary scope expansion.


Engineering Quality

Review:

  • code organization;
  • naming;
  • type safety;
  • error handling;
  • logging;
  • testing;
  • documentation.

Use ENGINEERING.md as the source of truth for project-specific engineering conventions.

Prefer simple, maintainable implementations.

Avoid requesting improvements outside the approved scope.


Findings

Classify findings by severity:

  • Critical
  • Major
  • Minor
  • Suggestion

Only Critical and Major findings should block approval.


Review Outcome

Conclude with one of:

  • Approved
  • Approved with Minor Suggestions
  • Changes Requested

Explain the reasoning for the outcome.

Read the full file on GitHub · 112 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 112 lines · 0 tokens per session scan A 573f661dcdc1

Subscribe to this mod's changes

code-review is a command published in the GitHub repository pueraeternis/agentic-project-template (2 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 393 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.