github-code-review
Comprehensive GitHub code review with AI-powered swarm coordination
By ruvnet · 1,286 installs
npx skills add ruvnet/ruflo --skill github-code-review
Source repository · Upstream listing
GitHub Code Review Skill
AI Powered Code Review : Deploy specialized review agents to perform comprehensive, intelligent code reviews that go beyond traditional static analysis.
🎯 Quick Start
Simple Review
Complete Review Workflow
📚 Table of Contents
<details
<summary <strong Core Features</strong </summary
[Multi Agent Review System]( multi agent review system)
[Specialized Review Agents]( specialized review agents)
[PR Based Swarm Management]( pr based swarm management)
[Automated Workflows]( automated workflows)
[Quality Gates & Checks]( quality gates checks)
</details
<details
<summary <strong Review Agents</strong </summary
[Security Review Agent]( security review agent)
[Performance Review Agent]( performance review agent)
[Architecture Review Agent]( architecture review agent)
[Style & Convention Agent]( style convention agent)
[Accessibility Agent]( accessibility agent)
</details
<details
<summary <strong Advanced Features</strong </summary
[Context Aware Reviews]( context aware reviews)
[Learning from History]( learning from history)
[Cross PR Analysis]( cross pr analysis)
[Custom Review Agents]( custom review agents)
</details
<details
<summary <strong Integration & Automation</strong </summary
[CI/CD Integration]( cicd integration)
[Webhook Handlers]( webhook handlers)
[PR Comment Commands]( pr comment commands)
[Automated Fixes]( automated fixes)
</details
🚀 Core Features
Multi Agent Review System
Deploy specialized AI agents for comprehensive code review:
Benefits:
✅ Parallel review by specialized agents
✅ Comprehensive coverage across multiple domains
✅ Faster review cycles with coordinated analysis
✅ Consistent quality standards enforcement
🤖 Specialized Review Agents
Security Review Agent
Focus: Identify security vulnerabilities and suggest fixes
<details
<summary <strong Security Checks Performed</strong </summary
</details
<details
<summary <strong Comment Template: Security Issue</strong </summary
language
[Code example of the fix]
</details
Performance Review Agent
Focus: Analyze performance impact and optimization opportunities
<details
<summary <strong Performance Metrics Analyzed</strong </summary
</details
Architecture Review Agent
Focus: Evaluate design patterns and architectural decisions
<details
<summary <strong Architecture Analysis</strong </summary
</details
Style & Convention Agent
Focus: Enforce coding standards and best practices
<details
<summary <strong Style Checks</strong </summary
</details
🔄 PR Based Swarm Management
Create Swarm from PR
Label Based Agent Assignment
Map PR labels to specialized agents:
Topology Selection by PR Size
🎬 PR Comment Commands
Execute swarm commands directly from PR comments:
<details
<summary <strong Webhook Handler for Comment Commands</strong </summary
</details
⚙️ Review Configuration
Configuration File
Custom Review Triggers
🤖 Automated Workflows
Auto Review on PR Creation
💬 Intelligent Comment Generation
Generate Contextual Review Comments
Batch Comment Management
🚪 Quality Gates & Checks
Status Checks
Define Quality Gates
Track Review Metrics
🎓 Advanced Features
Context Aware Reviews
Analyze PRs with full project context:
Learning from History
Train review agents on your codebase patterns:
Cross PR Analysis
Coordinate reviews across related pull requests:
Multi PR Swarm Coordination
🛠️ Custom Review Agents
Create Custom Agent
Register Custom Agent
🔧 CI/CD Integration
Integration with Build Pipeline
Automated PR Fixes
Progress Updates to PR
📋 Complete Workflow Examples
Example 1: Security Critical PR
Example 2: Performance Sensitive PR
Example 3: UI Component PR
Example 4: Feature Development PR
Example 5: Bug Fix PR
📊 Monitoring & Analytics
Review Dashboard
Generate Review Reports
PR Swarm Analytics
Export to GitHub Insights
🔐 Security Considerations
Best Practices
1. Token Permissions : Ensure GitHub tokens have minimal required scopes
2. Command Validation : Validate all PR comments before execution
3. Rate Limiting : Implement rate limits for PR operations
4. Audit Trail : Log all swarm operations for compliance
5. Secret Management : Never expose API keys in PR comments or logs
Security Checklist
[ ] GitHub token scoped to repository only
[ ] Webhook signatures verified
[ ] Command injection protection enabled
[ ] Rate limiting configured
[ ] Audit logging enabled
[ ] Secrets scanning active
[ ] Branch protection rules enforced
📚 Best Practices
1. Review Configuration
✅ Define clear review criteria upfront
✅ Set appropriate severity thresholds
✅ Configure agent specializations for your stack
✅ Establish override procedures for emergencies
2. Comment Quality
✅ Provide actionable, specific feedback
✅ Include code examples with suggestions
✅ Reference documentation and best practices
✅ Maintain respectful, constructive tone
3. Performance Optimization
✅ Cache analysis results to avoid redundant work
✅ Use incremental reviews for large PRs
✅ Enable parallel agent execution
✅ Batch comment operations efficiently
4. PR Templates
5. Auto Merge When Ready
🔗 Integration with Claude Code
Workflow Pattern
1. Claude Code reads PR diff and context
2. Swarm coordinates review approach based on PR type
3. Agents work in parallel on different review aspects
4. Progress updates posted to PR automatically
5. Final review performed before marking ready
Example: Complete PR Management
🆘 Troubleshooting
Common Issues
<details
<summary <strong Issue: Review agents not spawning</strong </summary
Solution:
</details
<details
<summary <strong Issue: Comments not posting to PR</strong </summary
Solution:
</details
<details
<summary <strong Issue: Review taking too long</strong </summary
Solution:
</details
📖 Additional Resources
Related Skills
github pr manager Comprehensive PR lifecycle management
github workflow automation Automate GitHub workflows
swarm coordination Advanced swarm orchestration
Documentation
[GitHub CLI Documentation](https://cli.github.com/manual/)
[RUV Swarm Guide](https://github.com/ruvnet/ruv swarm)
[Claude Flow Integration](https://github.com/ruvnet/claude flow)
Support
GitHub Issues: Report bugs and request features
Community: Join discussions and share experiences
Examples: Browse example configurations and workflows
📄 License
This skill is part of the Claude Code Flow project and is licensed under the MIT License.
Last Updated: 2025 10 19
Version: 1.0.0
Maintainer: Claude Code Flow Team