Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Comprehensive Project Review

Purpose: Orchestrate multi-perspective reviews by coordinating specialized review commands. Consolidate findings into actionable priorities.

Recommended Frequency: Monthly or before major releases

Mindset: This review embodies /pb-preamble thinking (challenge assumptions, surface risks) and /pb-design-rules thinking (verify Clarity, Simplicity, Robustness across the codebase).

Resource Hint: opus - orchestrates multiple review perspectives requiring deep cross-cutting analysis


When to Use

  • Pre-release comprehensive audit
  • Monthly project health check
  • After major architectural changes
  • Post-incident review
  • New team member onboarding (codebase assessment)

Multi-Perspective Reviews (v2.11.0+)

For deeper, more contextualized reviews by complementary personas:

Review TypePurposeUse When
/pb-review-backendSystems reliability & testingBackend code, APIs, data layer
/pb-review-frontendUser experience & clarityFrontend code, UI, documentation
/pb-review-infrastructureSecurity & resilienceInfrastructure, deployments, hardening

Persona Deep Dives:

  • /pb-linus-agent - Security pragmatism and threat modeling
  • /pb-alex-infra - Systems thinking and resilience design
  • /pb-maya-product - User impact and scope discipline
  • /pb-sam-documentation - Clarity and knowledge transfer
  • /pb-jordan-testing - Test coverage and reliability

See /pb-preamble for the team thinking philosophy that enables these perspectives to complement rather than conflict.


Persona Composition: When to Use Together

Recommended sequence for multi-persona reviews:

Phase 1: Scope Lock (Start Here)

  • Persona: /pb-maya-product - 15-20 minutes
  • Goal: Validate you’re solving the right problem for the right users
  • Outcome: “This feature solves a real user problem, scope is bounded”
  • Result: Proceed or pivot before engineering effort

Phase 2: Quality Review (Run in Parallel)

  • Persona 1: /pb-linus-agent - 30-45 minutes
    • Goal: Verify code correctness, security assumptions, simplicity
  • Persona 2: /pb-alex-infra - 20-30 minutes
    • Goal: Verify resilience, failure modes, scalability
  • Persona 3: /pb-jordan-testing - 20-30 minutes
    • Goal: Verify test coverage, edge cases, invariants

Running in parallel: Launch all 3 simultaneously. They work independently; results synthesize naturally.

Phase 3: Communication & Clarity (Last)

  • Persona: /pb-sam-documentation - 15-20 minutes
  • Goal: Verify code and decisions are clearly documented
  • Outcome: Team can understand and modify code 6 months later
  • Note: Run after quality reviews; Sam often catches assumptions other personas missed

When Single-Persona Review Suffices

Change TypeUse This PersonaRationale
Security-critical code/pb-linus-agentSecurity assumes no other concerns override safety
Infrastructure change/pb-alex-infraInfrastructure failures cascade; need resilience depth
Test coverage review/pb-jordan-testingTesting is isolated; doesn’t require other perspectives
Documentation only/pb-sam-documentationDocumentation doesn’t require code review
Feature planning/pb-maya-productProduct decisions before engineering effort

Resolving Persona Conflicts

If personas disagree, it’s not a bug-it’s a design decision:

Example:

  • Linus says: “Add input validation (improves security)”
  • Alex says: “Validation adds 20ms latency in hot path”

Resolution: Not a contradiction. This is a trade-off:

  1. Document via /pb-adr - Architecture Decision Record explaining the trade-off
  2. Measure the impact - Get actual latency data before deciding
  3. Make conscious choice - Choose security+latency, or skip validation+accept risk
  4. Record the trade-off - Future reviewers understand why

Persona disagreements expose real design choices. That’s valuable.


Review Tiers

Choose based on available time and review depth needed.

Quick Review (30 min - 1 hour)

For rapid health check or time-constrained situations.

Run in parallel:

CommandFocus
/pb-review-codeRecent changes quality
/pb-security quickCritical security issues
/pb-review-testsTest suite health

Consolidate: Top 3 critical issues, immediate next actions.

Standard Review (2-3 hours)

For monthly reviews or pre-feature-release checks.

Run in parallel (add to Quick Review):

CommandFocus
/pb-review-hygieneCode quality + operational readiness
/pb-review-docsDocumentation currency
/pb-loggingLogging standards

Consolidate: Prioritized issue list with effort estimates.

Deep Review (Half day)

For major releases, quarterly reviews, or comprehensive audits.

