code-review

Review PHP Laravel pull requests for architecture, design, and security.

5|Updated Aug 22, 2025
One-click install
npx skills add https://github.com/pekral/cursor-rules --skill code-review-pekral
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/pekral/cursor-rules/tree/main/skills/code-review
Command: npx skills add https://github.com/pekral/cursor-rules --skill code-review-pekral

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables senior PHP Laravel code reviewers to assess changes without altering the codebase, ensuring compliance with established rules and architecture guidelines.

Core Features & Use Cases

  • Read-only analysis: Review pull requests, diffs, and branch changes without modifying source code.
  • Rule-driven quality checks: Apply all .cursor/rules/*.mdc to assess design, security, and maintainability.
  • Use Case: When evaluating a PR, run a comprehensive review comparing against master and flag violations and improvement opportunities.

Quick Start

Use this skill to review the latest pull request for a Laravel project.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I review a Laravel pull request without modifying the codebase?

Run a read-only code review on your Laravel pull request to assess branch changes. This enforces architecture, design, and security checks without altering source code.

What does a read-only PHP code review check for in a pull request?

A read-only PHP code review checks pull requests for architecture, design quality, and security flaws. It enforces SRP and SOLID principles by applying project rules.

Can I use this to enforce SOLID principles and architecture rules during a PHP diff analysis?

Yes, you can enforce SOLID principles and architecture rules during a PHP diff analysis. The review applies project rules to flag violations and identify improvement opportunities.

How do I analyze a patch for security and maintainability in a Laravel project?

Analyze a patch for security and maintainability by running an on-demand code review. This evaluates changes against the master branch to ensure clean code and robust security.

Does this code review approach require specific project rule files to function?

Yes, this code review approach requires specific project rule files. It explicitly applies rules from the .cursor/rules/*.mdc directory to guide the evaluation.