Back to list
iurygdeoliveira

scaffold-filament-page

by iurygdeoliveira

Repositorio destinado a fornecer um kit inicial para desenvolvimento de SaaS usando laravel e filament

29🍴 12📅 Jan 20, 2026

SKILL.md


name: scaffold-filament-page description: Guidelines for creating Custom Filament Pages (independent of Resources) with Navigation Grouping.

Scaffold Filament Page

Use this skill when you need a dashboard, settings page, or report view that is NOT attached to a specific Model Resource.

Context

Custom pages are useful for "dashboard" like views, settings, or tools that don't map 1:1 to a database record.

Tools

  • scaffold-filament-resource: Use that skill if the page IS attached to a model.

Rules

1. Navigation Grouping

  • Always define protected static ?string $navigationGroup = 'Settings'; (or appropriate group).
  • Use protected static ?int $navigationSort to order items.

2. View Construction

  • Use standard Filament widgets or Blade components within the view().
  • If custom HTML is needed, use standard Tailwind classes (v4).

3. Authorization

  • Add mount() check using abort_unless(auth()->user()->can('view_page'), 403); or similar Policy check.

4. Title & Breadcrumbs

  • Customize title: protected static ?string $title = 'Custom Title';

Workflow

  1. Check for Clusters: Ask if this page belongs to an existing Cluster (e.g., Settings).
  2. Create Page: php artisan make:filament-page [PageName] --cluster=[ClusterName]
  3. Define Cluster/Group: If not using clusters, use $navigationGroup.

Score

Total Score

80/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon