laravel:laravel-prompting-patterns

Generate idiomatic Laravel code for database, validation, API, and queue tasks.

1|Updated Sep 22, 2025
One-click install
npx skills add https://github.com/meistro57/chat_bridge --skill laravel-laravel-prompting-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel:laravel-prompting-patterns
Source: https://github.com/meistro57/chat_bridge/tree/main/.claude/skills/laravel-prompting-patterns
Command: npx skills add https://github.com/meistro57/chat_bridge --skill laravel-laravel-prompting-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers write more idiomatic and efficient Laravel code by leveraging framework-specific patterns and vocabulary, avoiding generic solutions.

Core Features & Use Cases

  • Eloquent Patterns: Generate code for relationships, scopes, and query optimization.
  • Validation: Create Form Requests with appropriate validation rules.
  • API Development: Structure API resources, pagination, and filtering.
  • Background Processing: Implement jobs, queues, and job chains.
  • Use Case: When building a new feature, use this Skill to ensure your database interactions, API endpoints, and background tasks follow best practices for Laravel.

Quick Start

Use the laravel skill to generate an Eloquent query to fetch active users with their posts, eager-loading the posts.

Frequently Asked Questions about laravel:laravel-prompting-patterns

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

FAQPage Schema
How do I generate idiomatic Laravel code for Eloquent relationships and eager loading?

To generate idiomatic Laravel code for Eloquent relationships, this Skill produces snippets that optimize queries using eager loading and framework-specific scopes. It ensures your database interactions follow Laravel best practices rather than relying on generic PHP patterns.

What is the best way to structure Laravel API resources and pagination?

The best way to structure Laravel API resources is by generating framework-specific patterns for resource formatting, pagination, and filtering. This Skill outputs code that adheres to Laravel best practices for API development tasks.

How do I create Laravel Form Requests with validation rules?

To create Laravel Form Requests with validation rules, this Skill generates appropriate validation patterns tailored to your data. It structures the code to leverage Laravel's built-in validation features effectively instead of writing manual checks.

Can I use this Skill for background processing with Laravel queues and jobs?

Yes, you can use this Skill for background processing in Laravel. It generates code for implementing jobs, queues, and job chains, ensuring your background tasks leverage framework-specific patterns and best practices.

Why does my generated Laravel code look generic instead of using framework features?

Generated Laravel code looks generic when not using framework-specific vocabulary, which this Skill solves by enforcing idiomatic patterns. It ensures code generation leverages Laravel features effectively, avoiding generic solutions for database operations and API tasks.