laravel

Implement and verify Laravel applications with Eloquent, Blade, and Artisan.

16|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/JCETools-Petra/JCE-Opencode-Tools --skill laravel-jcetools-petra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel
Source: https://github.com/JCETools-Petra/JCE-Opencode-Tools/tree/main/config/skills/laravel
Command: npx skills add https://github.com/JCETools-Petra/JCE-Opencode-Tools --skill laravel-jcetools-petra

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you implement and validate Laravel features end-to-end—architecture, Eloquent data access, Blade/Livewire UI, testing, caching, and safety checks—so work is correct and maintainable instead of guesswork.

Core Features & Use Cases

  • Laravel architecture guidance: Choose the right structure for CRUD, domain logic, background jobs, APIs, feature flags, and real-time updates.
  • Eloquent ORM patterns: Apply casts, scopes, eager loading, query batching, and pagination to avoid N+1 and scale issues.
  • Frontend integration: Use Blade with Alpine and Livewire 3/Volt patterns for interactive server-rendered UI.
  • API correctness & validation: Use FormRequest, authorization, API Resources, and structured responses for reliable endpoints.
  • Testing and performance verification: Generate Pest/feature test approaches, plus caching/invalidation and query optimization checks.

Quick Start

Use the laravel skill to design the Laravel 12 feature, including models, relationships, validation, API resources, and the exact testing approach for your change.

Frequently Asked Questions about laravel

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

FAQPage Schema
How do I avoid N+1 query issues when working with Eloquent relationships in Laravel?

Avoid N+1 query problems in Laravel by applying Eloquent eager loading, query batching, and pagination. Using scopes and casts correctly ensures database access patterns remain safe and scalable.

What is the best way to structure API responses and validation in a Laravel application?

The best way to structure Laravel API responses and validation is using FormRequest for authorization and validation rules, combined with API Resources to shape structured endpoint outputs.

How do I build interactive server-rendered UIs using Laravel Blade and Livewire 3?

Build interactive server-rendered UIs in Laravel by combining Blade templates with Alpine and Livewire 3/Volt patterns. This integration handles dynamic frontend interactions without a full SPA framework.

How do I set up feature testing and performance verification for Laravel endpoints?

Set up Laravel feature testing and performance verification using Pest tests. Add caching, invalidation strategies, and query optimization checks to ensure endpoints perform reliably and avoid anti-patterns.

Does this Laravel development approach support background jobs and real-time broadcasting?

Yes, this Laravel development approach supports background jobs and real-time broadcasting. It guides architecture decisions for domain logic design, feature flags, and realtime updates.