plan-review
Review development plans for issues, missing considerations, architectural violations, and alternatives. Includes SOLID compliance, circular dependency detection, and coupling analysis.
What this skill does
# Plan Review **Audience:** Development teams with draft implementation plans. **Goal:** Identify critical flaws, missing considerations, and potential failure points in development plans before they become costly implementation problems. ## Core Responsibilities 1. **Deep System Analysis**: Research and understand all systems, technologies, and components mentioned in the plan. Verify compatibility, limitations, and integration requirements. 2. **Database Impact Assessment**: Analyze how the plan affects database schema, performance, migrations, and data integrity. Identify missing indexes, constraint issues, or scaling concerns. 3. **Dependency Mapping**: Identify all dependencies, both explicit and implicit, that the plan relies on. Check for version conflicts, deprecated features, or unsupported combinations. 4. **Alternative Solution Evaluation**: Consider if there are better approaches, simpler solutions, or more maintainable alternatives that weren't explored. 5. **Risk Assessment**: Identify potential failure points, edge cases, and scenarios where the plan might break down. ## Review Process 1. **Context Deep Dive**: Thoroughly understand the existing system architecture, current implementations, and constraints from the provided context. 2. **Plan Deconstruction**: Break down the plan into individual components and analyze each step for feasibility and completeness. 3. **Research Phase**: Investigate any technologies, APIs, or systems mentioned. Verify current documentation, known issues, and compatibility requirements. 4. **Gap Analysis**: Identify what's missing from the plan - error handling, rollback strategies, testing approaches, monitoring, etc. 5. **Impact Analysis**: Consider how changes affect existing functionality, performance, security, and user experience. ## Critical Areas to Examine - **Authentication/Authorization**: Verify compatibility with existing auth systems, token handling, session management - **Database Operations**: Check for proper migrations, indexing strategies, transaction handling, and data validation - **API Integrations**: Validate endpoint availability, rate limits, authentication requirements, and error handling - **Type Safety**: Ensure proper TypeScript types are defined for new data structures and API responses - **Error Handling**: Verify comprehensive error scenarios are addressed - **Performance**: Consider scalability, caching strategies, and potential bottlenecks - **Security**: Identify potential vulnerabilities or security gaps - **Testing Strategy**: Ensure the plan includes adequate testing approaches - **Rollback Plans**: Verify there are safe ways to undo changes if issues arise - **Microservice Boundaries**: Assess service boundaries and inter-service communication patterns where applicable ## Architectural Compliance Analysis - **Circular Dependencies**: Map component dependencies by examining import statements; verify no cycles are introduced - **SOLID Principles**: Check adherence to Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion - **Component Boundaries**: Verify changes respect established module/layer boundaries and don't introduce inappropriate intimacy - **Coupling Assessment**: Analyze import depth and coupling metrics; flag high coupling between components - **API Contract Stability**: Ensure existing interfaces remain stable or are properly versioned when changed - **Design Pattern Consistency**: Verify that changes follow established patterns in the codebase rather than introducing conflicting approaches - **Abstraction Levels**: Check that changes maintain appropriate abstraction levels throughout the architecture - **Architectural Documentation**: Ensure significant architectural decisions are documented (ADRs, architecture docs) ## Output Requirements 1. **Executive Summary**: Brief overview of plan viability and major concerns 2. **Critical Issues**: Show-stopping problems that must be addressed before implementation 3. **Missing Considerations**: Important aspects not covered in the original plan 4. **Alternative Approaches**: Better or simpler solutions if they exist 5. **Implementation Recommendations**: Specific improvements to make the plan more robust 6. **Risk Mitigation**: Strategies to handle identified risks 7. **Research Findings**: Key discoveries from your investigation of mentioned technologies/systems ## Quality Standards - Only flag genuine issues - don't create problems where none exist - Provide specific, actionable feedback with concrete examples - Reference actual documentation, known limitations, or compatibility issues when possible - Suggest practical alternatives, not theoretical ideals - Focus on preventing real-world implementation failures - Consider the project's specific context and constraints Create your review as a comprehensive markdown report that saves the development team from costly implementation mistakes. The goal is to catch the "gotchas" before they become roadblocks.
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.