laravel-php-architect-review

Audit and refactor Laravel/PHP code for security, performance, and best practices.

Updated Apr 28, 2026
One-click install
npx skills add https://github.com/lucasFR2/LogiSync --skill laravel-php-architect-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-php-architect-review
Source: https://github.com/lucasFR2/LogiSync/tree/main/.github/skills/laravel-php-architect-review
Command: npx skills add https://github.com/lucasFR2/LogiSync --skill laravel-php-architect-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a comprehensive approach to reviewing, refactoring, and auditing Laravel/PHP code, focusing on security, performance, and best practices.

Core Features & Use Cases

  • Security Analysis: Identifies vulnerabilities like auth issues, mass assignment, SQLi, XSS, and CSRF.
  • Performance Optimization: Improves application performance by addressing N+1 queries, caching, and eager loading.
  • Best Practices: Ensures code adheres to Laravel best practices, including Form Requests, policies, DI, and services.
  • Database Quality: Enhances database integrity with proper migrations, foreign keys, and indexes.
  • Use Case: Ideal for developers and architects who want to ensure the security and performance of Laravel applications.

Quick Start

Run the skill on your Laravel application code to automatically check for security issues and optimize performance.

Frequently Asked Questions about laravel-php-architect-review

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

FAQPage Schema
How do I audit Laravel code for security vulnerabilities and performance bottlenecks?

Auditing Laravel code involves scanning for security vulnerabilities like SQLi and mass assignment, alongside resolving performance bottlenecks such as N+1 queries. This skill automates that analysis to identify risks and enforce best practices across your application.

What is the best way to refactor PHP code to adhere to Laravel best practices?

Refactoring PHP code to Laravel best practices involves implementing Form Requests, policies, and dependency injection. This skill analyzes your codebase to ensure proper architectural adherence and automatically applies these structural improvements.

How do I fix N+1 query problems and optimize caching in my Laravel application?

Fixing N+1 query problems in Laravel requires implementing eager loading and optimizing caching strategies. This skill identifies these specific performance bottlenecks and provides automated fixes to improve application response times.

Does this code review tool check database integrity and migration quality?

Yes, this code review tool checks database integrity by analyzing migrations for proper foreign keys and indexes. It ensures your database schema adheres to quality standards while identifying potential structural weaknesses.

Can I use this to detect mass assignment and XSS vulnerabilities in my existing Laravel code?

Yes, you can detect mass assignment and XSS vulnerabilities in existing Laravel code. The security analysis scans your application logic to identify these specific threats and suggests appropriate protective measures.

What security checks should I run before deploying a Laravel application?

Before deploying a Laravel application, run security checks for auth issues, SQLi, CSRF, and XSS vulnerabilities. This skill performs a comprehensive audit to identify these flaws and ensure your code is secure for production.