plan-eng-review

plan-eng-review is a command for coding agents from FlorianBruniaux/claude-code-plugins. It costs 23 tokens per session (1,320 once invoked), scanned A, original, MIT.

An engineering review command that turns an agreed product direction into a detailed technical specification before implementation. It focuses on architecture, diagrams, edge cases, and the test plan.

In plain words
What is it for?
Use it after product direction is settled to define system structure, interactions, failure states, and the tests needed for a non-trivial feature.
Why use it?
It makes hidden assumptions and failure paths explicit before they become production issues, especially when systems have asynchronous steps or external services.

Command

Part of the pr-workflow plugin — 5 skills, 7 commands, 3 agents shipped together

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/florianbruniaux/claude-code-plugins/plan-eng-review
Clone the repo
git clone --depth 1 https://github.com/FlorianBruniaux/claude-code-plugins

Or install pr-workflow, the plugin that ships this one along with the rest of its 5 skills, 7 commands, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for plan-eng-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/florianbruniaux/claude-code-plugins/plan-eng-review.svg)](https://agentmods.dev/commands/florianbruniaux/claude-code-plugins/plan-eng-review)
Your own site
<a href="https://agentmods.dev/commands/florianbruniaux/claude-code-plugins/plan-eng-review"><img src="https://agentmods.dev/badge/commands/florianbruniaux/claude-code-plugins/plan-eng-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,320 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.00023 $0.01320
Opus 5 $0.00012 $0.00660
Sonnet 5 $0.00005 $0.00264
Haiku 4.5 $0.00002 $0.00132

Measured yesterday against content hash 9ec975adfb46, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

plan-eng-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 yesterday.

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.

plugins/pr-workflow/commands/plan-eng-review.md · 196 lines

How it starts

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

/plan-eng-review — Engineering Architecture Gate

Post-direction, pre-implementation command. Takes validated product direction and returns a buildable technical spec with diagrams. Forces the system to think through architecture before a single line of implementation code is written.

Use after /plan-ceo-review has locked direction. Still in plan mode.


The Problem This Solves

Once product direction is locked, the next failure mode is vague architecture. "The system will handle it" is not a plan. This command forces explicit answers to the hard technical questions before they become production incidents.

The key unlock: forcing diagram generation. Diagrams surface hidden assumptions that prose keeps vague. A sequence diagram makes you specify who calls what. A state machine makes you enumerate every failure mode explicitly.


When to Use

  • After product direction is validated (post /plan-ceo-review or equivalent)
  • Before any implementation work starts on a non-trivial feature
  • When the feature has async components, external dependencies, or multi-step flows
  • Any time "the architecture is clear" needs to be proven, not assumed

What It Should Produce

Output Why it matters
Architecture diagram (Mermaid) Makes component boundaries explicit
Data flow diagram Shows where data transforms and who owns what
State machine for core flow Forces enumeration of all states including failures
Sync vs async boundary decisions Prevents "just make it async" without reasoning
Failure mode inventory Every failure path, not just happy path
Trust boundary map Where do you accept external input? What do you validate?
Test matrix What needs to be tested and at which layer

Prompt Template

# /plan-eng-review

You are in engineering manager / tech lead mode. Direction is locked.
Your job is to make it buildable — turn the product direction into a
technical spec that an engineer can implement without making architecture
decisions on the fly.

Do NOT question the product direction. Do NOT suggest scope changes.
Do NOT implement anything. Return a technical spec.

## Step 1: Restate the Feature

1-2 sentences: what is being built. Confirm you are working from the
correct brief.

## Step 2: Architecture Diagram

Draw the component architecture in Mermaid:
- All components involved (frontend, backend, jobs, storage, external APIs)
- Boundaries between components
- Data flow directions

```mermaid
graph LR
    ...

Step 3: Core Flow — Sequence Diagram

Draw the happy path as a sequence diagram:

  • Which components call which, in what order
  • What data passes at each step
  • Where async handoffs happen
sequenceDiagram
    ...

Step 4: State Machine

Draw the state machine for the core domain object:

  • All valid states
  • All transitions and their triggers
  • Terminal states (success AND failure)
stateDiagram-v2
    ...

Step 5: Sync vs Async Decisions

For each operation in the flow, decide:

  • Synchronous (blocks the request): why, and what is the latency budget
  • Asynchronous (background job): why, what triggers retry, how does the caller know it succeeded

Step 6: Failure Mode Inventory

For each step in the flow, enumerate:

  • What can fail
  • How it fails (silently? loudly? partial success?)
  • What the recovery path is
  • What the user sees

Flag any failure that is currently silent.

Step 7: Trust Boundaries

For each external input (user uploads, API responses, webhook payloads):

  • What do you trust? What do you validate?
  • Where could malicious input cause harm?
  • Is any external data flowing into further processing (prompt injection risk)?

Step 8: Test Matrix

Layer What to test Why
Unit ... ...
Integration ... ...
E2E ... ...

Identify any failure mode from Step 6 that does not have a corresponding test.

Step 9: Open Questions

List any architectural decision that is genuinely unclear and needs a human decision before implementation can start. Not a comprehensive list — only blockers.

Read the full file on GitHub · 196 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. yesterday First seen · 196 lines · 23 tokens per session scan A 9ec975adfb46

Subscribe to this mod's changes

plan-eng-review is a command published in the GitHub repository FlorianBruniaux/claude-code-plugins (40 stars, last pushed 3d ago), licensed MIT. It adds 23 tokens to every session and 1,320 once invoked, about $0.0001 per session on Opus 5. 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-09-04.