Write focused controller tests using HTTP assertions; keep heavy logic in Actions/Services and unit test them
Skills in this repository
jpcaparas/superpowers-laravel - Page 2
SkillsMP has collected 57 skills from jpcaparas/superpowers-laravel. Open a skill to review its source and details.
jpcaparas/superpowers-laravelShowing 17 of 57 collected skills.
Create and register small, pure helper functions when they improve clarity; keep them organized and tested
Remove unneeded Composer packages and assets to improve boot time, memory, and security surface
Generic E2E patterns with Playwright—state setup, seeds, test IDs, auth, environment, and Sail integration
Execute Laravel plans in small batches with checkpoints—TDD first, migrations safe, queues verified, and quality gates enforced
Operate Horizon with confidence—naming, tags, concurrency, failure handling, actionable metrics, and dashboards
Use interfaces and dependency injection to decouple code; bind implementations in the container
Consistent Nova resources—fields, actions, metrics, lenses, filters, authorization—and how to evolve resources alongside schema changes
Prevent N+1 queries by eager loading; enable lazy-loading protection in non-production; choose selective fields
Select only required columns to reduce memory and transfer costs; apply to base queries and relations
Use hexagonal architecture for external systems; define ports (interfaces) and per-provider adapters; select adapter at composition edge
Choose Sail automatically when available, fall back cleanly to host PHP/Composer/Node; paired command map for both environments
Use the Strategy pattern to select behavior at runtime; bind multiple implementations to a shared interface
Apply RED-GREEN-REFACTOR with Pest or PHPUnit; use factories, feature tests for HTTP, and parallel test runners; verify failures before implementation
Stabilize workflows with Template Method or Strategy; extend by adding new classes instead of editing core logic
Read first in Laravel repos; explains runner selection (Sail vs non-Sail), core workflows, and how to apply superpowers skills in Laravel projects without platform lock-in
Create an actionable Laravel implementation plan—bite-sized tasks with TDD-first steps, migrations, services, jobs, and validation points