filament-plugin-scaffold

Generate a Filament v3+ plugin scaffold with Plugin class, ServiceProvider, and optional Pest tests.

35|11|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/mwguerra/claude-code-plugins --skill filament-plugin-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: filament-plugin-scaffold
Source: https://github.com/mwguerra/claude-code-plugins/tree/main/laravel-filament-package-development-specialist/skills/filament-plugin
Command: npx skills add https://github.com/mwguerra/claude-code-plugins --skill filament-plugin-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill scaffolds a Filament plugin skeleton (panel or standalone) following Filament's official plugin development guidelines.

Core Features & Use Cases

  • Plugin class implementing Filament's Plugin contract
  • ServiceProvider with resource/page/widget scaffolding
  • Pest testing setup and optional resources/pages/widgets
  • Optional livewire and configuration scaffolding

Quick Start

Scaffold a complete plugin with Pest tests and optional sample Resource.

Frequently Asked Questions about filament-plugin-scaffold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a Filament plugin with boilerplate code?

Scaffold a Filament plugin by generating a complete Plugin class, ServiceProvider, and directory structure. This Skill creates the core boilerplate including composer.json, PSR-4 autoloading, migrations, translations, and optional resources, pages, widgets, and Livewire components in one operation for Laravel projects using Filament v3+.

Can I generate Pest tests automatically when creating a Filament plugin?

Yes, this Skill includes optional Pest testing setup as part of the plugin scaffold. It generates a complete test suite structure alongside your Plugin class and ServiceProvider, enabling immediate test-driven development for your Filament plugin.

What does a Filament plugin scaffold include?

A Filament plugin scaffold includes a Plugin class implementing Filament's Plugin contract, a ServiceProvider with resource and page registration, optional sample Resource, Page, Widget, and Livewire component structures, migrations, translations, composer.json configuration, and Pest tests.

Do I need to manually set up the ServiceProvider when building a Filament plugin?

No, this Skill generates a complete ServiceProvider with scaffolding for resources, pages, and widgets already in place. You use flags to include optional sample components, eliminating manual setup boilerplate for Filament v3+ plugins.

Can I add optional resources and pages to my Filament plugin during scaffolding?

Yes, this Skill provides flags to include optional sample Resource, Page, Widget, and Livewire component structures during scaffolding. This lets you generate a fully featured plugin layout matching your needs without writing repetitive boilerplate.

What's the difference between scaffolding a panel plugin versus a standalone Filament plugin?

This Skill scaffolds both panel and standalone Filament plugins following official guidelines. The core structure—Plugin class, ServiceProvider, and package layout—remains consistent; your choice determines how resources and pages integrate with your Filament admin panel or exist independently.