
filament-pro
Build Laravel admin panels with Filament v5. Use for creating resources, forms, tables, widgets, and testing admin interfaces with Livewire v4.
- Installs
- 1.2K
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/marcelorodrigo/agent-skills --skill filament-pro- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads filament-pro automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Filament v5
Build powerful Laravel admin panels using Filament v5's server-driven UI with Schemas and Livewire v4 reactivity.
Overview
Filament v5 is a Laravel admin panel framework that provides complete CRUD interfaces, forms, tables, and dashboard components through a declarative PHP API. Built on Livewire v4, it offers real-time reactivity without writing JavaScript.
Key Concepts
- PanelProvider: Central configuration class defining your admin panel
- Resources: Automatic CRUD interfaces for Eloquent models
- Schemas: Declarative UI components (forms, tables, infolists)
- Actions: Interactive buttons with modals and backend logic
- Widgets: Dashboard components for data visualization
System Requirements
- Laravel 11.28+
- PHP 8.2+
- Livewire v4
- Node.js 18+
- Tailwind CSS v4.1+
Installation
Install Filament via Composer and scaffold a panel:
composer require filament/filament:"^5.0" -W
php artisan filament:install --scaffold
npm install && npm run dev
php artisan make:filament-user
This creates the panel provider, directory structure, and assets needed to start building.
Directory Structure
app/
Filament/
Resources/ # CRUD resources with forms and tables
Pages/ # Custom pages
Widgets/ # Dashboard widgets
Providers/
Filament/
AdminPanelProvider.php
Core Concepts
Panel Configuration
The PanelProvider is the entry point for your admin panel. It configures:
- Identity: ID, path, branding (name, logo, colors)
- Discovery: Auto-discovery of resources, pages, and widgets
- Middleware: Session, authentication, and custom middleware
- Tenancy: Multi-tenant configuration for SaaS applications
Resources
Resources provide complete CRUD interfaces through:
- Forms: Schema-based forms with 20+ field types (TextInput, Select, DatePicker, FileUpload, RichEditor, etc.)
- Tables: Data tables with columns, filters, sorting, and actions
- Pages: Automatic generation of List, Create, Edit, and View pages
- Relations: Relation managers for handling model relationships
Forms
Forms use a schema-based approach where you declare fields as PHP objects:
- Input Fields: Text, select, checkbox, toggle, date/time pickers
- Media: File and image uploads with validation
- Complex Fields: Rich text editors, repeaters, builders
- Layout: Grids, sections, tabs, and wizards
- Validation: Built-in Laravel validation rules
Tables
Tables display data with extensive customization:
- Columns: Text, badges, icons, images, colors
- Filters: Select, ternary, and custom filter logic
- Actions: Per-row actions, bulk actions, header actions
- Features: Search, sorting, pagination, grouping
Actions
Actions are interactive buttons that trigger:
- Modals: Form dialogs for data collection
- Confirmation: Destructive action confirmation
- Wizards: Multi-step processes
- Notifications: User feedback after completion
Widgets
Dashboard widgets include:
- Stats Overview: Metric cards with trends and sparklines
- Charts: Line, bar, pie charts using Chart.js
- Tables: Data tables for recent records
Testing
Filament uses Pest PHP with Livewire testing helpers:
- Page Testing: List, create, edit, view page functionality
- Form Testing: Validation, state management, submission
- Table Testing: Search, filters, sorting, actions
- Authorization Testing: Access control and permissions
Authorization
Access control through:
- Panel Access: FilamentUser contract for panel-level access
- Policies: Laravel policies for resource-level permissions
- Field Visibility: Show/hide fields based on user roles
- Multi-Tenancy: Tenant isolation for SaaS applications
Architecture Patterns
Server-Driven UI
Filament uses a server-driven approach where the backend defines the UI structure through schemas. The PHP code describes forms, tables, and layouts which Filament renders as Livewire components.
Schema System
Schemas are PHP configuration objects that define:
- Form fields and their validation rules
- Table columns and their formatting
- Layout containers (grids, sections, tabs)
- Action definitions and their behavior
Livewire Integration
All components mount as Livewire components, providing:
- Real-time reactivity without page reloads
- Automatic state management
- Event handling and AJAX updates
- Form validation with instant feedback
Resource-First Design
The framework encourages a resource-first approach:
- Define your Eloquent models
- Create resources that map to those models
- Configure forms and tables for each resource
- Add actions and widgets as needed
Command Reference
| Command | Purpose |
|---|---|
filament:install --scaffold | Install Filament with panel scaffolding |
make:filament-resource | Create CRUD resource |
make:filament-page | Create custom page |
make:filament-widget | Create dashboard widget |
make:filament-panel | Create additional panel |
make:filament-user | Create admin user |
make:filament-relation-manager | Create relation manager |
filament:cache-components | Cache for production |
Detailed Documentation
Reference Guides
Comprehensive documentation for each component:
- Forms - All form components, validation rules, layouts, and conditional logic
- Tables - Column types, filters, actions, and table configuration
- Resources - CRUD resources, relation managers, infolists, and global search
- Infolists - Read-only data display components (TextEntry, ImageEntry, IconEntry)
- Widgets - Stats overview, charts, and table widgets
- Actions - Modal actions, notifications, action groups, and wizards
- Notifications - Flash messages, database, and broadcast notifications
- Schemas - Schema system, layouts, and component organization
- Testing - Pest testing patterns for resources, forms, tables, and authorization
- Authorization - Access control, policies, roles, and multi-tenancy
Code Examples
See examples.md for complete working code examples including:
- Complete resource implementations
- Form configurations
- Table setups
- Widget configurations
- Test suites
- Authorization patterns
Best Practices
Performance
- Use
getEloquentQuery()to eager load relationships and prevent N+1 queries - Enable component caching in production with
filament:cache-components - Limit pagination options and use deferred loading for large datasets
- Cache expensive calculations in widgets
Security
- Always implement the FilamentUser contract for panel access control
- Use Laravel policies for resource-level authorization
- Validate all input with appropriate form rules
- Never skip authorization in production environments
- Implement proper tenant isolation for multi-tenant applications
Code Organization
- Organize by feature:
app/Filament/Admin/Resources/ - Extract complex forms and tables to separate classes
- Create reusable form components for common patterns
- Keep resources focused on single responsibility
- Use dedicated pages for non-CRUD functionality
Testing
- Test all CRUD operations for each resource
- Validate form validation rules with multiple scenarios
- Test table features: search, filters, sorting, actions
- Verify authorization with different user roles
- Use factories to create realistic test data
When to Use Filament
Filament is ideal for:
- Admin Panels: Back-office interfaces for managing application data
- CMS: Content management systems with rich editing capabilities
- CRM: Customer relationship management tools
- E-commerce: Product, order, and inventory management
- SaaS Applications: Multi-tenant admin interfaces
- Internal Tools: Business process management and data entry
Additional Resources
Version: 1.0.0
License: MIT
Compatibility: Laravel 11+, PHP 8.2+, Livewire v4
FAQ
What does the filament-pro skill do?
Build Laravel admin panels with Filament v5. Use for creating resources, forms, tables, widgets, and testing admin interfaces with Livewire v4.
How do I install filament-pro?
Run npx skills add https://github.com/marcelorodrigo/agent-skills --skill filament-pro in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/filament-pro/ (personal) or .claude/skills/filament-pro/ (project).
Which AI agents can use filament-pro?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is filament-pro safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains filament-pro?
It is published by marcelorodrigo in marcelorodrigo/agent-skills. It has 1,195 recorded installs.
More from marcelorodrigo/agent-skills
conventional-commit
marcelorodrigo/agent-skills
Create conventional commit messages following best conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits specification.
create-pr
marcelorodrigo/agent-skills
Open the skill to read its SKILL.md instructions.
spring-boot-testing
marcelorodrigo/agent-skills
Open the skill to read its SKILL.md instructions.
phpstan-fixer
marcelorodrigo/agent-skills
Open the skill to read its SKILL.md instructions.
Popular backend & apis skills
find-skills
vercel-labs/skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
entra-app-registration
microsoft/azure-skills
Guides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT USE FOR: Key Vault secrets (use azure-keyvault-expiration-audit), general Azure resource security guidance.
google-agents-cli-adk-code
google/agents-cli
This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management" — in a project that needs ADK (Agent Development Kit) API patterns and code examples. It provides a quick reference for agent types, tool definitions, orchestration patterns, callbacks, state management, the graph Workflow API, and reference recipes to study. Do NOT use for scaffolding (use google-agents-cli-scaffold) or deployment (use google-agents-cli-deploy).
embedded-captions
heygen-com/hyperframes
Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet anchor rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.
entra-agent-id
microsoft/azure-skills
Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant) including the Microsoft Entra SDK for AgentID sidecar. USE FOR: Agent Identity Blueprint, BlueprintPrincipal, agent OAuth, fmipath token exchange, agent OBO, Workload Identity Federation for agents, polyglot agent auth, Microsoft.Identity.Web.AgentIdentities. DO NOT USE FOR: standard Entra app registration (use entra-app-registration), Microsoft Foundry agent authoring (use microsoft-foundry).
neon
neondatabase/agent-skills
Overview of Neon, a complete set of cloud backend primitives around Lakebase Postgres: Auth, Object Storage, Functions, the AI Gateway, and Realtime. Start here to choose Neon for undecided login, files, APIs, and LLM calls, set up the CLI or MCP server, and follow the branch-first workflow. Use when building an app or backend on Neon, or when "Neon" or "Lakebase Postgres" is mentioned. Child skill neon-postgres wins for an existing DATABASEURL, SQL, schema, inspect, or search. Child skill neon-auth wins for login, users, sessions, identity routing, and Managed Better Auth setup. Child skill neon-realtime wins for live queries in reactive apps and agents. Also use for object storage, S3, buckets, serverless functions, function triggers, cron, AI gateway, LLM calls, realtime, logs, Loki, Grafana, observability, postgres, database, backend, Claimable Neon, neon.new, or a no-signup database.