Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
Build Laravel forms with laravel-client-validation using Blade directives, Alpine.js, Livewire, Filament, and remote validation.
Laravel Client Validation Development
When to use this skill
Use this skill when a Laravel application uses mrpunyapal/laravel-client-validation and you need to add, debug, or refactor browser-side validation with the package.
Typical cases:
Adding x-validate or Blade validation directives to Blade or Alpine forms.
Reusing Laravel FormRequest rules in the browser.
Wiring x-wire-validate or WithClientValidation in Livewire components.
Enabling client validation in Filament panels or custom fields.
Debugging remote rules such as unique or exists.
Install and bootstrap
Install the package in the Laravel app and publish its assets:
Keep Laravel validation rules as the source of truth. Reuse existing FormRequest, controller, or Livewire rules instead of hand-maintaining a second JavaScript rule set.
Use @rules, @validateBlur, , or for Blade forms that rely on data attributes.
@validateLive
@validateSubmit
Use x-validate for Alpine or Blade-first forms.
Use x-wire-validate alongside wire:model in Livewire components.
Use WithClientValidation when a Livewire component already defines rules, messages, or validationAttributes and those should be exposed to the browser.
Use ClientValidationPlugin, ClientValidatedField, or HasClientValidation for Filament integration.
Remote rules such as unique, exists, password, current_password, and encoding still rely on Laravel over AJAX and are not purely client-side.
Prefer changes in config/client-validation.php over scattered inline overrides for debounce, styling, or route behavior.
Render the package asset bundle once. Avoid duplicating @clientValidationAssets or manual script tags on the same page.