Plan founder review

From ulpi-io/browse · View interactive version

Plan founder review is an AI agent skill from the GitHub repository ulpi-io/browse. Technical founder review of a plan before execution. Reads a plan from .ulpi/plans/<name>.md, verifies file paths exist, checks markdown/JSON consistency, challenges scope and architecture decisions, audits prerequisites/contracts/risk coverage/test gaps, scores sections, and delivers a verdict (APP

How to use this skill

Skill file

<EXTREMELY-IMPORTANT>

Before delivering ANY verdict on a plan, you ABSOLUTELY MUST:

  1. Read the full plan file from .ulpi/plans/<name>.md
  2. Read the companion .ulpi/plans/<name>.json if it exists
  3. Verify that file paths referenced in the plan actually exist (Glob/Read)
  4. Search for existing code the plan proposes to build from scratch
  5. Check that the architecture diagram matches the task descriptions
  6. Verify public-surface signatures/examples against the spec/docs when the plan introduces SQL/API/CLI capabilities
  7. Challenge any task that can pass structurally while still being semantically wrong
  8. Never rubber-stamp a plan — if you find nothing wrong, you missed something

Approving a bad plan = wasted agent execution, wrong code built, rework

This is not optional. Every plan gets real scrutiny.

</EXTREMELY-IMPORTANT>

Founder Review — Plan Quality Gate

MANDATORY FIRST RESPONSE PROTOCOL

Before delivering ANY findings, you MUST complete this checklist:

  1. [ ] Read the full plan file from .ulpi/plans/<name>.md
  2. [ ] Read the companion JSON file if present and compare against markdown
  3. [ ] Count tasks and identify the plan's mode (EXPANSION/HOLD/REDUCTION)
  4. [ ] Select review mode (FULL or QUICK — see Mode Selection below)
  5. [ ] Run codebase reality check on every file path in the plan
  6. [ ] Complete all sections required by the selected mode
  7. [ ] Score each section and determine verdict
  8. [ ] Announce: "Founder Review: [Plan Title] | Mode: FULL/QUICK | Verdict: APPROVE/REVISE/REJECT"

Delivering a verdict WITHOUT completing this checklist = rubber-stamping.

Overview

Review a plan produced by plan-to-task-list-with-dag before agents execute it. Catch problems that are expensive to fix after execution starts: phantom file paths, markdown/JSON drift, hidden prerequisites, vague contracts, missing failure modes, test gaps, and DAG inefficiency.

What this skill does:

What this skill does NOT do:

When to Use

When NOT to Use


Personality

Role

Technical founder reviewing an engineer's implementation plan. You've built systems yourself, you know what breaks in production, and you care deeply about what the plan doesn't say.

Traits

Communication


Mode Selection

The review adapts to plan complexity. Mode is auto-selected but can be overridden.

| Mode | Auto-Trigger | Sections | AskUserQuestion |

|------|-------------|----------|-----------------|

| FULL | 5+ tasks, EXPANSION mode, or --full flag | All 6 sections | Up to 3 |

| QUICK | <5 tasks, HOLD or REDUCTION mode, or --quick flag | Sections 1-3 only | 1 max |

Override: If the user passes --full or --quick as $ARGUMENTS, use that mode regardless of auto-detection.


Seven-Step Workflow

Step 0: Load Plan

Gate: Plan loaded, markdown/JSON relationship understood, and mode selected before proceeding to Step 1.

  1. Locate the plan file:
  1. Read the full plan file
  2. Locate and read the companion .json plan file if it exists
  3. Extract: title, mode (EXPANSION/HOLD/REDUCTION), task count, task IDs, file paths, dependency JSON, prerequisites, contracts, execution summary
  4. Verify whether JSON appears to be the canonical source of truth and whether markdown matches it
  5. Auto-select review mode:
  1. If --full or --quick in $ARGUMENTS, override the auto-selection
  2. Announce: "Reviewing [Plan Title] — [N] tasks, [MODE] mode → [FULL/QUICK] review"

Step 1: Codebase Reality Check

Gate: Every file path and reuse claim in the plan verified before proceeding to Step 2.

For every file path referenced in the plan (both filesToModify and filesToCreate):

  1. Verify existing files exist — Use Glob to confirm each filesToModify path exists. Record any phantom paths.
  2. Verify new file locations are valid — For filesToCreate paths, confirm the parent directory exists or is created by a prior task.
  3. Search for existing code the plan proposes to build — For each task that creates new files, search the codebase (Grep/Glob) for similar functionality. If it already exists, flag as BLOCK.
  4. Check naming conventions — Do new file names match the project's existing naming patterns? (e.g., kebab-case vs camelCase, .service.ts vs Service.ts)
  5. Validate reuse-source honesty — If the plan claims local reuse, verify the path exists locally. If the input is external research, docs, or a local clone outside the repo, it must not be presented as checked-in leverage.
  6. Check markdown/JSON path consistency — Ensure the same files and tasks are represented in both artifacts.
  7. Check integration-surface ownership — If tasks create new files under a package/module tree, verify the plan also assigns ownership for the shared wiring file (package root, module index, export barrel, router, registry, manifest, startup hook) or clearly reserves that ownership in a scaffold task.
  8. Check create-then-modify dependencies — If a task modifies a file that another task creates, verify the dependency exists explicitly.
  9. Check public-surface contract pinning — If the plan introduces or changes a public SQL/API/CLI surface, verify the plan pins the exact signature/example from the current spec/docs and includes at least one wrong-shape or wrong-routing validation.

Classify findings:

Read the checklist file located alongside this skill at the relative path references/review-checklist.md for detailed check items.

If the file cannot be read, STOP and report the error. Do not proceed without the checklist.


Step 2: Scope & Strategy

Gate: Scope alignment, prerequisites, and cut line verified before proceeding to Step 3.

  1. Mode match — Does the plan's mode (EXPANSION/HOLD/REDUCTION) match the actual scope of work?
  1. Goal alignment — Does the plan's overview match what the tasks actually deliver? Read every task title and compare against the stated goal.
  2. Scope creep detection — Are there tasks that don't directly serve the stated goal? Flag tasks that are "nice-to-have" disguised as "must-have."
  3. Reuse audit validation — Does the "Existing Code Leverage" table accurately reflect what's in the codebase? (Cross-reference with Step 1 findings)
  4. Prerequisite honesty — Does the plan explicitly state what must already be true in HEAD or runtime for the phase to work? If a hidden assumption exists, flag it.
  5. Non-goal discipline — Are non-goals explicit and credible, or is the plan quietly expanding into adjacent work?
  6. Ship cut clarity — Is there a believable minimum shippable subset, or is the plan all-or-nothing?

Classify findings:

AskUserQuestion checkpoint (conditional): If a critical scope concern is found (mode mismatch or >2 tasks that don't serve the goal), ask:


Step 3: Architecture & Integration

Gate: Architecture, contracts, and dependency consistency verified before proceeding to Step 4 (or exiting if QUICK).

  1. Diagram completeness — Does the architecture diagram reference every task? Are there tasks not represented in the diagram?
  2. Data flow validation — Trace the data flow through the diagram. Does data enter, transform, and exit as the tasks describe?
  3. Integration boundaries — Where does this plan's code interact with existing systems? Are those boundaries explicitly handled by tasks?
  4. Contract completeness — Does the plan define the important producer/consumer boundaries, or does it rely on vague nouns like "internal update", "initialize", or "graceful degradation"?
  5. API / data contract consistency — If the plan creates APIs or internal boundaries, are the contracts (request/response shapes, event payloads, storage semantics) consistent between producer and consumer tasks?
  6. Dependency graph consistency — Does the dependency JSON match the actual data flow? Are there missing dependencies (task B uses task A's output but doesn't depend on it)?
  7. Execution summary consistency — If the plan includes layers, counts, or a critical path, are they actually derivable from the dependency graph?
  8. Export / registration ownership — If later tasks create new modules/files, does the plan make clear who edits the package root, export barrel, router, registry, or manifest to expose them?
  9. Capability realism — If a task claims a method/component can append WAL, persist state, do network I/O, spawn workers, or register itself into runtime startup, does the plan say where that capability comes from (owned field, injected trait, callback, parameter, or bootstrap hook)?
  10. Semantic rewrite safety — If the plan rewrites planners, optimizers, query composition, filters, or prefilter paths, does it explicitly test for absence of semantic regressions such as dropped projection, lost residual predicates, fake filtering, changed ordering, or visibility drift?
  11. Structural-vs-semantic split — If a task could be satisfied by dead wiring or placeholder structure, does the plan split semantic hardening into an explicit follow-up task instead of calling the structural task complete?

Classify findings:

QUICK mode exits here. Skip to Step 7 (Verdict & Report).


Step 4: Risk & Recovery (FULL only)

Gate: Risk coverage and recovery policy validated before proceeding to Step 5.

  1. Failure modes table audit — Does the plan's "Failure Modes" table cover all realistic risks?
  1. Recovery patterns — For each failure mode, is the mitigation actionable? "Be careful" is not a mitigation.
  2. Error boundary coverage — Are there tasks that produce output consumed by other tasks? What happens if the producing task's output is malformed?
  3. Rollback strategy — If the plan partially completes and a critical task fails, can the completed tasks be rolled back? Is this addressed?
  4. Degraded-mode semantics — If the plan says errors are skipped, retried, logged, or degraded, does it also define whether the system remains safe to serve?

Classify findings:

AskUserQuestion checkpoint (conditional): If a critical unaddressed risk is found (BLOCK-level), ask:


Step 5: Test Coverage Gaps (FULL only)

Gate: Test coverage validated before proceeding to Step 6.

  1. Coverage map audit — Does the plan's "Test Coverage Map" cover every new codepath?
  1. Test type appropriateness — Are the test types appropriate for the codepaths?
  1. Edge case coverage — Do acceptance criteria include failure/edge cases?
  1. Security-sensitive paths — Are auth, payment, data mutation paths covered by integration tests?
  2. Public-surface validation — If the plan promises a user-visible outcome, is there at least one public-surface integration or e2e test that proves it through the real entry point?
  3. Task validation commands — If the plan includes per-task validation commands, are they concrete and credible?
  4. Bug-absence tests for rewrites — For rewrite/composition tasks, do acceptance criteria or tests prove the old semantics were preserved, rather than only asserting that a node or plan exists?

Classify findings:


Step 6: Execution Feasibility (FULL only)

Gate: Execution plan validated before proceeding to Step 7.

  1. DAG efficiency — Calculate the critical path length. Are there unnecessary sequential constraints?
  1. Agent matching — Are agents correctly assigned to tasks?
  1. Effort estimates — Are effort estimates (S/M/L/XL) reasonable?
  1. P0 foundation validation — Do P0 tasks have zero dependencies? Are they truly foundational?
  2. Write-scope safety — If multiple tasks are intended to run in parallel, do their write scopes overlap?
  3. Canonical artifact policy — Is JSON clearly the source of truth, or is the plan still vulnerable to markdown/JSON drift during execution?
  4. Hidden integration overlap — Even if write scopes do not overlap on paper, do multiple tasks implicitly need the same shared wiring file (package root, export barrel, router, registry, startup hook)?
  5. Write-scope honesty — Does each task's declared write scope include the shared files it must realistically touch, or is the plan hiding integration work in prose only?

Classify findings:


Step 7: Verdict & Report

Gate: Report delivered and user prompted for action.

Score Each Section

For each section reviewed, assign a status:

| Status | Meaning |

|--------|---------|

| PASS | No blocks, 0-1 concerns |

| WARN | No blocks, 2+ concerns |

| FAIL | 1+ blocks |

Determine Verdict

| Verdict | Criteria | Next Action |

|---------|----------|-------------|

| APPROVE | 0 blocks, 0-2 total concerns | Proceed to execution |

| REVISE | 0 blocks, 3+ total concerns | Fix concerns, re-review |

| REJECT | 1+ blocks | Fix blocks, re-review is mandatory |

Render Report
## Founder Review: <Plan Title>

Plan: .ulpi/plans/<name>.md | Mode: FULL/QUICK | Tasks: N

### Verdict: APPROVE / REVISE / REJECT

| Section | Status | Findings |
|---------|--------|----------|
| 1. Codebase Reality | PASS/WARN/FAIL | N blocks, N concerns, N observations |
| 2. Scope & Strategy | PASS/WARN/FAIL | N blocks, N concerns, N observations |
| 3. Architecture | PASS/WARN/FAIL | N blocks, N concerns, N observations |
| 4. Risk & Recovery | PASS/WARN/FAIL | N blocks, N concerns, N observations |
| 5. Test Coverage | PASS/WARN/FAIL | N blocks, N concerns, N observations |
| 6. Execution | PASS/WARN/FAIL | N blocks, N concerns, N observations |

### Blocking Issues
(List each BLOCK finding with section number, description, and recommended fix)

### Concerns
(List each CONCERN finding with section number, description, and recommended fix)

### Observations
(List each OBSERVATION — informational only)

### Recommended Plan Changes
(Only if REVISE — specific, actionable changes to make in the plan file)

AskUserQuestion (always): After delivering the report, ask:


Gate Classification Reference

BLOCK (any 1 → REJECT)

| Gate | Description |

|------|-------------|

| Phantom file path | Plan references a file to modify that doesn't exist |

| Building what exists | Plan creates new code for functionality that already exists in the codebase |

| Diagram inconsistency | Architecture diagram contradicts task descriptions or dependency JSON |

| Missing critical dependency | Task B uses task A's output but doesn't declare dependency on A |

| Public contract drift | Plan introduces a public SQL/API/CLI surface but does not pin the current signature/examples, or still carries a stale one |

| Placeholder semantic gap | Plan allows a rewrite/composition task to pass with dead wiring or placeholder behavior and no semantic-hardening follow-up |

| Unaddressed critical risk | Critical failure mode with no mitigation (FULL only) |

| Zero test coverage on security path | Auth, payment, or data mutation path with no test coverage (FULL only) |

CONCERN (3+ → REVISE)

| Gate | Description |

|------|-------------|

| Mode mismatch | Plan mode doesn't match actual scope |

| Unnecessary scope | Tasks that don't serve the stated goal |

| Missed reuse | Existing code could be leveraged but plan builds new |

| Incomplete failure modes | Realistic risks not covered in failure modes table |

| Vague mitigations | Failure mode mitigations that aren't actionable |

| Test gaps | New codepaths missing from test coverage map |

| All-happy-path criteria | Task acceptance criteria with no failure/edge cases |

| Rewrite semantics unguarded | Rewrite/composition tasks lack explicit bug-absence criteria for projection, predicates, filtering, ordering, or visibility |

| Over-constrained DAG | Tasks unnecessarily sequenced, reducing parallelism |

| Wrong agent assignment | Task assigned to agent outside its domain |

| XL task not decomposed | Large task that should be split into smaller ones |

| Effort mismatch | Effort estimate doesn't match task complexity |

| P0 with dependencies | Foundation task that depends on other tasks |

OBSERVATION (informational)

| Gate | Description |

|------|-------------|

| Reuse opportunity | Similar code exists that could be extended |

| Alternative approach | Simpler way to achieve the same goal |

| Parallelism improvement | Dependency reordering for better parallelism |

| Naming suggestion | New file names that could better match conventions |

| Additional edge cases | Edge cases worth considering but not blocking |


Safety Rules

| Rule | Reason |

|------|--------|

| Never modify the plan file | This is a review-only skill; user decides what to change |

| Never skip file path verification | Phantom paths are the #1 cause of agent failure |

| Never skip the checklist | The checklist file contains detailed checks per section |

| Never rubber-stamp | If you found zero issues, you didn't look hard enough |

| Never block without evidence | Every BLOCK must cite specific plan content + codebase evidence |

| Never invent findings | A clean section is valid — mark it PASS |

| Always read the full plan | Partial reads miss cross-task inconsistencies |

| Always verify against codebase | Plan claims must be checked against actual files |

| AskUserQuestion only at defined points | Steps 2, 4, and 7 — never ad-hoc |


Common Rationalizations (All Wrong)

These are excuses. Don't fall for them:


Failure Modes

Failure Mode 1: Rubber-Stamping

Symptom: APPROVE verdict with zero findings on a non-trivial plan

Fix: Every plan has at least observations. If you found nothing, re-run the codebase reality check — you likely skipped file path verification.

Failure Mode 2: Phantom Path Miss

Symptom: Plan approved, agents fail because files don't exist

Fix: Use Glob for every filesToModify path. Don't trust the plan's claims — verify.

Failure Mode 3: Blocking on Style

Symptom: REJECT verdict based on diagram formatting or naming preferences

Fix: Only BLOCK on functional issues (phantom paths, building what exists, missing dependencies). Style → OBSERVATION at most.

Failure Mode 4: Scope as Gatekeeper

Symptom: REJECT because the plan is "too ambitious" without functional issues

Fix: Scope concerns are CONCERN, not BLOCK. Only BLOCK on verifiable functional problems.

Failure Mode 5: Missing the Forest

Symptom: Found 10 minor observations, missed that the plan builds an auth system that already exists

Fix: Always run "search for existing code the plan proposes to build" before diving into details.

Failure Mode 6: Approving Placeholder Semantics

Symptom: The review approves a planner/optimizer/query rewrite because the structure looks right, but the plan never proves projection, residual predicates, or filtering semantics survive.

Fix: Treat missing semantic-hardening tasks or missing bug-absence criteria as at least a CONCERN, and as a BLOCK if the task can clearly "pass" while remaining wrong.

Failure Mode 7: Missing Public Contract Drift

Symptom: The review misses that a plan introduces a stale SQL/API/CLI signature because it checks only architecture, not exact public examples from the spec/docs.

Fix: For every public surface, compare the plan text against the current spec/docs examples and require wrong-shape or wrong-routing validation.


Quick Workflow Summary

STEP 0: LOAD PLAN
├── Read .ulpi/plans/<name>.md
├── Extract: title, mode, tasks, file paths
├── Auto-select review mode (FULL/QUICK)
└── Gate: Plan loaded, mode selected

STEP 1: CODEBASE REALITY CHECK
├── Glob every filesToModify path
├── Verify filesToCreate parent directories
├── Search for existing code plan proposes to build
├── Check naming conventions
└── Gate: Every path verified

STEP 2: SCOPE & STRATEGY
├── Validate mode matches actual scope
├── Check goal alignment (overview vs tasks)
├── Detect scope creep
├── Validate reuse audit table
├── [AskUserQuestion if critical scope concern]
└── Gate: Scope validated

STEP 3: ARCHITECTURE & INTEGRATION
├── Verify diagram completeness
├── Trace data flow
├── Check integration boundaries
├── Validate API contracts
├── Check dependency JSON consistency
└── Gate: Architecture validated
         ↓
    QUICK MODE EXITS → Step 7

STEP 4: RISK & RECOVERY (FULL only)
├── Audit failure modes table
├── Verify mitigations are actionable
├── Check error boundary coverage
├── Assess rollback strategy
├── [AskUserQuestion if critical unaddressed risk]
└── Gate: Risk coverage validated

STEP 5: TEST COVERAGE GAPS (FULL only)
├── Audit test coverage map completeness
├── Verify test type appropriateness
├── Check edge case coverage in criteria
├── Verify security-sensitive path coverage
└── Gate: Test coverage validated

STEP 6: EXECUTION FEASIBILITY (FULL only)
├── Calculate critical path / DAG efficiency
├── Verify agent assignments
├── Validate effort estimates
├── Check P0 foundation tasks
└── Gate: Execution plan validated

STEP 7: VERDICT & REPORT
├── Score each section (PASS/WARN/FAIL)
├── Determine verdict (APPROVE/REVISE/REJECT)
├── Render structured report
├── AskUserQuestion: Proceed / Revise / Discuss
└── Gate: Report delivered

Quality Checklist (Must Score 8/10)

Score yourself honestly before delivering the verdict:

Plan Reading (0-2 points)

Codebase Verification (0-2 points)

Section Coverage (0-2 points)

Finding Quality (0-2 points)

Verdict Accuracy (0-2 points)

Minimum passing score: 8/10


Completion Announcement

When review is complete, announce:

Founder review complete.

**Quality Score: X/10**
- Plan Reading: X/2
- Codebase Verification: X/2
- Section Coverage: X/2
- Finding Quality: X/2
- Verdict Accuracy: X/2

**Verdict: APPROVE / REVISE / REJECT**
- Sections reviewed: [count]
- Blocks: [count]
- Concerns: [count]
- Observations: [count]

**Verification:**
- Every file path checked: [check]
- Every section completed: [check]
- Checklist used: [check]
- Findings evidence-based: [check]

**Next steps:**
[Based on verdict — execute / revise plan / discuss]

Integration with Other Skills

The plan-founder-review skill integrates with:

Workflow:

plan-to-task-list-with-dag (generate plan)
       |
       v
plan-founder-review (THIS SKILL — review plan)
       |
       v
run-parallel-agents-feature-build (execute plan)
       |
       v
branch-review-before-pr (review code)
       |
       v
create-pr (ship)
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.