inertia-form-system

Community

Build robust React forms with Inertia.

Authorazadshaikh
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the creation and management of React forms within an Inertia.js application, ensuring consistency in client-side validation, draft persistence, and server-side error handling.

Core Features & Use Cases

  • Unified Form Handling: Integrates Inertia's form capabilities with a shared hook (useAppForm) for consistent client and server validation.
  • Client-Side Validation & Drafts: Provides built-in support for form validation rules and remembers draft form state.
  • Dirty-Form Protection: Implements guards to prevent accidental data loss on unsaved changes.
  • Consistent Error Display: Manages and displays field-level and summary errors uniformly.
  • Toast Notifications: Integrates with Sonner for user feedback on form submission success or failure.
  • Use Case: Refactor existing React forms to leverage useAppForm for improved developer experience and user feedback, especially for forms requiring complex validation or draft saving.

Quick Start

Use the inertia-form-system skill to create a new user edit form with validation and draft saving.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: inertia-form-system
Download link: https://github.com/azadshaikh/public_html/archive/main.zip#inertia-form-system

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.