All skills
asyrafhussin avatar

/laravel-inertia-react

@ac26821

Laravel + Inertia.js + React integration patterns. Use when building Inertia page components, handling forms with useForm, managing shared data, or implementing persistent layouts. Triggers on tasks involving Inertia.js, page props, form handling, or Laravel React integration.

Use this Skill: https://skilld.dev/gh/asyrafhussin/agent-skills/laravel-inertia-react

This session only. Nothing lands on disk.

rules_sections.md

≈340 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Rule Sections

Priority Levels

Level Description When to Apply
CRITICAL Essential for any Inertia app Always
HIGH Important for maintainability and UX Most projects
MEDIUM Performance and developer experience Growing applications
LOW Specialized patterns Large-scale apps

Section Overview

Page Components (CRITICAL)

Core patterns for building Inertia page components. Proper TypeScript typing, Head management, layout assignment, and props handling.

Forms & Validation (CRITICAL)

Complete form handling with useForm hook. Validation errors, file uploads, progress tracking, dirty state, and data transformation.

Navigation (CRITICAL-HIGH)

Inertia's Link component and router for SPA-like navigation. Programmatic navigation, state preservation, history management, and external links.

Shared Data (CRITICAL-HIGH)

Global props shared across all pages via HandleInertiaRequests middleware. Authentication data, flash messages, Ziggy routes, and app configuration.

Layouts (CRITICAL)

Persistent layout patterns that maintain state across navigation. Prevents unnecessary re-renders and provides better performance.

Advanced Patterns (MEDIUM)

Partial reloads, scroll preservation, and optimization techniques for complex Inertia applications.

Source: SKILL.md on GitHub

1 warning16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill provides a comprehensive set of best practices and patterns for building applications with Laravel, Inertia.js, and React. The content consists of architectural guidance and code examples that follow official framework standards and do not exhibit any malicious behavior or security risks.

  • Socket16d

    1 alert: gptAnomaly

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer6mo

    30 files scanned · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at ac26821. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 7 months ago
Other metadata
metadata
{
  "author": "AsyrafHussin",
  "version": "1.0.2",
  "laravelVersion": "13.x",
  "phpVersion": "8.3+"
}

README badge

README badge for asyrafhussin/agent-skills/laravel-inertia-react