Blueprint
A Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans for Filament.
Latest release
v2.4.2
Compatibility
composer require filament/blueprint
Find more Filament plugins
Filament Blueprint
A Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans for Filament.
You can find out more about AI-assisted development with Blueprint in our documentation.
Setup
First, install Blueprint using Composer:
composer config repositories.filament composer https://packages.filamentphp.com/composer
composer config --auth http-basic.packages.filamentphp.com "YOUR_EMAIL_ADDRESS" "YOUR_LICENSE_KEY"
composer require filament/blueprint --dev
Then run the Boost installer, enable Agent Skills, and select filament/blueprint when prompted:
php artisan boost:install
To verify installation, check your agent's skills directory for
planning-filament/SKILL.md, reviewing-filament-plans/SKILL.md, and
filament-security-audit/SKILL.md.
Usage
Writing a Blueprint
- Enable planning mode in your AI agent (Claude Code, Cursor, etc.)
- Ask the agent to use the
planning-filamentskill
Example prompt:
Using the planning-filament skill, create a Filament Blueprint for an order
management system. Write the plan as Markdown to blueprints/orders.md.
Orders belong to customers and have many order items. Each order has a status
(pending, confirmed, shipped, delivered, cancelled), shipping address, and
optional notes. Order items reference products with quantity and unit price.
I need to search orders by customer name and filter by status and date range.
The order form should calculate line totals automatically as items are added.
Only admins can delete orders, and orders can only be cancelled if not yet shipped.
The agent will produce a detailed specification document ready for direct implementation, no guessing required.
Implementing a Blueprint
After reviewing the plan, switch out of planning mode and give the implementing agent the saved Blueprint and access to your application checkout.
Example prompt:
Implement blueprints/orders.md in this application checkout. Follow the plan
and run the relevant tests. Report what was implemented and any checks that
could not be completed.
Reviewing an implementation against a Blueprint
After implementation, use reviewing-filament-plans with the same saved
Blueprint and application checkout to check whether the implementation satisfies
the plan.
Example prompt:
Using the reviewing-filament-plans skill, review the implementation in
this checkout against blueprints/orders.md, including the current uncommitted
changes.
Report requirement traceability, confirmed deviations, and anything blocked
or not verified. Do not change application code.
The report traces plan requirements to code and test evidence using Conforms, Deviates, Blocked, and Not verified. It distinguishes inspected code and test assertions from executed tests or browser checks, and recommends the smallest correction and verification for each confirmed deviation. Existing focused tests run only when an isolated, safe harness is established.
This is a plan-conformance review, not a second planning pass or a general security audit. It does not invent requirements omitted from the Blueprint or treat omissions in an update plan as deletions.
Running a security audit
Blueprint also ships a Filament Security Audit skill that scans a Filament codebase against a catalogue of known security misconfigurations (authorization, file uploads, XSS, query scoping, dependency CVEs, etc.) and writes a per-finding remediation plan — every entry names the exact file, component namespace, docs URL, and pasteable fix so an implementing agent can apply it without guessing.
Naming the skill explicitly in your prompt is the most reliable way to invoke it. The skill also responds to the keywords security-audit, security-review, harden, and pen-test when paired with a target like a panel, resource, page, or Livewire component.
Example prompt:
Using the filament-security-audit skill, audit the admin panel and write
the remediation plan to SECURITY_AUDIT.md.
The agent will produce a Markdown report grouped by finding category, plus a
table of every check performed (Finding / Pass / N/A) and recommended
tests for each confirmed issue.
Recent releases
-
v2.4.2
What's Changed
- Updated import-column mapping and custom-filter examples to use current APIs.
- Fixed settings-page and resource-widget commands, widget record handling, pagination, and polling guidance.
- Corrected nested-field validation, layout sizing, enum labels, wizard validation, and record-bound header-action guidance.
- Clarified ownership and tenant query scoping, built-in bulk-action policies, and custom bulk-action authorization.
- Corrected security-audit criteria for authorization, upload disks, query filters, sensitive-data exposure, and tenant-scoped validation.
- Replaced unsafe directory-prefix attachment authorization examples with strict trusted-path checks.
-
v1.4.2
What's Changed
- Updated import-column mapping and custom-filter examples to use current APIs.
- Fixed settings-page and resource-widget commands, widget record handling, pagination, and polling guidance.
- Corrected nested-field validation, layout sizing, enum labels, wizard validation, and record-bound header-action guidance.
- Clarified ownership and tenant query scoping, built-in bulk-action policies, and custom bulk-action authorization.
- Corrected security-audit criteria for authorization, upload disks, query filters, sensitive-data exposure, and tenant-scoped validation.
- Replaced unsafe directory-prefix attachment authorization examples with strict trusted-path checks.
-
v2.4.1
What's Changed
- Corrected planning examples for bulk actions, polymorphic selects, imports, table widgets, and unique validation.
- Corrected tenant-scoped validation and guidance for removing global scopes without losing tenant isolation.
- Clarified toolbar action grouping, section layouts, and the use of current, non-deprecated APIs.
- Fixed security audit guidance for rich-editor attachment IDs, upload validation, and filename storage.
- Clarified custom-block HTML sanitization and the need to sanitize user-controlled URLs in previews and final output.
-
v1.4.1
What's Changed
- Corrected planning examples for bulk actions, polymorphic selects, imports, table widgets, and unique validation.
- Corrected tenant-scoped validation and guidance for removing global scopes without losing tenant isolation.
- Clarified toolbar action grouping, section layouts, and the use of current, non-deprecated APIs.
- Fixed security audit guidance for rich-editor attachment IDs, upload validation, and filename storage.
- Clarified custom-block HTML sanitization and the need to sanitize user-controlled URLs in previews and final output.
-
v2.4.0
New Features
- Introduced a new
reviewing-filament-plansskill for developers to check implementations against their Filament Blueprints.
What's Changed
- Improved planning guidance for lifecycle consistency, installed framework APIs, and test coverage.
- Corrected the repeater action testing helper.
- Added examples for saving, implementing, and reviewing a Blueprint.
- Removed outdated version references from the planning and security audit guidance.
- Introduced a new
-
+ 15 more releases