rails-engine-installers
Installation
SKILL.md
Rails Engine Installers
Use this skill when the task is to design or review how a host app installs and configures a Rails engine.
Good installation flows are explicit, repeatable, and safe to rerun.
Quick Reference
| Installer Component | Purpose |
|---|---|
| Generator | Creates initializer, route mount, or optional setup files; must be idempotent |
| Migrations | Copies engine migrations into host db/migrate; host owns and runs them |
| Initializer | Provides configuration defaults; generated once, editable by host |
| Routes | Adds mount Engine, at: '/path'; document or generate, avoid duplicates |
Primary Goals
- Make host setup obvious.
- Keep setup idempotent.
- Prefer generated files over hidden runtime mutation.
Related skills