Skip to content
cccskills
FreePublished on GitHub

plan-pipeline-eng-review

Turn an agreed product direction into a technical specification before coding. Create architecture and flow diagrams, define failure handling and input validation, and map tests to the behavior engineers need to implement.

OriginalShow the original description

Engineering architecture gate: lock architecture, diagrams, edge cases, and test matrix before writing implementation code

See how to install

Good for

  • Define architecture before implementing a complex feature
  • Map background jobs and external API interactions
  • Check failure recovery paths and test coverage
  • Clarify where external input needs validation

Files included (1)

  • SKILL.md5.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

/plan-pipeline: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-pipeline: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-pipeline: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

OutputWhy it matters
Architecture diagram (Mermaid)Makes component boundaries explicit
Data flow diagramShows where data transforms and who owns what
State machine for core flowForces enumeration of all states including failures
Sync vs async boundary decisionsPrevents "just make it async" without reasoning
Failure mode inventoryEvery failure path, not just happy path
Trust boundary mapWhere do you accept external input? What do you validate?
Test matrixWhat needs to be tested and at which layer

Prompt template

# /plan-pipeline: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

LayerWhat to testWhy
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.


---

## Example

**Feature**: Smart listing creation from photo (post-`/plan-pipeline:ceo-review`)

**Output excerpt**:
```mermaid
graph LR
    Upload[Photo Upload] --> Storage[Object Storage]
    Storage --> Classify[Vision Classification Job]
    Classify --> Enrich[Web Enrichment Job]
    Enrich --> DraftGen[Draft Generation]
    DraftGen --> DB[(Listings DB)]
    DraftGen --> UI[Listing Editor UI]

State machine:

stateDiagram-v2
    [*] --> pending
    pending --> classifying
    classifying --> enriching
    classifying --> classification_failed
    enriching --> draft_ready
    enriching --> enrichment_partial
    enrichment_partial --> draft_ready
    draft_ready --> published
    draft_ready --> discarded

Failure modes:

  • Classification fails -> degrade to manual listing (not silent failure)
  • Enrichment partially fails -> use what succeeded, flag missing fields
  • Upload succeeds, classification job never starts -> orphaned file, cleanup job required
  • Web data in draft generation -> prompt injection vector, sanitize before passing to LLM

Pipeline position

/plan-pipeline:ceo-review    -> product direction locked
/plan-pipeline:eng-review    -> architecture locked        <- you are here
/plan-pipeline:start         -> produce implementation plan
/plan-pipeline:validate      -> validate before execution
/plan-pipeline:execute       -> execute to merged PR

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Evaluate Claude Code agents, skills, and commands with weighted quality criteria. Get scores, readiness grades, template comparisons, and practical improvement suggestions in Markdown or JSON reports to guide reviews before release.

  • Review skills before release
  • Compare agent definitions with reference templates
  • Quickly check critical quality criteria
FlorianBruniaux/claude-code-ultimate-guide6.2KUpdated Oct 22, 2026

audit-codebase

FreeSummary

Assess a codebase across seven areas, including exposed credentials, security, dependencies, structure, and tests. Receive category scores, findings tied to file locations, and a prioritized improvement plan with smaller tasks that can be completed quickly.

  • Assessing the overall health of an inherited project
  • Reviewing exposed credentials and security risks
  • Identifying dependency and test coverage gaps
FlorianBruniaux/claude-code-ultimate-guide6.2KUpdated Oct 22, 2026

autoresearch

FreeSummary

Measure code patterns such as casts to any or disabled lint rules, then run repeated, targeted edits. Keep changes that improve the chosen metric, revert unsuccessful changes, and track results for each improvement loop.

  • Finding code patterns to prioritize for cleanup
  • Preparing measurement files for an improvement loop
  • Repeating targeted edits to reduce casts to any
FlorianBruniaux/claude-code-ultimate-guide6.2KUpdated Oct 22, 2026

best-of-n

FreeSummary

Generate several separate solutions, compare them against criteria fixed in advance, and verify the selected result through executable checks or an independent reviewer. Keep a proof log documenting candidates, evidence, failures, and remaining limits.

  • Comparing implementation options before choosing one
  • Verifying a solution when a wrong choice would be costly
  • Keeping evaluation evidence for delivery or audit
FlorianBruniaux/claude-code-ultimate-guide6.2KUpdated Oct 22, 2026

canary

FreeSummary

Monitor a live application after deployment and compare it with a saved baseline, a record of its earlier state. Check page responses, loading times, and new errors, flag persistent changes, and produce a per-page health report.

  • Recording a healthy baseline before deployment
  • Monitoring production immediately after deployment
  • Checking key pages for slower responses or failures
FlorianBruniaux/claude-code-ultimate-guide6.2KUpdated Oct 22, 2026

catchup

FreeSummary

Rebuild project context after clearing a conversation or returning to work. Review recent Git history, uncommitted changes, and TODO markers to get a structured summary of project status and suggested next steps.

  • Restoring project context after /clear
  • Reviewing recent changes after a long break
  • Checking unfinished work before choosing the next task
FlorianBruniaux/claude-code-ultimate-guide6.2KUpdated Oct 22, 2026

See all skills by FlorianBruniaux

Report a problem with this skill