Chuyển đến nội dung
Skillpedia
Công việc và dự án41k · #6627

multi-reviewer-patterns

Skill này làm gì

Công cụ này giúp tổ chức các đợt rà soát mã phức tạp, đảm bảo các khía cạnh khác nhau (như bảo mật và hiệu năng) được kiểm tra bởi nhiều người. Nó cũng giúp gộp các báo cáo vấn đề giống nhau và đánh giá mức độ nghiêm trọng một cách nhất quán.

Khi nào nên dùng

  • ✓Khi tổ chức một đợt rà soát mã có nhiều người tham gia.
  • ✓Khi quyết định những khía cạnh nào của mã (bảo mật, hiệu năng, v.v.) cần được rà soát.
  • ✓Khi tổng hợp báo cáo vấn đề từ nhiều người rà soát để tránh trùng lặp.

Liên kết skill

https://github.com/wshobson/agents/blob/main/plugins/agent-teams/skills/multi-reviewer-patterns/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/wshobson/agents/blob/main/plugins/agent-teams/skills/multi-reviewer-patterns/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi cần tổ chức rà soát mã cho một tính năng đăng nhập mới. Tôi nên ưu tiên những khía cạnh nào và đánh giá các vấn đề tìm được ra sao?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ xác định các hướng rà soát khác nhau (dimensions) và gợi ý các tổ hợp cho từng loại thay đổi. Nó cũng đặt ra quy tắc để gộp các vấn đề giống nhau và xác định mức độ nghiêm trọng của từng vấn đề.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Multi-Reviewer Patterns

Patterns for coordinating parallel code reviews across multiple quality dimensions, deduplicating findings, calibrating severity, and producing consolidated reports.

When to Use This Skill

  • Organizing a multi-dimensional code review
  • Deciding which review dimensions to assign
  • Deduplicating findings from multiple reviewers
  • Calibrating severity ratings consistently
  • Producing a consolidated review report

Review Dimension Allocation

Available Dimensions

Dimension Focus When to Include
Security Vulnerabilities, auth, input validation Always for code handling user input or auth
Performance Query efficiency, memory, caching When changing data access or hot paths
Architecture SOLID, coupling, patterns For structural changes or new modules
Testing Coverage, quality, edge cases When adding new functionality
Accessibility WCAG, ARIA, keyboard nav For UI/frontend changes

Recommended Combinations

Scenario Dimensions
API endpoint changes Security, Performance, Architecture
Frontend component Architecture, Testing, Accessibility
Database migration Performance, Architecture
Authentication changes Security, Testing
Full feature review Security, Performance, Architecture, Testing

Finding Deduplication

When multiple reviewers report issues at the same location:

Merge Rules

  1. Same file:line, same issue — Merge into one finding, credit all reviewers
  2. Same file:line, different issues — Keep as separate findings
  3. Same issue, different locations — Keep separate but cross-reference
  4. Conflicting severity — Use the higher severity rating
  5. Conflicting recommendations — Include both with reviewer attribution

Deduplication Process

For each finding in all reviewer reports:
  1. Check if another finding references the same file:line
  2. If yes, check if they describe the same issue
  3. If same issue: merge, keeping the more detailed description
  4. If different issue: keep both, tag as "co-located"
  5. Use highest severity among merged findings

Severity Calibration

Severity Criteria

Severity Impact Likelihood Examples
Critical Data loss, security breach, complete failure Certain or very likely SQL injection, auth bypass, data corruption
High Significant functionality impact, degradation Likely Memory leak, missing validation, broken flow
Medium Partial impact, workaround exists Possible N+1 query, missing edge case, unclear error
Low Minimal impact, cosmetic Unlikely Style issue, minor optimization, naming

Calibration Rules

  • Security vulnerabilities exploitable by external users: always Critical or High
  • Performance issues in hot paths: at least Medium
  • Missing tests for critical paths: at least Medium
  • Accessibility violations for core functionality: at least Medium
  • Code style issues with no functional impact: Low

Consolidated Report Template

## Code Review Report

**Target**: {files/PR/directory}
**Reviewers**: {dimension-1}, {dimension-2}, {dimension-3}
**Date**: {date}
**Files Reviewed**: {count}

### Critical Findings ({count})

#### [CR-001] {Title}

**Location**: `{file}:{line}`
**Dimension**: {Security/Performance/etc.}
**Description**: {what was found}
**Impact**: {what could happen}
**Fix**: {recommended remediation}

### High Findings ({count})

...

### Medium Findings ({count})

...

### Low Findings ({count})

...

### Summary

| Dimension    | Critical | High  | Medium | Low   | Total  |

…
Câu hỏi thường gặp

“Dimensions” trong rà soát là gì?

Đây là các khía cạnh khác nhau có thể kiểm tra trong mã, như bảo mật, hiệu năng, kiến trúc, kiểm thử và khả năng truy cập.

Công cụ xử lý các vấn đề trùng lặp thế nào?

Nếu nhiều người rà soát tìm cùng một vấn đề ở cùng một vị trí, nó được gộp thành một mục. Nếu vấn đề khác nhau nhưng cùng vị trí, chúng được liệt kê riêng. Nếu mức độ khác nhau, mức cao hơn sẽ được dùng.

Mức độ nghiêm trọng của vấn đề được xác định thế nào?

Mức độ (Critical, High, Medium, Low) được xác định dựa trên tác động tiềm ẩn (điều gì có thể xảy ra) và khả năng xảy ra. Ví dụ, rò rỉ bảo mật là Critical, còn vấn đề về kiểu dáng là Low.

Chi tiết

Mô tả gốc của tác giả

Coordinate parallel code reviews across multiple quality dimensions with finding deduplication, severity calibration, and consolidated reporting. Use this skill when organizing multi-reviewer code reviews, calibrating finding severity, or consolidating review results.

repo: wshobson/agents

Độ phổ biến

Sao GitHub
41k
Vị trí xếp hạng
#6627
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự