Frameworks
Best PHP Agent Skills
98 PHP skills for AI coding assistants — ranked by popularity.
This curated collection of AI-agent skills provides specialized instruction sets for tools like Claude Code, Cursor, and Codex, designed specifically for PHP development. These skill files act as behavioral blueprints, forcing your AI to adhere to exact standards when building or debugging. Whether you are generating reactive Livewire 4 components, building secure WordPress plugins, or ensuring Laravel code follows strict architectural patterns, these skills remove ambiguity. This library is for PHP developers who want to move beyond generic code generation toward production-ready results. You will find modules for PSR standards, automated testing with wp-testing-core, and high-performance coding techniques using modern OOP features. Each file integrates into your existing agentic workflow to ensure your assistant writes idiomatic, tested, and maintainable PHP, reducing the manual correction time required after AI-assisted sessions.
Top PHP skills
wp-testing-core
mikkelkrogsholm
Core WordPress testing procedures and patterns for browser-based plugin testing. Use when testing WordPress plugins, logging into WordPress admin, verifying plugin activation, or navigating WordPress UI.
livewire-development
spatie
Develops reactive Livewire 4 components. Activates when creating, updating, or modifying Livewire components; working with wire:model, wire:click, wire:loading, or any wire: directives; adding real-time updates, loading states, or reactivity; debugging component behavior; writing Livewire tests; or when the user mentions Livewire, component, counter, or reactive UI.
php-best-practices
HoangNguyen0403
PHP best practices, PSR standards, and code quality guidelines.
woocommerce-code-review
woocommerce
Review WooCommerce code changes for coding standards compliance. Use when reviewing code locally, performing automated PR reviews, or checking code quality.
laravel-pdf
spatie
Generate PDFs from Blade views or HTML using spatie/laravel-pdf. Covers creating, formatting, saving, downloading, and testing PDFs with the Browsershot, Cloudflare, or DOMPDF driver.
php-pro
sickn33
Write idiomatic PHP code with generators, iterators, SPL data structures, and modern OOP features. Use PROACTIVELY for high-performance PHP applications.
laravel-architecture
HoangNguyen0403
Core architectural standards for scalable Laravel applications.
php-guidelines-from-spatie
freekmurze
Describes PHP and Laravel guidelines provided by Spatie. These rules result in more maintainable, and readable code.
woocommerce-backend-dev
woocommerce
Add or modify WooCommerce backend PHP code following project conventions. Use when creating new classes, methods, hooks, or modifying existing backend code. **MUST be invoked before writing any PHP unit tests.**
php-testing
HoangNguyen0403
Unit and integration testing standards for PHP applications.
laravel-specialist
Jeffallan
Use when building Laravel 10+ applications requiring Eloquent ORM, API resources, or queue systems. Invoke for Laravel models, Livewire components, Sanctum authentication, Horizon queues.
woocommerce-dev-cycle
woocommerce
Run tests, linting, and quality checks for WooCommerce development. Use when running tests, fixing code style, or following the development workflow.
woocommerce-email-editor
woocommerce
Setup and develop the WooCommerce block email editor. Use when working on email templates, transactional emails, or the email editor feature.
pennant-development
laravel
Manages feature flags with Laravel Pennant. Activates when creating, checking, or toggling feature flags; showing or hiding features conditionally; implementing A/B testing; working with @feature directive; or when the user mentions feature flags, feature toggles, Pennant, conditional features, rollouts, or gradually enabling features.
ccxt-php
ccxt
CCXT cryptocurrency exchange library for PHP developers. Covers both REST API (standard) and WebSocket API (real-time). Helps install CCXT, connect to exchanges, fetch market data, place orders, stream live tickers/orderbooks, handle authentication, and manage errors in PHP 8.1+. Use when working with crypto exchanges in PHP projects, trading bots, or web applications. Supports both sync and async (ReactPHP) usage.
developing-shopper
shopperlabs
Provides coding standards and patterns for Laravel Shopper development. Use when creating or modifying Models, Actions, Enums, Livewire components, migrations, or tests in any Shopper package.
pest-testing
spatie
Tests applications using the Pest 4 PHP framework. Activates when writing tests, creating unit or feature tests, adding assertions, testing Livewire components, browser testing, debugging test failures, working with datasets or mocking; or when the user mentions test, spec, TDD, expects, assertion, coverage, or needs to verify functionality works.
wordpress-org-compliance
bonny
Ensures WordPress.org compliance for freemium plugins (free vs premium features, license keys, trial limits, upselling). Prevents trialware violations. Use when adding premium features, implementing upsells, checking license keys, creating teasers, reviewing code before WordPress.org submission, or when the user mentions "premium", "upsell", or "freemium".
developing-with-turbo-streams
hotwired-laravel
Basics of developing with Turbo Streams in web applications. Activate when working on projects that utilize Turbo Streams for enhancing user experience through real-time updates, dynamic content changes, and partial page updates without full reloads.
export
JaguarJack
Generate Excel export class for CatchAdmin module.
write-script-php
windmill-labs
MUST use when writing PHP scripts.
developing-with-turbo-frames
hotwired-laravel
Basics of developing with Turbo Frames in web applications. Activate when working on projects that utilize Turbo Frames for enhancing user experience through partial page updates, scoped navigation, and lazy loading of content within specific sections of a web page.
endpoint-validator
mikopbx
Валидация REST API эндпоинтов на соответствие OpenAPI схеме и консистентность параметров. Использовать при реализации эндпоинтов, ревью кода или перед слиянием изменений API.
extending-shopper
shopperlabs
Provides patterns for extending Laravel Shopper with custom sidebar items, component overrides, event listeners, and domain features like stock, pricing, and media. Use when customizing Shopper behavior.
How to choose a PHP skill
Select a skill based on the specific architectural layer of your project. If you are working within the WordPress ecosystem, prioritize the plugin core and testing modules. For Laravel-based projects, choose between architectural standards or specialized tools like PDF generation. Always examine the maintainer and the scope of the instruction file. High-quality skills provide clear, actionable constraints rather than vague suggestions. Prioritize skills that mention specific dependencies, like spatie packages, to ensure the generated code aligns with your installed library versions.