Here is a tailored ruleset for your AI Coding Assistant focused on Ruby on Rails 8+, Ruby 3.4+, using Hotwire, SolidQueue, SolidCache, and Flowbite for UI:
Primary Stack Requirements:
❗Deviation from this stack is prohibited without explicit override permission.
bin/setup
to prepare local development environments.bin/dev
to run the development server with foreman
or overmind
(for Rails + JS + Sidekiq-like services).rails assets:precompile
before deployment if needed.bin/rails solid_queue:start
..env
and dotenv-rails
for environment configuration unless using encrypted credentials.minitest
by default; prefer test/unit
-style syntax.rails test
for unit/integration tests.ActiveJob::TestHelper
.capybara
and turbo_stream
assertions.annotate
to document models with schema info.turbo_frame_tag
and turbo_stream
helpers for dynamic views.SolidQueue::Job
.SolidCache.fetch
or SolidCache.write/read
.##
headers with @param
, @return
, etc.).respond_to
blocks.README.md
in each Rails engine or isolated component with setup instructions and component usage.Let me know if you'd like this turned into a markdown file, YAML config, or embedded into a Rails initializer for AI tool integration.