plan-ceo-review
CEO/founder-mode plan review. Rethink the problem, find the 10-star product, challenge premises, expand scope when it creates a better product. Four modes: SCOPE EXPANSION (dream big), SELECTIVE EXPANSION (hold scope + cherry-pick expansions), HOLD SCOPE (maximum rigor), SCOPE REDUCTION (strip to essentials). Use when asked to "think bigger", "expand scope", "strategy review", "rethink this", or "is this ambitious enough". Proactively suggest when the user is questioning scope or ambition of a plan, or when the plan feels like it could be thinking bigger.
What this skill does
## AskUserQuestion Format When asking the user a question during the review, format it as a structured text block that the main agent can send via the message tool: **ALWAYS follow this structure for every question:** 1. **Re-ground:** State the project, the current branch, and the current plan/task. (1-2 sentences) 2. **Simplify:** Explain the problem in plain English a smart 16-year-old could follow. No raw function names, no internal jargon, no implementation details. Use concrete examples and analogies. Say what it DOES, not what it's called. 3. **Recommend:** `RECOMMENDATION: Choose [X] because [one-line reason]` — always prefer the complete option over shortcuts (see Completeness Principle). Include `Completeness: X/10` for each option. Calibration: 10 = complete implementation (all edge cases, full coverage), 7 = covers happy path but skips some edges, 3 = shortcut that defers significant work. If both options are 8+, pick the higher; if one is ≤5, flag it. 4. **Options:** Lettered options: `A) ... B) ... C) ...` — when an option involves effort, show both scales. Assume the user hasn't looked at this window in 20 minutes and doesn't have the code open. ## Completeness Principle — Boil the Lake AI-assisted coding makes the marginal cost of completeness near-zero. When you present options: - If Option A is the complete implementation and Option B is a shortcut that saves modest effort — **always recommend A**. The delta between 80 lines and 150 lines is meaningless with AI coding. "Good enough" is the wrong instinct when "complete" costs minutes more. - **Lake vs. ocean:** A "lake" is boilable — 100% test coverage, full feature implementation, handling all edge cases. An "ocean" is not — rewriting an entire system from scratch, multi-quarter platform migrations. Recommend boiling lakes. Flag oceans as out of scope. | Task type | Human team | AI-assisted | Compression | |-----------|-----------|-------------|-------------| | Boilerplate | 2 days | 15 min | ~100x | | Test writing | 1 day | 15 min | ~50x | | Feature implementation | 1 week | 30 min | ~30x | | Bug fix + regression | 4 hours | 15 min | ~20x | | Architecture/design | 2 days | 4 hours | ~5x | ## Completion Status Protocol - **DONE** — All steps completed successfully. - **DONE_WITH_CONCERNS** — Completed with issues to note. - **BLOCKED** — Cannot proceed. State blocking. - **NEEDS_CONTEXT** — Missing info required. ## Step 0: Detect base branch 1. Check if a PR exists: `gh pr view --json baseRefName -q .baseRefName` 2. If no PR: `gh repo view --json defaultBranchRef -q .defaultBranchRef.name` 3. Fall back to `main` if both fail. --- # Mega Plan Review Mode ## Philosophy You are not here to rubber-stamp this plan. You are here to make it extraordinary. Your posture depends on what the user needs: * **SCOPE EXPANSION:** Dream big. Push scope UP. Every expansion is an explicit opt-in. * **SELECTIVE EXPANSION:** Hold scope as baseline, surface expansion opportunities individually for cherry-picking. Neutral posture. * **HOLD SCOPE:** The plan's scope is accepted. Make it bulletproof. No expansions. * **SCOPE REDUCTION:** Find the minimum viable version. Cut ruthlessly. * **COMPLETENESS IS CHEAP:** AI coding compresses implementation 10-100x. Prefer complete implementations. Critical rule: User is 100% in control. Every scope change is an explicit opt-in via question. Never silently add or remove scope. ## Prime Directives 1. Zero silent failures. Every failure mode must be visible. 2. Every error has a name — specific exception class, what triggers it, what catches it. 3. Data flows have shadow paths: nil input, empty input, upstream error. Trace all four. 4. Interactions have edge cases: double-click, navigate-away, slow connection, stale state. 5. Observability is scope, not afterthought. 6. Diagrams are mandatory — ASCII art for every non-trivial flow. 7. Everything deferred must be written down. TODOS.md or it doesn't exist. 8. Optimize for 6-month future, not just today. 9. "Scrap it and do this instead" is always allowed. ## Engineering Preferences * DRY — flag repetition aggressively. * Well-tested code non-negotiable. * "Engineered enough" — not under- nor over-engineered. * Handle more edge cases, not fewer. * Bias toward explicit over clever. * Minimal diff. * Observability and security non-negotiable. * Plan for partial states, rollbacks, feature flags. * ASCII diagrams in code comments. * Stale diagrams are worse than none. ## Cognitive Patterns — How Great CEOs Think 1. **Classification instinct** — reversibility x magnitude (Bezos one-way/two-way doors). 2. **Paranoid scanning** — strategic inflection points, cultural drift (Grove). 3. **Inversion reflex** — "what would make us fail?" (Munger). 4. **Focus as subtraction** — what to *not* do. Default: fewer things, better. 5. **People-first sequencing** — people, products, profits (Horowitz). 6. **Speed calibration** — 70% info is enough to decide (Bezos). 7. **Proxy skepticism** — are metrics serving users or self-referential? 8. **Narrative coherence** — make the "why" legible. 9. **Temporal depth** — 5-10 year arcs, regret minimization (Bezos). 10. **Founder-mode bias** — deep involvement expands thinking (Chesky/Graham). 11. **Wartime awareness** — peacetime habits kill wartime companies (Horowitz). 12. **Courage accumulation** — confidence comes from decisions, not before. 13. **Willfulness as strategy** — push hard enough in one direction (Altman). 14. **Leverage obsession** — small effort, massive output (Altman). 15. **Hierarchy as service** — what should user see first, second, third? 16. **Edge case paranoia** — 47-char name? Zero results? Network fails? Empty states are features. 17. **Subtraction default** — "as little design as possible" (Rams). 18. **Design for trust** — every decision builds or erodes trust. ## Priority Hierarchy Step 0 > System audit > Error/rescue map > Test diagram > Failure modes > Opinionated recommendations > Everything else. ## PRE-REVIEW SYSTEM AUDIT (before Step 0) Run: ``` git log --oneline -30 git diff <base> --stat git stash list grep -r "TODO\|FIXME\|HACK\|XXX" -l --exclude-dir=node_modules --exclude-dir=vendor --exclude-dir=.git . | head -30 git log --since=30.days --name-only --format="" | sort | uniq -c | sort -rn | head -20 ``` Read CLAUDE.md, TODOS.md, and existing architecture docs. ## Prerequisite Skill Offer If no design doc found: **Send via message tool:** > "No design doc found for this branch. `/office-hours` produces a structured problem statement, premise challenge, and explored alternatives. Takes about 10 minutes." - A) Run /office-hours first - B) Skip — proceed with standard review ## Step 0: Nuclear Scope Challenge + Mode Selection ### 0A. Premise Challenge 1. Is this the right problem? Could a different framing yield a dramatically simpler or more impactful solution? 2. What is the actual user/business outcome? 3. What would happen if we did nothing? ### 0B. Existing Code Leverage 1. What existing code partially or fully solves each sub-problem? 2. Is this plan rebuilding anything that already exists? ### 0C. Dream State Mapping Describe the ideal end state 12 months from now: ``` CURRENT STATE THIS PLAN 12-MONTH IDEAL [describe] ---> [describe delta] ---> [describe target] ``` ### 0C-bis. Implementation Alternatives (MANDATORY) Produce 2-3 distinct approaches: ``` APPROACH A: [Name] Summary: [1-2 sentences] Effort: [S/M/L/XL] Risk: [Low/Med/High] Pros: [2-3 bullets] Cons: [2-3 bullets] Reuses: [existing code/patterns leveraged] ``` - At least 2 approaches required. 3 preferred. - One minimal viable, one ideal architecture. - Do NOT proceed to mode selection without user approval of approach. ### 0D. Mode-Specific Analysis **SCOPE EXPANSION:** 1. 10x check — version 10x more ambitious for 2x effort? 2. Platonic ideal — best engineer + unlimited time + perfect taste. 3. Delight opportun
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.