Loading...
Loading...
Found 1,718 Skills
Expert error handling decisions for iOS/tvOS: when to use throws vs Result, error type design trade-offs, recovery strategy selection, and user-facing error presentation patterns. Use when designing error hierarchies, implementing retry logic, or deciding how to surface errors to users. Trigger keywords: Error, throws, Result, LocalizedError, retry, recovery, error presentation, do-catch, try, error handling, failure
Enforce access via Policies and Gates; use authorize() and authorizeResource() to standardize controller protections
Operate and verify queues with or without Horizon; safe worker flags, failure handling, and test strategies
Reduce controller bloat using Form Requests for auth/validation, small Actions/Services with DTOs, and resource/single-action controllers
Safe database change patterns; when to modify vs add migrations; always pair models with migrations and factories; seeding guidance
Write focused controller tests using HTTP assertions; keep heavy logic in Actions/Services and unit test them
Define clear relationships and load data efficiently; prevent N+1, use constraints, counts/sums, and pivot syncing safely
Prevent N+1 queries by eager loading; enable lazy-loading protection in non-production; choose selective fields
Wrap multi-write operations in transactions; use dispatchAfterCommit and idempotency patterns to ensure consistency
Apply RED-GREEN-REFACTOR with Pest or PHPUnit; use factories, feature tests for HTTP, and parallel test runners; verify failures before implementation
Schedule tasks with safety; use withoutOverlapping, onOneServer, and visibility settings for reliable cron execution
Generic E2E patterns with Playwright—state setup, seeds, test IDs, auth, environment, and Sail integration