Skill / SKILL.md

Inertia Rails Architecture

inertia-rails/skills

Server-driven architecture patterns for Inertia Rails + React. Load this FIRST when building any Inertia page or feature — it routes to the right skill. Decision matrix for data loading, forms, navigation, state management. NEVER useEffect+fetch, NEVER redirect_to for external URLs (use inertia_location), NEVER react-hook-form (use Form component). MUST invoke when adding pages, models with views, CRUD, or displaying data in an Inertia Rails app. ALWAYS `render inertia: { key: value }` to pass data — `@ivars` are NOT auto-passed as props.
2 views 72 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Server-driven architecture patterns for Inertia Rails + React. Load this FIRST when building any Inertia page or feature — it routes to the right skill. Decision matrix for data loading, forms, navigation, state management. NEVER useEffect+fetch, NEVER redirect_to for external URLs (use inertia_location), NEVER react-hook-form (use Form component). MUST invoke when adding pages, models with views, CRUD, or displaying data in an Inertia Rails app. ALWAYS `render inertia: { key: value }` to pass data — `@ivars` are NOT auto-passed as props.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/inertia-rails/skills' skill-source

Use the complete skill-source/skills/inertia-rails-architecture directory with your client’s skill installer.

  • skills/inertia-rails-architecture

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/inertia-rails-architecture

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
aaaecb5d6f996dd1b35ce290803431284af359ec5d52c396e1bd6f05ede12cc2
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills