Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

when-reviewing-pull-request-orchestrate-comprehensive-code-revie

БесплатноБез исполняемых скриптовНе проверен

Use when conducting comprehensive code review for pull requests across multiple quality dimensions. Orchestrates 12-15 specialized reviewer agents across 4…

DNYoussefот DNYoussef★ 34 звезды на GitHub

Об этом скилле

Code Review Orchestration Workflow

Comprehensive code review workflow orchestrating 12-15 specialized reviewers across automated checks, parallel expert reviews, integration analysis, and final approval recommendation. Designed for thorough quality validation across security, performance, architecture, testing, and documentation dimensions in a systematic 4-hour process.


LIBRARY-FIRST PROTOCOL (MANDATORY)

Before writing ANY code, you MUST check:

Step 1: Library Catalog

  • Location: .claude/library/catalog.json
  • If match >70%: REUSE or ADAPT

Step 2: Patterns Guide

  • Location: .claude/docs/inventories/LIBRARY-PATTERNS-GUIDE.md
  • If pattern exists: FOLLOW documented approach

Step 3: Existing Projects

  • Location: D:\Projects\*
  • If found: EXTRACT and adapt

Decision Matrix

Match Action
Library >90% REUSE directly
Library 70-90% ADAPT minimally
Pattern exists FOLLOW pattern
In project EXTRACT
No match BUILD (add to library after)

Overview

This SOP implements a multi-dimensional code review process using star topology coordination where a central PR manager orchestrates specialized reviewers operating in parallel. The workflow emphasizes both thoroughness and efficiency by running automated checks first (gate 1), then parallelizing specialized human-centric reviews, followed by integration impact analysis, and finally synthesizing all findings into actionable recommendations.

The star pattern enables each specialist to focus deeply on their domain while the coordinator ensures comprehensive coverage and prevents conflicting feedback. Memory coordination allows reviewers to reference findings from other specialists, creating a holistic review experience.

Trigger Conditions

Use this workflow when:

  • Reviewing pull requests requiring comprehensive quality validation
  • Changes span multiple quality dimensions (code, security, performance, architecture)
  • Need systematic review from multiple specialist perspectives
  • PR introduces significant functionality or architectural changes
  • Merge decision requires evidence-based go/no-go recommendation
  • Team wants consistent, repeatable review process
  • Code review SLA is within 4 hours (business hours)

Orchestrated Agents (15 Total)

Coordination Agent

  • pr-manager - PR coordination, review orchestration, findings aggregation, author notification

Automated Check Agents (Phase 1)

  • code-analyzer - Linting, static analysis, code complexity metrics
  • tester - Test execution, test suite validation
  • qa-engineer - Coverage analysis, test quality assessment

Specialized Review Agents (Phase 2)

  • code-analyzer - Code quality, readability, maintainability, DRY, SOLID principles
  • security-manager - Security vulnerabilities, OWASP compliance, secrets scanning, auth/auth
  • performance-analyzer - Performance regressions, algorithmic efficiency, resource optimization
  • system-architect - Architectural consistency, design patterns, scalability, integration fit
  • api-documentation-specialist - Code documentation, API docs, comments, examples
  • style-auditor - Code style consistency, formatting standards
  • dependency-analyzer - Dependency audit, outdated packages, security vulnerabilities
  • test-coverage-reviewer - Coverage metrics, uncovered code paths, edge case testing
  • documentation-reviewer - README updates, changelog, migration guides

Integration Analysis Agents (Phase 3)

  • system-integrator - Integration impact, breaking changes, backward compatibility
  • devops-engineer - Deployment impact, infrastructure changes, rollback planning
  • code-reviewer - Risk assessment, blast radius analysis

Workflow Phases

Phase 1: Automated Checks (30 Minutes, Parallel Gate)

Duration: 30 minutes Execution Mode: Parallel automated validation (fast fail-fast gate) Agents: code-analyzer, tester, qa-engineer, pr-manager

Process:

  1. Initialize Review Swarm

    PR_ID="$1"  # e.g., "repo-name/pulls/123"
    PR_NUMBER=$(echo $PR_ID | cut -d'/' -f3)
    
    npx claude-flow hooks pre-task --description "Code review: PR #${PR_NUMBER}"
    npx claude-flow swarm init --topology star --max-agents 15 --strategy specialized
    npx claude-flow agent spawn --type pr-manager
    

    PR Manager retrieves PR metadata:

    • Changed files and line counts
    • Commit history and messages
    • Branch comparison (base vs head)
    • PR description and labels
    • Author and reviewers assigned

    Memory Storage:

    npx claude-flow memory store --key "code-review/${PR_ID}/metadata" \
      --value '{"pr_number": "'"${PR_NUMBER}"'", "files_changed": 15, "lines_added": 342, "lines_deleted": 78}'
    
  2. Run Automated Checks in Parallel

    npx claude-flow task orchestrate --strategy parallel --max-agents 4
    

    Sp

Полный SKILL.md на GitHub

Установить when-reviewing-pull-request-orchestrate-comprehensive-code-revie в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Task
TodoWrite
Glob
Grep

Вложенные файлы

SKILL-meta.yamlwhen-reviewing-pull-request-orchestrate-comprehensive-code-review-process.dot

FAQ

Что делает скилл when-reviewing-pull-request-orchestrate-comprehensive-code-revie?

Use when conducting comprehensive code review for pull requests across multiple quality dimensions. Orchestrates 12-15 specialized reviewer agents across 4 phases using star topology coordination. Covers automated checks, parallel specialized reviews (quality, security, performance, architecture, documentation), integration analysis, and final merge recommendation in a 4-hour workflow.

Как установить скилл when-reviewing-pull-request-orchestrate-comprehensive-code-revie?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл when-reviewing-pull-request-orchestrate-comprehensive-code-revie запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить when-reviewing-pull-request-orchestrate-comprehensive-code-revie с