Use when working with comprehensive review full review
Add this skill
npx mdskills install sickn33/comprehensive-review-full-reviewWell-structured multi-phase code review orchestration with clear agent delegation and prioritization
1---2name: comprehensive-review-full-review3description: "Use when working with comprehensive review full review"4---56## Use this skill when78- Working on comprehensive review full review tasks or workflows9- Needing guidance, best practices, or checklists for comprehensive review full review1011## Do not use this skill when1213- The task is unrelated to comprehensive review full review14- You need a different domain or tool outside this scope1516## Instructions1718- Clarify goals, constraints, and required inputs.19- Apply relevant best practices and validate outcomes.20- Provide actionable steps and verification.21- If detailed examples are required, open `resources/implementation-playbook.md`.2223Orchestrate comprehensive multi-dimensional code review using specialized review agents2425[Extended thinking: This workflow performs an exhaustive code review by orchestrating multiple specialized agents in sequential phases. Each phase builds upon previous findings to create a comprehensive review that covers code quality, security, performance, testing, documentation, and best practices. The workflow integrates modern AI-assisted review tools, static analysis, security scanning, and automated quality metrics. Results are consolidated into actionable feedback with clear prioritization and remediation guidance. The phased approach ensures thorough coverage while maintaining efficiency through parallel agent execution where appropriate.]2627## Review Configuration Options2829- **--security-focus**: Prioritize security vulnerabilities and OWASP compliance30- **--performance-critical**: Emphasize performance bottlenecks and scalability issues31- **--tdd-review**: Include TDD compliance and test-first verification32- **--ai-assisted**: Enable AI-powered review tools (Copilot, Codium, Bito)33- **--strict-mode**: Fail review on any critical issues found34- **--metrics-report**: Generate detailed quality metrics dashboard35- **--framework [name]**: Apply framework-specific best practices (React, Spring, Django, etc.)3637## Phase 1: Code Quality & Architecture Review3839Use Task tool to orchestrate quality and architecture agents in parallel:4041### 1A. Code Quality Analysis42- Use Task tool with subagent_type="code-reviewer"43- Prompt: "Perform comprehensive code quality review for: $ARGUMENTS. Analyze code complexity, maintainability index, technical debt, code duplication, naming conventions, and adherence to Clean Code principles. Integrate with SonarQube, CodeQL, and Semgrep for static analysis. Check for code smells, anti-patterns, and violations of SOLID principles. Generate cyclomatic complexity metrics and identify refactoring opportunities."44- Expected output: Quality metrics, code smell inventory, refactoring recommendations45- Context: Initial codebase analysis, no dependencies on other phases4647### 1B. Architecture & Design Review48- Use Task tool with subagent_type="architect-review"49- Prompt: "Review architectural design patterns and structural integrity in: $ARGUMENTS. Evaluate microservices boundaries, API design, database schema, dependency management, and adherence to Domain-Driven Design principles. Check for circular dependencies, inappropriate coupling, missing abstractions, and architectural drift. Verify compliance with enterprise architecture standards and cloud-native patterns."50- Expected output: Architecture assessment, design pattern analysis, structural recommendations51- Context: Runs parallel with code quality analysis5253## Phase 2: Security & Performance Review5455Use Task tool with security and performance agents, incorporating Phase 1 findings:5657### 2A. Security Vulnerability Assessment58- Use Task tool with subagent_type="security-auditor"59- Prompt: "Execute comprehensive security audit on: $ARGUMENTS. Perform OWASP Top 10 analysis, dependency vulnerability scanning with Snyk/Trivy, secrets detection with GitLeaks, input validation review, authentication/authorization assessment, and cryptographic implementation review. Include findings from Phase 1 architecture review: {phase1_architecture_context}. Check for SQL injection, XSS, CSRF, insecure deserialization, and configuration security issues."60- Expected output: Vulnerability report, CVE list, security risk matrix, remediation steps61- Context: Incorporates architectural vulnerabilities identified in Phase 1B6263### 2B. Performance & Scalability Analysis64- Use Task tool with subagent_type="application-performance::performance-engineer"65- Prompt: "Conduct performance analysis and scalability assessment for: $ARGUMENTS. Profile code for CPU/memory hotspots, analyze database query performance, review caching strategies, identify N+1 problems, assess connection pooling, and evaluate asynchronous processing patterns. Consider architectural findings from Phase 1: {phase1_architecture_context}. Check for memory leaks, resource contention, and bottlenecks under load."66- Expected output: Performance metrics, bottleneck analysis, optimization recommendations67- Context: Uses architecture insights to identify systemic performance issues6869## Phase 3: Testing & Documentation Review7071Use Task tool for test and documentation quality assessment:7273### 3A. Test Coverage & Quality Analysis74- Use Task tool with subagent_type="unit-testing::test-automator"75- Prompt: "Evaluate testing strategy and implementation for: $ARGUMENTS. Analyze unit test coverage, integration test completeness, end-to-end test scenarios, test pyramid adherence, and test maintainability. Review test quality metrics including assertion density, test isolation, mock usage, and flakiness. Consider security and performance test requirements from Phase 2: {phase2_security_context}, {phase2_performance_context}. Verify TDD practices if --tdd-review flag is set."76- Expected output: Coverage report, test quality metrics, testing gap analysis77- Context: Incorporates security and performance testing requirements from Phase 27879### 3B. Documentation & API Specification Review80- Use Task tool with subagent_type="code-documentation::docs-architect"81- Prompt: "Review documentation completeness and quality for: $ARGUMENTS. Assess inline code documentation, API documentation (OpenAPI/Swagger), architecture decision records (ADRs), README completeness, deployment guides, and runbooks. Verify documentation reflects actual implementation based on all previous phase findings: {phase1_context}, {phase2_context}. Check for outdated documentation, missing examples, and unclear explanations."82- Expected output: Documentation coverage report, inconsistency list, improvement recommendations83- Context: Cross-references all previous findings to ensure documentation accuracy8485## Phase 4: Best Practices & Standards Compliance8687Use Task tool to verify framework-specific and industry best practices:8889### 4A. Framework & Language Best Practices90- Use Task tool with subagent_type="framework-migration::legacy-modernizer"91- Prompt: "Verify adherence to framework and language best practices for: $ARGUMENTS. Check modern JavaScript/TypeScript patterns, React hooks best practices, Python PEP compliance, Java enterprise patterns, Go idiomatic code, or framework-specific conventions (based on --framework flag). Review package management, build configuration, environment handling, and deployment practices. Include all quality issues from previous phases: {all_previous_contexts}."92- Expected output: Best practices compliance report, modernization recommendations93- Context: Synthesizes all previous findings for framework-specific guidance9495### 4B. CI/CD & DevOps Practices Review96- Use Task tool with subagent_type="cicd-automation::deployment-engineer"97- Prompt: "Review CI/CD pipeline and DevOps practices for: $ARGUMENTS. Evaluate build automation, test automation integration, deployment strategies (blue-green, canary), infrastructure as code, monitoring/observability setup, and incident response procedures. Assess pipeline security, artifact management, and rollback capabilities. Consider all issues identified in previous phases that impact deployment: {all_critical_issues}."98- Expected output: Pipeline assessment, DevOps maturity evaluation, automation recommendations99- Context: Focuses on operationalizing fixes for all identified issues100101## Consolidated Report Generation102103Compile all phase outputs into comprehensive review report:104105### Critical Issues (P0 - Must Fix Immediately)106- Security vulnerabilities with CVSS > 7.0107- Data loss or corruption risks108- Authentication/authorization bypasses109- Production stability threats110- Compliance violations (GDPR, PCI DSS, SOC2)111112### High Priority (P1 - Fix Before Next Release)113- Performance bottlenecks impacting user experience114- Missing critical test coverage115- Architectural anti-patterns causing technical debt116- Outdated dependencies with known vulnerabilities117- Code quality issues affecting maintainability118119### Medium Priority (P2 - Plan for Next Sprint)120- Non-critical performance optimizations121- Documentation gaps and inconsistencies122- Code refactoring opportunities123- Test quality improvements124- DevOps automation enhancements125126### Low Priority (P3 - Track in Backlog)127- Style guide violations128- Minor code smell issues129- Nice-to-have documentation updates130- Cosmetic improvements131132## Success Criteria133134Review is considered successful when:135- All critical security vulnerabilities are identified and documented136- Performance bottlenecks are profiled with remediation paths137- Test coverage gaps are mapped with priority recommendations138- Architecture risks are assessed with mitigation strategies139- Documentation reflects actual implementation state140- Framework best practices compliance is verified141- CI/CD pipeline supports safe deployment of reviewed code142- Clear, actionable feedback is provided for all findings143- Metrics dashboard shows improvement trends144- Team has clear prioritized action plan for remediation145146Target: $ARGUMENTS147
Full transparency — inspect the skill content before installing.