This repository contains a custom skill designed for developers using Antigravity to write Laravel code with Filament.
Currently, Antigravity defaults to Filament v3 context generation. It does not natively support Filament v4 or Filament v5, despite v4 having been released for quite some time.
As a result, generating code for a standard modern Laravel/Filament installation often results in deprecated code, breaking changes, and immediate errors when using models like Gemini or Claude v3.
This skill acts as a compatibility bridge. It alleviates the pain of fixing the hallucinations and errors produced by the default v3 context.
Since Filament version 5 introduced no breaking changes from version 4, this skill should also work for Filament version 5.
- Active Maintenance: This skill is tested and modified regularly.
- Error Correction: It specifically targets known breaking changes between v3 and v4 that are commonly violated by AI models.
To install this as a global skill in Antigravity, place the SKILL.md file from this repository into the following directory on your machine:
.gemini/antigravity/skills/filament-v4/SKILL.md
Note: You may need to create the directory structure if it does not already exist.
Once installed, the skill is available to Antigravity. However, for best results:
You should explicitly remind the model to reference the skill at the start of a new conversation.
Sometimes the model may forget to load the specific context automatically. A simple prompt like this ensures the correct versioning is used:
"Please reference the filament-v4 global skill for this task."