reuse-filament-resources
Installation
SKILL.md
Reuse Filament Resources
When To Use
Use this skill when a relation manager, page, or secondary admin surface needs the same form or table behavior as a resource.
Inputs Needed
- Resource, related manager, page, duplicated UI, and tests.
Workflow
- Inspect the existing resource form, table, and infolist.
- Identify the shared UI that can be reused directly.
- Delegate to the resource’s form or table methods when the structure is the same.
- Extract shared schema fragments when only part of the UI differs.
- Keep the relation manager or page thin.
- Test the reused behavior from both the resource and the relation manager.