code-review

Analyze code diffs, pull requests, files, or snippets for security, performance, correctness, and maintainability issues.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/hiroshi75/agentlattice --skill code-review-hiroshi75
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/hiroshi75/agentlattice/tree/main/templates/skills/engineering/code-review
Command: npx skills add https://github.com/hiroshi75/agentlattice --skill code-review-hiroshi75

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the critical need for thorough code analysis, identifying potential bugs, security vulnerabilities, performance bottlenecks, and maintainability issues before they impact production.

Core Features & Use Cases

  • Comprehensive Analysis: Reviews code across multiple dimensions including security, performance, correctness, and maintainability.
  • Actionable Feedback: Provides specific, prioritized findings with file and line number references.
  • Use Case: A developer submits a pull request. The code-review skill is triggered to analyze the changes, flagging a potential SQL injection vulnerability and suggesting a more efficient database query, ensuring the code is both secure and performant.

Quick Start

Review the provided code diff for security and performance issues.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I review code for security vulnerabilities and performance issues?

Code review analyzes your code across security, performance, correctness, and maintainability dimensions. It identifies vulnerabilities like SQL injection and inefficiencies such as N+1 queries, providing prioritized feedback with file and line references.

Can I analyze a pull request diff for potential bugs and maintainability concerns?

Yes, you can analyze pull request diffs, files, or pasted snippets for bugs and maintainability concerns. The review checks edge cases and naming clarity to ensure your code changes are robust before production deployment.

What's the best way to detect SQL injection vulnerabilities in my code?

Detecting SQL injection vulnerabilities is achieved by submitting your code or diffs for structured analysis. The review process flags potential injection points and provides actionable suggestions to secure your database queries.

Does this code review tool work with pasted code snippets or only full files?

The code review tool works with both pasted snippets and full files. You can submit code diffs, individual files, or pull requests to receive comprehensive analysis across security, performance, and correctness dimensions.

How do I identify N+1 query performance bottlenecks in my database code?

Identifying N+1 query bottlenecks requires submitting your database code for performance analysis. The review process detects inefficient query patterns and suggests optimized alternatives to improve overall application performance.

Can I get feedback on edge cases and naming clarity during a code review?

Yes, the code review provides feedback on edge cases and naming clarity. It evaluates correctness and maintainability concerns, ensuring your code handles unexpected inputs and remains readable for future development.