Laravel Prompting Patterns Use Laravel's vocabulary to get idiomatic code. Generic requests produce generic solutions that don't leverage the framework. Database Operations Generic "Get all active users with their posts" Laravel-Specific "Query active users with eager-loaded posts using Eloquent: Add a scope to User model: " Relationships "Set up a many-to-many relationship between Posts and Tags: - Create pivot table migration - Add in Post model - Add in Tag model - Use , , for management" Query Optimization "Avoid N+1 on the posts index: - Eager load and relationships - Use for comment tot…