搜索

PythonReactSEOPDF
GitHub Skill

code-review

Comprehensive multi-agent code review with parallel analysis. Use for thorough code reviews, finding bugs, checking regressions, or getting alternative implementation perspectives.

ProviderProtocol☆ 2 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Agent Code Review

Orchestrate parallel sub-agent reviews for comprehensive code analysis and actionable feedback.

When to Use

  • Deep code review before merge
  • Bug hunting and regression detection
  • Getting alternative implementation perspectives
  • Validating library/API usage correctness

Instructions

Step 1: Determine Review Scope

Identify what to review:

# Option A: Recent changes
git diff HEAD~1

# Option B: Staged changes  
git diff --staged

# Option C: Specific commit range
git log --oneline -10  # then select range

# Option D: Current working state
git status
Step 2: Spawn Review Sub-Agents

Deploy parallel sub-agents with focused tasks:

Sub-Agent Task
Spec Reviewer Check implementation against UPP-1.3.spec.md and compliance requirements
Standards Reviewer Compare against existing provider patterns and org coding standards
Bug Hunter Search for regressions, edge cases, error handling gaps
API Validator Web search to verify API/library usage correctness

Prompt each sub-agent with:

"Perform a comprehensive code review of [scope]. Investigate spec compliance, coding standards consistency, and validate any API/library usage against current documentation. Report findings as actionable items."

Step 3: Collect and Synthesize

Aggregate sub-agent reports into:

  1. Critical issues requiring immediate fix
  2. Recommendations for improvement
  3. Alternative approaches worth considering
  4. Regression risks with resolution plans

Output Format

# Code Review Report

## Files Reviewed
- `path/to/file1.ts`
- `path/to/file2.ts`

## Critical Issues 🔴
| File | Line | Issue | Fix |
|------|------|-------|-----|

## Recommendations 🟡
| File | Line | Suggestion | Rationale |
|------|------|------------|-----------|

## Alternative Perspectives 🔵
[Alternative implementation approaches from sub-agents]

## Regression Analysis
| Risk | Affected Area | Resolution Plan |
|------|---------------|-----------------|

## Action Items
- [ ] Fix: [critical item]
- [ ] Consider: [recommendation]
- [ ] Verify: [needs validation]

Notes

  • Sub-agents should search the codebase for similar patterns before suggesting changes
  • Always create resolution plans for identified regressions
  • Validate external dependencies against their official documentation

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!