inertia-rails-setup
Installation
SKILL.md
Inertia Rails Project Setup
Detect stack, offer recommended deps, generate CLAUDE.md configuration.
Run once per project. Re-run when the stack changes.
NEVER:
- Run setup without
inertia_railsgem in Gemfile — all skills assume it exists. If missing, tell the user to install it first. - Overwrite existing
## Inertia Rails Stackin CLAUDE.md without reading it — the user may have manual customizations. Replace only the auto-generated block. - Add
@/resolve aliases tovite.config.ts—vite-plugin-rubyalready provides them. Only add totsconfig.json. - Recommend
alba-inertiaif the project usesjbuilderAND the user hasn't expressed interest in switching — suggest it, but don't push. You CAN still suggest it if the project hasblueprinter(alba is a direct upgrade path). - Generate CLAUDE.md blocks for skills the user doesn't have installed — saying "alba-inertia skill does NOT apply" is correct; saying "use alba-inertia" when the gem is absent is wrong.
Step 1: Detect Current Stack
Read Gemfile (NOT Gemfile.lock) and package.json and check for:
Related skills