ai-factory.review — git diff code review ai-factory.review, ai-factory, community, git diff code review, ide skills, GitHub PR analysis tool, automated code review with ai-factory.review, ai-factory.review install, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Code Review Agents needing advanced git diff analysis and comprehensive content review capabilities. ai-factory.review is a code review tool that performs thorough analysis of Git changes, including staged and unstaged changes, using commands like git diff --cached and gh pr view.

Features

Runs git diff --cached to analyze staged changes
Uses gh pr view to retrieve PR details and gh pr diff for PR changes
Analyzes each file's changes for correctness, security, and performance
Reviews all changes in a GitHub PR
Performs thorough code reviews focusing on maintainability

# Core Topics

lee-to lee-to
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The ai-factory.review skill by lee-to is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for git diff code review, GitHub PR analysis tool, automated code review with ai-factory.review.

Ideal Agent Persona

Perfect for Code Review Agents needing advanced git diff analysis and comprehensive content review capabilities.

Core Value

Empowers agents to analyze staged and unstaged changes using git diff, focusing on correctness, security, and performance, while utilizing GitHub PR APIs for thorough code reviews, providing maintainability and security benefits.

Capabilities Granted for ai-factory.review

Automating code reviews for staged changes
Analyzing pull requests for security vulnerabilities
Debugging performance issues in unstaged code changes

! Prerequisites & Limits

  • Requires git installation and configuration
  • Limited to GitHub PRs for external review
  • Needs access to git repository for analysis
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

ai-factory.review

Install ai-factory.review, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Code Review Assistant

Perform thorough code reviews focusing on correctness, security, performance, and maintainability.

Behavior

Without Arguments (Review Staged Changes)

  1. Run git diff --cached to get staged changes
  2. If nothing staged, run git diff for unstaged changes
  3. Analyze each file's changes

With PR Number/URL

  1. Use gh pr view <number> --json to get PR details
  2. Use gh pr diff <number> to get the diff
  3. Review all changes in the PR

Review Checklist

Correctness

  • Logic errors or bugs
  • Edge cases handling
  • Null/undefined checks
  • Error handling completeness
  • Type safety (if applicable)

Security

  • SQL injection vulnerabilities
  • XSS vulnerabilities
  • Command injection
  • Sensitive data exposure
  • Authentication/authorization issues
  • CSRF protection
  • Input validation

Performance

  • N+1 query problems
  • Unnecessary re-renders (React)
  • Memory leaks
  • Inefficient algorithms
  • Missing indexes (database)
  • Large payload sizes

Best Practices

  • Code duplication
  • Dead code
  • Magic numbers/strings
  • Proper naming conventions
  • SOLID principles
  • DRY principle

Testing

  • Test coverage for new code
  • Edge cases tested
  • Mocking appropriateness

Output Format

markdown
1## Code Review Summary 2 3**Files Reviewed:** [count] 4**Risk Level:** 🟢 Low / 🟡 Medium / 🔴 High 5 6### Critical Issues 7[Must be fixed before merge] 8 9### Suggestions 10[Nice to have improvements] 11 12### Questions 13[Clarifications needed] 14 15### Positive Notes 16[Good patterns observed]

Review Style

  • Be constructive, not critical
  • Explain the "why" behind suggestions
  • Provide code examples when helpful
  • Acknowledge good code
  • Prioritize feedback by importance
  • Ask questions instead of making assumptions

Examples

User: /ai-factory.review Review staged changes in current repository.

User: /ai-factory.review 123 Review PR #123 using GitHub CLI.

User: /ai-factory.review https://github.com/org/repo/pull/123 Review PR from URL.

Integration

If GitHub MCP is configured, can:

  • Post review comments directly to PR
  • Request changes or approve
  • Add labels based on review outcome

Tip: Context is heavy after code review. Consider /clear or /compact before continuing with other tasks.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is ai-factory.review?

Perfect for Code Review Agents needing advanced git diff analysis and comprehensive content review capabilities. ai-factory.review is a code review tool that performs thorough analysis of Git changes, including staged and unstaged changes, using commands like git diff --cached and gh pr view.

How do I install ai-factory.review?

Run the command: npx killer-skills add lee-to/ai-factory/ai-factory.review. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for ai-factory.review?

Key use cases include: Automating code reviews for staged changes, Analyzing pull requests for security vulnerabilities, Debugging performance issues in unstaged code changes.

Which IDEs are compatible with ai-factory.review?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for ai-factory.review?

Requires git installation and configuration. Limited to GitHub PRs for external review. Needs access to git repository for analysis.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add lee-to/ai-factory/ai-factory.review. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use ai-factory.review immediately in the current project.

Related Skills

Looking for an alternative to ai-factory.review or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI