github-code-review

Coordinates multi-agent GitHub pull request reviews covering security, performance, style, and architecture.

Updated Jul 16, 2026
One-click install
npx skills add https://github.com/optimaxin/Tredev_Gems --skill github-code-review-optimaxin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-code-review
Source: https://github.com/optimaxin/Tredev_Gems/tree/main/.claude/skills/github-code-review
Command: npx skills add https://github.com/optimaxin/Tredev_Gems --skill github-code-review-optimaxin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manual pull request reviews are slow, inconsistent, and often miss security vulnerabilities, performance regressions, or architectural issues. This Skill orchestrates specialized review agents that analyze PRs in parallel and post structured feedback directly to GitHub. ## Core Features & Use Cases - Specialized Review Agents: Deploy security, performance, architecture, style, and accessibility agents that each analyze the PR diff for domain-specific issues. - PR Automation: Trigger reviews via GitHub Actions, webhook comment commands like /swarm review, and quality gates that block merges on critical findings. - Inline Comment Generation: Post contextual review comments with severity levels, suggested fixes, and code examples using the gh CLI and GitHub API. - Use Case: A team opens a PR touching authentication code. The skill automatically spawns security and architecture agents, flags a hardcoded secret, requests changes via gh pr review, and adds a security-review label. ## Quick Start Ask the AI to initialize a multi-agent review for pull request 123 covering security, performance, and style, then post the findings as PR comments.

Frequently Asked Questions about github-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate GitHub pull request reviews with AI agents?

Initialize a review swarm with npx ruv-swarm github review-init, passing the PR number, diff, and a list of agents such as security, performance, and style. The agents analyze the PR in parallel and results are posted back using gh pr review or gh pr comment.

How do I trigger code reviews from GitHub Actions?

Add a workflow triggered on pull_request events that authenticates the gh CLI, fetches PR data with gh pr view and gh pr diff, then runs npx ruv-swarm github review-all. The output can approve, comment, or request changes on the PR automatically.

Can I run review commands from PR comments?

Yes, a webhook handler can parse PR comments starting with /swarm and execute commands like /swarm review --agents security,performance. The handler receives GitHub webhook events and invokes the ruv-swarm CLI with the PR number and command.

What security checks does automated code review perform?

The security agent checks for SQL injection, XSS vectors, authentication bypasses, cryptographic weaknesses, dependency vulnerabilities, exposed secrets, and CORS misconfigurations. Critical findings can block the merge by requesting changes and adding labels.

Why are review agents not spawning for my pull request?

Check swarm status with npx ruv-swarm swarm-status and verify GitHub CLI authentication with gh auth status. If the swarm is stale, re-initialize it with npx ruv-swarm github review-init --pr <number> --force.

How do I handle slow reviews on large pull requests?

Use incremental review mode with the --incremental flag, reduce the agent count with --max-agents, or enable parallel processing with result caching. Topology selection also adapts automatically based on PR size.