code-review

Review Laravel code for quality, security, and maintainability against project standards.

Updated Jul 13, 2023
One-click install
npx skills add https://github.com/changgenglu/changgenglu-blog --skill code-review-changgenglu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/changgenglu/changgenglu-blog/tree/main/prompt_engineering/cursor/skills/code-review
Command: npx skills add https://github.com/changgenglu/changgenglu-blog --skill code-review-changgenglu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code reviews guide teams to assess quality, security, and maintainability of Laravel project changes.

Core Features & Use Cases

  • SOLID principles, code quality, Eagle coding style, correctness, security, performance, and testability checks
  • Use Case: Reviewing pull requests, examining code changes, or when asked for a code review
  • Practical guidance for checklists and scoring

Quick Start

Review the code changes using the structured process: scan the changes, analyze each category, and produce a final scoring report.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I review Laravel code for SOLID principles and maintainability?▼

Reviewing Laravel code for SOLID principles involves scanning code changes, analyzing each category like quality and security, and producing a final scoring report. This structured process ensures thorough correctness and testability checks.

What does a security and performance code review for a pull request include?▼

A security and performance code review for a pull request includes checking SOLID principles, code quality, Eagle coding style, correctness, security, performance, and testability. It applies when examining code changes or when explicitly asked for a review.

Can I use this approach to enforce Eagle coding style in my project?▼

Yes, you can enforce Eagle coding style in your project by applying this review process. It systematically checks code changes against Eagle coding style standards alongside SOLID principles, security, and performance metrics to ensure compliance.

What's the best way to score code quality and testability in Laravel?▼

The best way to score code quality and testability in Laravel is to follow a structured review process that scans changes, analyzes specific categories, and produces a final scoring report. This provides practical guidance for checklists and consistent scoring.

Does reviewing code changes for security require checking testability too?▼

Yes, reviewing code changes for security requires checking testability too. The review process comprehensively evaluates security, performance, testability, SOLID principles, and code quality together to ensure overall maintainability and correctness.