A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
Filament PHP v5 coding standards agent skill. Resources, forms, tables, multi-tenancy, testing, and 18 areas covered. Wo
Professional coding standards for building production-grade Filament PHP v5 admin panels. Covers resources, forms, tables, infolists, actions, widgets, multi-tenancy, testing, authorization, custom pages, plugins, and deployment.
This is an agent skill that works with Claude Code, Cursor, Cline, Gemini CLI and 40+ other AI coding agents. Once installed, your agent will follow these standards automatically when writing Filament code.
npx skills add olakunlevpn/olakunlevpn-filament-skills
That's it. The skill is now active for all your Filament projects.
The skill auto-triggers when your agent detects Filament work. You can also invoke it directly:
Create a resource with delegation pattern:
Create a ProductResource with extracted Schema and Table classes, domain-grouped under Shop
Build a form schema:
Create a form schema for Orders with line items repeater, customer select, and status enum
Design a table:
Create a products table with search, filters, toggleable columns, and ActionGroup
Write an enum:
Create an OrderStatus enum implementing HasLabel, HasColor, and HasIcon
Set up multi-tenancy:
Configure multi-tenancy with Team model, slug-based routing, and tenant-scoped selects
Write tests:
Write Pest tests for the ProductResource covering list, create, edit, delete, and relation managers
Create a widget:
Create a StatsOverview widget showing order count, revenue, and pending orders with charts
Set up custom pages with clusters:
Create a Settings cluster with Branding and Notifications sub-pages
Production deployment:
Set up the production panel configuration with SPA mode, optimize commands, and deployment script
Your agent writes Filament v5 code that follows these conventions:
Resources delegate to dedicated Schema and Table classes:
class ProductResource extends Resource
{
public static function form(Schema $schema): Schema
{
return ProductSchema::configure($schema);
}
public static function table(Table $table): Table
{
return ProductsTable::configure($table);
}
}
Enums implement all three Filament contracts:
enum OrderStatus: string implements HasLabel, HasColor, HasIcon
{
case Pending = 'pending';
case Processing = 'processing';
case Delivered = 'delivered';
public function getColor(): string
{
return match ($this) {
self::Pending => 'warning',
self::Processing => 'info',
self::Delivered => 'success',
};
}
}
Tables use v5 method names:
$table
->recordActions([
ActionGroup::make([ViewAction::make(), EditAction::make(), DeleteAction::make()]),
])
->groupedBulkActions([DeleteBulkAction::make()])
->toolbarActions([CreateAction::make()]);
Tests use Livewire with Filament helpers:
it('can create a product', function () {
livewire(CreateProduct::class)
->fillForm(['name' => 'Widget', 'price' => 1999])
->call('create')
->assertHasNoFormErrors()
->assertNotified();
});
18 areas of Filament v5 development:
Before submitting any Filament code:
$recordTitleAttribute set on every resourceHeroicon:: enum for all icons, Outlined for navigationFilament\Actions\* namespacerecordActions(), groupedBulkActions(), toolbarActions()FilamentUser interface implementedfilament:optimize in production deploySKILL.md # Main skill file (loaded by AI agents)
REFERENCE.md # Detailed code examples for every pattern
Found a pattern that should be included? Open an issue or submit a pull request.
The MIT License (MIT). Please see License File for more information.
1000+ skills curated from Anthropic, Vercel, Stripe, and other engineering teams
Claude Code skill for YouTube creators — channel audits, video SEO, retention scripts, thumbnails, content strategy, Sho
Design enforcement with memory — keeps your UI consistent across a project
AI image generation skill for Claude Code -- Creative Director powered by Gemini