Filament PHP v5 Coding Standards

Enforces correct Filament v5 API (recordActions, Heroicon enum, Operation enum) over stale v3/v4 patterns.

av olakunlevpn · olakunlevpn/olakunlevpn-filament-skills

Testad · Fungerar ★ 9.6/10

Filament PHP v5 Coding Standards — Enforces correct Filament v5 API (recordActions, Heroicon enum, Operation enum) over stale v3/v4 patterns.

Vad den gör

A single-file coding-standards reference for Filament PHP v5 admin panels covering resources, forms, tables, infolists, actions, widgets, multi-tenancy, testing, and deployment across 18 numbered sections. Triggers on any request to write, review, or refactor Filament code, and its main value is pinning the agent to v5-only method names and conventions that differ from the still-common v3/v4 patterns baked into most LLM training data.

Testrapport

Verified via live web search that the v5-specific API this skill enforces (recordActions()/groupedBulkActions() instead of the old actions()/bulkActions(), the Heroicon:: enum, HasLabel/HasColor/HasIcon) is real and current - a baseline answer without the skill defaults to deprecated v3/v4 Filament\Tables\Actions imports and string icon names, which the skill's checklist explicitly forbids.

Testad: 2026-07-16 · Claude Code 2.x (agent harness)

Installation

git clone https://github.com/olakunlevpn/olakunlevpn-filament-skills.git
mkdir -p ~/.claude/skills
cp -r olakunlevpn-filament-skills ~/.claude/skills/olakunlevpn-filament-skills

Kommandon och exempelprompter

  • /olakunlevpn-filament-skillsEnforces correct Filament v5 API (recordActions, Heroicon enum, Operation enum) over stale v3/v4 patterns.

Skills triggas av vanliga förfrågningar — inga kommandon att memorera. Efter installationen aktiverar prompter som dessa skillen (på engelska):

  • review this Filament resource for outdated v3 action syntax
  • write a Filament v5 table with grouped bulk actions and Heroicons
  • refactor my admin panel widgets to use the new Filament API