inertia-rails-setup
Skill by kieranklaassen
Sets up Inertia.js in a Ruby on Rails app, either from official React, Vue or Svelte starter kits or by adding the inertia_rails gem. Aimed at Rails developers starting a new project or upgrading an Inertia frontend.
Install inertia-rails-setup
Built from the published package, never by AI.
git clone --depth 1 https://github.com/kieranklaassen/thinkroom /tmp/thinkroom && mkdir -p ~/.claude/skills && cp -r /tmp/thinkroom/.agents/skills/inertia-rails-setup ~/.claude/skills/inertia-rails-setupRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/kieranklaassen/thinkroom /tmp/thinkroom && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/thinkroom/.agents/skills/inertia-rails-setup ~/.gemini/antigravity-cli/skills/inertia-rails-setupAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install inertia-rails-setup in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill sets up Inertia.js in a Ruby on Rails application. It offers two routes: cloning an official starter kit for React, Vue or Svelte, or adding Inertia to a new or existing Rails app with the inertia_rails gem and its generator. The manual steps cover Vite Rails, frontend packages, the entry point, the initializer, shared data and a first page.
The skill also covers starting the Rails and Vite dev servers and upgrading an Inertia.js v2 project to v3. It lists the required config changes and breaking changes for v3. It includes a configuration options table, environment variables with the INERTIA_ prefix, and troubleshooting notes. It is aimed at Rails developers who are starting or migrating an Inertia frontend.
Written from the project's SKILL.md and checked against it.
What it can do
- Starter kit setupClones official React, Vue or Svelte starter kits and runs bin/setup.
- Generator setupAdds inertia_rails to an existing or new Rails app and runs the install generator.
- Manual setup stepsWalks through the gem, Vite Rails, frontend packages and entry point.
- Initializer configurationShows the InertiaRails.configure block with versioning, flash keys and v3 options.
- Shared dataShows how to share flash and current user data using inertia_share.
- Upgrade to Inertia v3Lists required config changes and breaking changes for upgrading from v2.
- Configuration referenceProvides a table of InertiaRails options with defaults and descriptions.
What you need
- Ruby on Rails
- npm
- git
Try asking
- Set up a new Rails app with Inertia and React using the starter kit
- Add Inertia Vue to my existing Rails application
- Show me how to upgrade my Inertia Rails project from v2 to v3
Good to know
- Inertia v3 requires React 19 or later, Svelte 5 or later and ESM-only code.
- Axios is removed in v3, so an adapter is needed to keep using it.
- The skill's setup steps assume a Vite-based frontend.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/inertia-rails-setup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to inertia-rails-setup
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
inertia-rails-setup: common questions
Which frontend frameworks does this Inertia Rails setup support?
The source covers React, Vue 3 and Svelte. It shows entry point code and packages for each.
What changes are needed to upgrade Inertia Rails to v3?
The source says to set use_script_element_for_initial_page, use_data_inertia_head_attribute and always_include_errors_hash in the initializer. It also lists breaking changes such as removed Axios and renamed events.
Does the setup include authentication?
The React, Vue and Svelte starter kits include user authentication, according to the source. The generator and manual steps do not add authentication.
How do I install inertia-rails-setup?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is inertia-rails-setup free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is inertia-rails-setup safe to use?
It scores 70 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to inertia-rails-setup?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
