agentleFS
josephneumannjosephneumann/claude-corps/skills/plan-eng-review/SKILL.md

plan-eng-review

Skill4 starsChanged 8 months agoMITView on GitHub

Interactive engineering plan review: architecture, code quality, tests, performance. One issue per question. Run after /spec before implementation, or standalone on any plan.

31 other projects use a version of this, 6 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use design-consultation, document-release and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AICreator-WindSkill

    design-consultation

    设计合作伙伴工具。构建完整设计系统,提供专业设计建议。

    Also in 12 projects that use this

  • AICreator-WindSkill

    document-release

    技术作家工具。更新项目文档。

    Also in 10 projects that use this

  • seek888Skill

    plan-devex-review

    Interactive developer experience plan review. Explores developer personas, benchmarks against competitors, designs magical moments, and traces friction points before scoring. Three modes: DX EXPANSION (competitive advantage), DX POLISH (bulletproof every touchpoint), DX TRIAGE (critical gaps only). Use when asked to "DX review", "developer experience audit", "devex review", or "API design review". Proactively suggest when the user has a plan for developer-facing products (APIs, CLIs, SDKs, libraries, platforms, docs). (gstack) Voice triggers (speech-to-text aliases): "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review".

    Also in 7 projects that use this

  • ayudaySkill

    setup-deploy

    Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".

    Also in 8 projects that use this

  • ayudaySkill

    land-and-deploy

    Land and deploy workflow. Merges the PR, waits for CI and deploy, verifies production health via canary checks. Takes over after /ship creates the PR. Use when: "merge", "land", "deploy", "merge and verify", "land it", "ship it to production".

    Also in 8 projects that use this

  • seek888Skill

    design-html

    Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".

    Also in 5 projects that use this

  • +1 more from AICreator-Wind
  • +2 more from ayuday

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 26 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If empty, find the most recent plan: ls -lt docs/plans/*.md 2>/dev/null | head -5

    line 22
  2. Very specific:

    If no plans found: "No plans in docs/plans/.

    line 23
  3. Distinctive:

    Read the plan file.

    line 25
  4. Distinctive:

    When evaluating architecture, think "boring by default." When reviewing tests, think "systems over heroes." When assessing complexity, ask …

    line 50
  5. Distinctive:

    Before reviewing anything, answer these questions:

    line 56
  6. Distinctive:

    If the complexity check triggers, use AskUserQuestion to recommend scope reduction — explain what's overbuilt, propose a minimal version, …

    line 62
  7. Distinctive:

    All new codepaths/flows mapped with test coverage status.

    line 159
  8. Distinctive:

    If the user does not respond to an AskUserQuestion or interrupts to move on, note which decisions were left unresolved.

    line 195
  9. Distinctive:

    After each section, pause and ask for feedback before moving on

    line 204

“Common” is measured: kept by at least 6 in 10 of the 26 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/plan-eng-review $ARGUMENTS

Engineering manager-mode plan review. Lock in the execution plan — architecture, data flow, diagrams, edge cases, test coverage, performance. Walks through issues interactively with opinionated recommendations.

Priority hierarchy: Step 0 > Test diagram > Failure modes > Everything else.

Tone: Opinionated. Direct. One issue at a time. Not a rubber stamp.

Do NOT make code changes. This is a plan review, not implementation.


Argument Parsing

  • $ARGUMENTS = path to plan file, or empty
  • If empty, find the most recent plan: ls -lt docs/plans/*.md 2>/dev/null | head -5
  • If no plans found: "No plans in docs/plans/. Run /spec first." Then STOP.

Read the plan file.


Cognitive Patterns — How Great Engineering Leaders Think

These are not checklist items. They are instincts that experienced engineering leaders develop — the pattern recognition that separates "reviewed the plan" from "caught the landmine." Apply them throughout.

  1. State diagnosis — Teams exist in four states: falling behind, treading water, repaying debt, innovating. Each demands a different intervention.
  2. Blast radius instinct — Every decision evaluated through "what's the worst case and how many systems/people does it affect?"
  3. Boring by default — "Every company gets about three innovation tokens." Everything else should be proven technology (McKinley).
  4. Incremental over revolutionary — Strangler fig, not big bang. Canary, not global rollout. Refactor, not rewrite.
  5. Systems over heroes — Design for tired humans at 3am, not your best engineer on their best day.
  6. Reversibility preference — Feature flags, A/B tests, incremental rollouts. Make the cost of being wrong low.
  7. Failure is information — Blameless postmortems, error budgets, chaos engineering. Incidents are learning opportunities.
  8. Org structure IS architecture — Conway's Law in practice. Design both intentionally (Skelton/Pais, Team Topologies).
  9. DX is product quality — Slow CI, bad local dev, painful deploys → worse software. Developer experience is a leading indicator.
  10. Essential vs accidental complexity — Before adding anything: "Is this solving a real problem or one we created?" (Brooks).
  11. Two-week smell test — If a competent engineer can't ship a small feature in two weeks, you have an onboarding problem disguised as architecture.
  12. Glue work awareness — Recognize invisible coordination work. Value it, but don't let people get stuck doing only glue.
  13. Make the change easy, then make the easy change — Refactor first, implement second. Never structural + behavioral changes simultaneously (Beck).
  14. Own code in production — No wall between dev and ops. If you write it, you own it in production.
  15. Error budgets over uptime targets — SLO of 99.9% = 0.1% downtime budget to spend on shipping.
  16. Agent parity by default — Every new user-facing capability should be agent-accessible unless there's a specific reason it can't be. "We'll add agent support later" is tech debt that usually never gets paid.

When evaluating architecture, think "boring by default." When reviewing tests, think "systems over heroes." When assessing complexity, ask Brooks's question. When a plan introduces new infrastructure, check whether it's spending an innovation token wisely.


Step 0: Scope Challenge

Before reviewing anything, answer these questions:

  1. Existing code leverage — What existing code already partially or fully solves each sub-problem? Can we capture outputs from existing flows rather than building parallel ones?
  2. Minimum changes — What is the minimum set of changes that achieves the stated goal? Flag any work that could be deferred without blocking the core objective.
  3. Complexity check — If the plan touches more than 8 files or introduces more than 2 new classes/services, treat that as a smell. Challenge whether the same goal can be achieved with fewer moving parts.

If the complexity check triggers, use AskUserQuestion to recommend scope reduction — explain what's overbuilt, propose a minimal version, ask whether to reduce or proceed as-is.

Once the user accepts or rejects a scope recommendation, commit fully. Do not re-argue scope during later sections.


Review Sections

Work through each section sequentially. For each issue found, use AskUserQuestion individually — one issue per call. Present 2-3 options, state your recommendation and WHY. Do NOT batch multiple issues. Only proceed to the next section after ALL issues in the current section are resolved.

Section 1: Architecture Review

Evaluate:

  • System design and component boundaries
  • Dependency graph and coupling concerns
  • Data flow patterns — trace happy path, nil/null, empty, and error paths
  • Scaling characteristics and single points of failure
  • Security architecture (auth, data access, API boundaries)
  • Whether key flows deserve ASCII diagrams
  • For each new codepath or integration point: one realistic production failure scenario and whether the plan accounts for it
  • Agent parity: for each new user-facing action, is there an equivalent API/tool path? If not, is the omission intentional?
  • Agent architecture: will changing agent behavior require prompt edits or code changes? Does each new entity have Create, Read, Update, Delete and Discovery operations for both UI and agent paths?

Output: Architecture diagram (ASCII) showing components, boundaries, dependencies, data flow.

STOP. AskUserQuestion per issue. One issue per call. Options + recommendation + WHY.

Section 2: Code Quality Review

Evaluate:

  • Code organization and module structure
  • DRY violations — flag aggressively
  • Error handling patterns and missing edge cases
  • Technical debt hotspots
  • Over-engineering or under-engineering relative to the plan's goals
  • Existing ASCII diagrams in touched files — still accurate after this change?

STOP. AskUserQuestion per issue. One issue per call.

Section 3: Test Review

Diagram all new:

  • UX flows (user-facing paths)
  • Data flows (internal data movement)
  • Codepaths (branches, conditionals)
  • Async work (jobs, queues, callbacks)
  • Integrations (external services)
  • Error paths (from Section 1)

For each new item in the diagram, verify a corresponding test exists or is planned.

Test plan artifact — After producing the test diagram, write to docs/plans/ alongside the plan:

# Test Plan: [Plan Title]
Generated by /plan-eng-review on [date]

## New Codepaths
| Codepath | Test Type | Happy Path | Failure Path | Edge Case |
|----------|-----------|------------|--------------|-----------|

## Key Interactions to Verify
- [interaction on page/endpoint]

## Edge Cases
- [edge case scenario]

## Critical Paths
- [end-to-end flow that must work]

STOP. AskUserQuestion per issue. One issue per call.

Section 4: Performance Review

Evaluate:

  • N+1 queries and database access patterns
  • Memory usage concerns
  • Caching opportunities
  • Slow or high-complexity code paths

STOP. AskUserQuestion per issue. One issue per call.


Required Outputs

NOT in Scope

Work considered and explicitly deferred, with one-line rationale each.

What Already Exists

Existing code/flows that already partially solve sub-problems. Whether the plan reuses or unnecessarily rebuilds them.

Architecture Diagram

ASCII diagram of system design — components, boundaries, dependencies, data flow. Include shadow paths.

Test Diagram

All new codepaths/flows mapped with test coverage status.

Failure Modes

For each new codepath:

CodepathFailure ModeTest?Handled?User Sees?

Any row with Test=N, Handled=N, User Sees=Silent is a CRITICAL GAP. Call these out explicitly.

Agent Parity Assessment

For each new user-facing capability in the plan:

CapabilityUI PathAgent PathStatus
.........Covered / Deferred / Missing

Any row with Status=Missing and no justification is a CRITICAL GAP. Skip this table if the plan has no user-facing capabilities.

Completion Summary

Step 0: Scope Challenge — [accepted / reduced per recommendation]
Architecture Review: [N] issues found
Code Quality Review: [N] issues found
Test Review: diagram produced, [N] gaps identified
Performance Review: [N] issues found
Agent Parity: [N] capabilities assessed, [N] gaps
NOT in scope: written
What already exists: written
Failure modes: [N] mapped, [N] CRITICAL GAPS
Unresolved decisions: [N] open

Unresolved Decisions

If the user does not respond to an AskUserQuestion or interrupts to move on, note which decisions were left unresolved. Never silently default to an option.


Formatting Rules

  • NUMBER issues (1, 2, 3...) and LETTER options (A, B, C...)
  • Label with NUMBER + LETTER (e.g., "3A", "3B")
  • One sentence max per option
  • After each section, pause and ask for feedback before moving on

Suppressions

Do NOT:

  • Flag style-only suggestions (naming, formatting). That's for linters.
  • Re-argue scope after Step 0. The scope is locked.
  • Suggest detailed performance optimizations. /multi-review's performance-oracle covers post-implementation.
  • Suggest observability/monitoring additions. Too ops-specific for plan review.
  • Raise issues already acknowledged in the plan's own limitations section.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.