@tank/laravel-mastery

Guide Laravel 11+ development decisions across Eloquent, routing, auth, testing, and deployment.

1|1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/tankpkg/packages --skill tank-laravel-mastery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: @tank/laravel-mastery
Source: https://github.com/tankpkg/packages/tree/main/skills/laravel-mastery
Command: npx skills add https://github.com/tankpkg/packages --skill tank-laravel-mastery

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps teams build, review, and troubleshoot modern Laravel applications without guessing at architecture, performance, auth, testing, or deployment choices. It turns scattered Laravel best practices into clear, production-ready guidance for everyday engineering decisions.

Core Features & Use Cases

  • Eloquent and data-layer guidance: Use the right relationships, scopes, casts, observers, eager loading patterns, migrations, factories, and API resources.
  • Routing, controllers, and authorization: Organize routes cleanly, keep controllers thin, use Form Requests, route model binding, middleware, policies, and rate limiting correctly.
  • Frontend and auth stack selection: Choose between Blade, Livewire, Inertia, Sanctum, Breeze, Fortify, Jetstream, and Socialite based on the product needs.
  • Testing and deployment practices: Apply Pest and PHPUnit, HTTP feature tests, mocking, parallel testing, and deployment guidance for Forge, Vapor, Docker, and Octane.
  • Use case: If your Laravel app is slowing down, growing messy, or needs a safe upgrade path, this Skill helps you identify the right patterns and avoid common production mistakes.

Quick Start

Ask this Skill to review your Laravel feature, architecture, or bug report and return the best production-ready implementation plan.

Frequently Asked Questions about @tank/laravel-mastery

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

FAQPage Schema
How do I choose between Livewire, Inertia, and Blade for my Laravel application?

Choosing between Livewire, Inertia, and Blade depends on your product needs. This Skill provides frontend stack selection guidance by evaluating your dynamic UI requirements against Laravel conventions to recommend the right auth and frontend integration.

What is the best way to prevent N+1 query problems in Laravel Eloquent?

To prevent N+1 query problems in Laravel Eloquent, apply efficient eager loading patterns. This Skill guides you through optimal relationship definitions, scopes, and query loading strategies to ensure production-ready database performance.

How do I set up reliable testing and deployment pipelines for Laravel 11+?

Setting up reliable testing and deployment pipelines for Laravel 11+ involves applying Pest or PHPUnit, HTTP feature tests, and parallel testing. This Skill outlines safe release practices and deployment strategies for Forge, Vapor, Docker, and Octane.

Does Laravel Sanctum work for SPA authentication and API token management?

Yes, Laravel Sanctum works for SPA authentication and API token management. This Skill helps you select and configure auth stacks like Sanctum, Breeze, Fortify, and Jetstream based on explicit authorization requirements.

Why are my Laravel queued jobs failing silently in production?

Laravel queued jobs failing silently often indicates incorrect queue configuration or missing cache strategies. This Skill troubleshoots queue implementations by applying safe queue and cache strategies aligned with Laravel conventions.

When do I need to use Form Requests and Policies instead of inline validation in Laravel?

You need to use Form Requests and Policies instead of inline validation when building production Laravel apps to ensure explicit validation and authorization. This Skill helps organize routes cleanly and keep controllers thin using proper middleware.