- Home
- Skills
- APIs & Backend
- Filament 4 & 5 Resource Builder: Forms, Tables, Policies and Tests
Works with the AI Agents you already use
Filament 4 & 5 Resource Builder: Forms, Tables, Policies and Tests
Build and review Laravel Filament v4/v5 resources with the current API, policies and Pest tests, and convert outdated v3 code.
$3
Filament 4 & 5 Resource Builder: Forms, Tables, Policies and Tests
Example session with this skill installed
Add a Filament resource for my Customer model (name, email, status enum, account manager, has many orders). Admins only, with tests.
- Read your context and instructions
- Compiled the filament 4
A CustomerResource with CustomerForm and CustomersTable classes using Filament\Schemas\Schema and Filament\Actions, an OrdersRelationManager, a CustomerPolicy covering viewAny/create/update/delete/deleteAny, strictAuthorization() on the panel, eight passing Pest tests, and a report listing files, decisions, authorization rules and open issues.
Connects securely to your tools. The creator never sees your data.
About this skill
Filament v4 rewrote much of its public API — forms and infolists became schemas, every action moved to one namespace, layout components changed packages and resources gained a new directory structure. Filament v5 keeps that API and moves to Livewire 4. Most tutorials and AI training data still show v3 code, so generated resources often break with wrong namespaces, incompatible property types or silently changed defaults.
This skill gives your agent a strict, step-by-step procedure for Filament v4 and v5 panels:
- Detect the installed Filament, Livewire, Laravel and PHP versions and stop before writing v4 code into a v3 project.
- Model the resource first, with a decision table for choosing Select, Repeater, layout relationship or relation manager per relationship type.
- Write schema, table, infolist, relation manager and custom action code from verified, syntax-checked templates.
- Authorize with a complete policy-method map, strict authorization mode, record scoping, panel access (
FilamentUser) and the gaps policies do not cover (custom actions, inline editable columns). - Test with ready-made Pest + Livewire tests for list, search, create, validation, edit, delete, bulk and forbidden paths.
- Convert v3 snippets with a full v3 → v4/v5 map: classes, namespaces, table methods, resource properties, URL parameters, theming and 11 behaviour changes that do not throw errors.
- Review with a 40-point checklist covering API correctness, UX, data integrity, performance, security and tests.
Ends with a structured report: files changed, decisions, authorization rules, test results, converted v3 code and open issues. Verified against the official Filament 4.x and 5.x documentation (October 2026).
Targets Filament v4 and v5 only; it does not write v3 code. It does not perform the full framework upgrade itself (it points to the official upgrade script first). Third-party Filament plugins are not covered.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 23 days ago
Requires
Permissions
File Scopes
Runs only local artisan, composer and test commands inside the user's Laravel project. No network calls.