github-code-review
What it does
This skill guides the AI through a detailed review of code changes on GitHub, covering security, performance, architecture and style. It is for developers who want a thorough second look before merging.
When to use it
- βWhen someone asks for a review of a GitHub pull request before it is merged.
- βWhen you want a security and performance check on code changes.
- βWhen you want a summary posted to a GitHub pull request.
Skill link
https://github.com/ruvnet/RuView/blob/main/.claude/skills/github-code-review/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βReview pull request 123 for security problems and performance issues, and leave a summary on GitHub.β
5 new skills a week. 1 minute to read.
How it works
The AI reads the pull request's files and diff with GitHub's command line tool. It sends the changes through several review checks, then combines their findings into one report.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
# Initialize review swarm for PR
gh pr view 123 --json files,diff | npx ruv-swarm github review-init --pr 123
# Post review status
gh pr comment 123 --body "π Multi-agent code review initiated"
Complete Review Workflow
# Get PR context with gh CLI
PR_DATA=$(gh pr view 123 --json files,additions,deletions,title,body)
PR_DIFF=$(gh pr diff 123)
# Initialize comprehensive review
npx ruv-swarm github review-init \
--pr 123 \
--pr-data "$PR_DATA" \
--diff "$PR_DIFF" \
--agents "security,performance,style,architecture,accessibility" \
--depth comprehensive
π Table of Contents
<details> <summary><strong>Core Features</strong></summary>- Multi-Agent Review System
- Specialized Review Agents
- PR-Based Swarm Management
- Automated Workflows
- Quality Gates & Checks
- Security Review Agent
- Performance Review Agent
- Architecture Review Agent
- Style & Convention Agent
- Accessibility Agent
π Core Features
Multi-Agent Review System
Deploy specialized AI agents for comprehensive code review:
# Initialize review swarm with GitHub CLI integration
PR_DATA=$(gh pr view 123 --json files,additions,deletions,title,body)
PR_DIFF=$(gh pr diff 123)
# Start multi-agent review
npx ruv-swarm github review-init \
--pr 123 \
--pr-data "$PR_DATA" \
--diff "$PR_DIFF" \
--agents "security,performance,style,architecture,accessibility" \
--depth comprehensive
# Post initial review status
gh pr comment 123 --body "π Multi-agent code review initiated"
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
# Get changed files from PR
CHANGED_FILES=$(gh pr view 123 --json files --jq '.files[].path')
# Run security-focused review
SECURITY_RESULTS=$(npx ruv-swarm github review-security \
--pr 123 \
--files "$CHANGED_FILES" \
--check "owasp,cve,secrets,permissions" \
--suggest-fixes)
# Post findings based on severity
if echo "$SECURITY_RESULTS" | grep -q "critical"; then
# Request changes for critical issues
gh pr review 123 --request-changes --body "$SECURITY_RESULTS"
gh pr edit 123 --add-label "security-review-required"
else
# Post as comment for non-critical issues
gh pr comment 123 --body "$SECURITY_RESULTS"
fi
<details>
<summary><strong>Security Checks Performed</strong></summary>
{
"checks": [
"SQL injection vulnerabilities",
"XSS attack vectors",
"Authentication bypasses",
"Authorization flaws",
"Cryptographic weaknesses",
"Dependency vulnerabilities",
"Secret exposure",
"CORS misconfigurations"
],
"actions": [
"Block PR on critical issues",
"Suggest secure alternatives",
"Add security test cases",
"Update security documentation"
]
}
</details>
<details>
<summary><strong>Comment Template: Security Issue</strong></summary>
π **Security Issue: [Type]**
**Severity**: π΄ Critical / π‘ High / π’ Low
**Description**:
[Clear explanation of the security issue]
**Impact**:
[Potential consequences if not addressed]
**Suggested Fix**:
```language
[Code example of the fix]
**R
FAQ
Which parts of the code does it check?
The skill lists security, performance, style, architecture and accessibility checks.
Does it need GitHub's command line tool?
Yes. The skill uses the gh command to read the pull request.
Does it fix problems automatically?
The skill produces findings for you to review. It does not promise automatic fixes.
Details
Original description by the author
Comprehensive GitHub code review with AI-powered swarm coordination
repo: ruvnet/RuView
Popularity
- GitHub stars
- 102k
- Ranking position
- #829
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
AgentDB Advanced Features
102kShows your agent advanced AgentDB features, such as syncing databases across machines and combining vector search with metadata filters.
AgentDB Learning Plugins
102kLets your agent build and train learning plugins for AgentDB, using reinforcement learning methods that improve from past experience.
AgentDB Memory Patterns
102kLets your agent remember conversations and context across sessions, using AgentDB as its persistent memory store.
AgentDB Performance Optimization
102kShows your agent how to speed up AgentDB searches and reduce memory use, with compression, a fast search index and caching.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.