Loading...
Loading...
Found 174 Skills
Create and register small, pure helper functions when they improve clarity; keep them organized and tested
Provide concrete examples—existing code patterns, style samples, input/output pairs—to guide AI toward your project's conventions
Replace hardcoded values with constants, enums, and configuration for maintainability; use PHP 8.1+ enums and config files
Write focused controller tests using HTTP assertions; keep heavy logic in Actions/Services and unit test them
Keep cyclomatic complexity low; flatten control flow, extract helpers, and prefer table-driven/strategy patterns over large switches
Use hexagonal architecture for external systems; define ports (interfaces) and per-provider adapters; select adapter at composition edge
Refine AI-generated code through specific feedback—point out errors, identify gaps, show desired changes, reference style guides
Stabilize workflows with Template Method or Strategy; extend by adding new classes instead of editing core logic
Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invoke for strict typing, PHPStan level 9, async patterns with Swoole, PSR standards.
Build Laravel admin panels with Filament v5. Use for creating resources, forms, tables, widgets, and testing admin interfaces with Livewire v4.
Describes PHP and Laravel guidelines provided by Spatie. These rules result in more maintainable, and readable code.
Full Sentry SDK setup for PHP. Use when asked to "add Sentry to PHP", "install sentry/sentry", "setup Sentry in PHP", or configure error monitoring, tracing, profiling, logging, metrics, or crons for PHP applications. Supports plain PHP, Laravel, and Symfony.