Run in parallel (add to Standard Review):

CommandFocus
/pb-review-productEngineering + product alignment
/pb-review-microserviceArchitecture (if applicable)
/pb-security deepFull security audit
/pb-a11yAccessibility compliance
/pb-performancePerformance review

Consolidate: Full report with executive summary.


Orchestration Process

Step 1: Scope the Review

Before starting, clarify:

- Review tier: Quick / Standard / Deep
- Focus areas: Any specific concerns?
- Scope: Full codebase or changes since [commit/date]?
- Time budget: For review and for fixes?
- Pre-release? If yes, what version?

Step 2: Launch Parallel Reviews

Run the appropriate review commands concurrently:

For Quick Review:
  - Launch /pb-review-code for recent changes
  - Launch /pb-security quick
  - Launch /pb-review-tests

For Standard Review (add):
  - Launch /pb-review-hygiene
  - Launch /pb-review-docs
  - Launch /pb-logging

For Deep Review (add):
  - Launch /pb-review-product
  - Launch /pb-review-microservice (if applicable)
  - Launch /pb-security deep
  - Launch /pb-a11y

Step 3: Consolidate Findings

After all reviews complete, synthesize into unified report:

## Executive Summary

**Overall Health:** [Good / Needs Attention / At Risk]
**Production Readiness:** [Ready / Conditional / Not Ready]

### Top 5 Priorities
1. [Issue] - [Severity] - [Source review]
2. ...

---

## Issue Tracker

| # | Issue | Severity | Source | Location | Effort |
|---|-------|----------|--------|----------|--------|
| 1 | [Issue description] | CRITICAL | Security | [file:line] | S |
| 2 | [Issue description] | HIGH | Code Quality | [file:line] | M |
...

---

## Quick Wins (< 15 min each)
- [ ] [Action item]
- [ ] [Action item]

## Technical Debt (Track for later)
- [ ] [Item with rationale]

## Deferred (Intentionally not addressing)
- [ ] [Item] - Rationale: [why]

Step 4: Create Action Plan

Prioritize findings into:

  1. CRITICAL - Must fix before production/release
  2. HIGH - Should fix soon (this sprint)
  3. MEDIUM - Address when convenient
  4. LOW - Nice to have

Step 5: Track Progress

Create/update review document:

todos/project-review-YYYY-MM-DD.md

Include:

  • Review tier and duration
  • Issues found per category
  • Items completed
  • Remaining items with status
  • Commits created for fixes

Specialized Review Commands

CommandFocusUse When
/pb-review-codePR/code change reviewReviewing specific changes
/pb-review-hygieneCode quality + operational readinessPeriodic maintenance
/pb-review-testsTest suite healthTest coverage concerns
/pb-review-docsDocumentation qualityDocs need updating
/pb-review-productEngineering + product alignmentStrategy alignment
/pb-review-microserviceArchitecture reviewDistributed systems
/pb-securitySecurity auditSecurity-focused review
/pb-loggingLogging standardsObservability concerns
/pb-a11yAccessibility auditAccessibility compliance
/pb-performancePerformance reviewPerformance concerns
/pb-review-playbookPlaybook meta-reviewReviewing playbook commands

Review Cadence Recommendations

CadenceTierFocus
WeeklyQuickRecent changes, CI health
MonthlyStandardHygiene, docs, test coverage
QuarterlyDeepFull audit, architecture, security
Pre-releaseStandard/DeepBased on release scope
Post-incidentTargetedAffected areas only

Example Invocation

Conduct a Standard Review of this codebase.

Context:
- Pre-release review for v2.0.0
- Changes since commit abc1234
- Time budget: 2 hours review, 4 hours fixes

Priorities:
1. Security (adding user auth features)
2. Test coverage (new payment module)
3. Documentation (API changes)

Create review document at todos/project-review-2026-01-21.md

Tips for Effective Reviews

  1. Parallelize - Run independent reviews concurrently
  2. Focus scope - Use git diff to limit to changed files
  3. Time-box - Set review duration upfront
  4. Prioritize ruthlessly - Not every finding needs immediate action
  5. Track progress - Use the review document across sessions
  6. Follow up - Schedule remediation session after review

  • /pb-review-code - Code change review
  • /pb-review-hygiene - Code quality and operational readiness
  • /pb-review-tests - Test suite health
  • /pb-security - Security audit
  • /pb-cycle - Self-review + peer review iteration

Last Updated: 2026-01-21 Version: 2.0.0