rails-new-project-setup
Installation
SKILL.md
Rails New Project Setup
Bootstraps a fresh Rails app — or aligns an existing one — with the gems and config the other rails-superpowers skills assume are present. One procedure serves both cases: detect what's already there, only act on what's missing.
Gemfile Checklist
Read the Gemfile. For each row below, skip if already present; otherwise add via bundle add <gem> --group <group> (omit --group if the Gemfile has no :development/:test groups defined).
| Gem | Group | Why |
|---|---|---|
view_component |
main | rails-view-components — standard for reusable view logic |
lookbook |
:development |
ViewComponent previews UI |
standard + rubocop-rails |
:development, :test |
house rubocop preset (Rails 8 default is rubocop-rails-omakase; house style overrides with standard run via rubocop) |
factory_bot_rails |
:development, :test |
rails-rspec-testing — no fixtures |
rspec-rails |
:development, :test |
base test framework |
rspec_junit_formatter |
:test |
CI needs JUnit XML for report annotations |
capybara + cuprite |
:development, :test |
headless system specs via CDP — replaces default selenium-webdriver |