Skip to main content
skill CX Codex

resource — Claude Code skill for FilamentPHP resources

Generate FilamentPHP v4 resources with forms, tables, pages, and relation managers. Use it when adding model management to a Filament panel.

no license 218 installs ★ 35 updated 2026-04-28

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add mwguerra/claude-code-plugins --skill resource -a claude-code
Open on GitHub

What resource does

The skill builds a FilamentPHP v4 resource around a project model. It gathers the model, field, relationship, action, and authorization requirements, then prepares the form and table structure, resource pages, and relation managers. Decide what the resource should manage first; that information shapes the generated result.

It uses php artisan make:filament-resource with options such as --generate, --soft-deletes, and --simple. A separate Artisan command creates relation managers. The workflow consults Filament references for resources, forms, and tables. Its output includes a resource class, page files, relation managers, and a test at tests/Feature/Filament/ModelResourceTest.php. The project needs Laravel and FilamentPHP v4.

What it helps with

  • create a FilamentPHP resource for a model
  • define form fields for a resource
  • configure table columns, filters, and actions
  • manage related records from a resource
  • add authorization checks to resource pages

Example prompts for the agent

  • Create a FilamentPHP v4 resource for the Product model with a form, table, and pages.
  • Add a relation manager for comments and tags to the Post resource.
  • Configure the orders table with name search, date sorting, and a status filter.

How to install resource

1Skills CLI (Vercel)

npx skills add mwguerra/claude-code-plugins --skill resource -a claude-code

2Manually: put the files in place

~/.claude/skills/resource/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/resource/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about resource

How do I install resource in Claude Code?

Run npx skills add mwguerra/claude-code-plugins --skill resource -a claude-code. The skill file is at ~/.claude/skills/resource/SKILL.md.

What does the resource skill do?

It generates FilamentPHP v4 resources with forms, tables, pages, and relation managers. The workflow also covers actions and authorization.

What files does resource generate?

It produces a resource class, page files, relation managers, and a test at tests/Feature/Filament/ModelResourceTest.php.

Similar skills

All skills for Backend and APIs →

Project sponsors

Companies that keep this analytics open