How to install the Rails Query plugin in Claude Code
- Run both commands in your terminal to add the publisher marketplace and install the plugin.
- Open the Rails project and verify its local rails query help is available before asking the plugin to inspect a model.
claude plugin marketplace add lewispb/rails-query-skill
claude plugin install rails-query@rails-query-skillTry this workflow
In a local seeded Rails app, ask for a count of orders marked complete after a known cutoff. Have Claude identify the model, relevant status field, and date column before querying.
Compare the count against the fixture, including an order whose completion time falls exactly on the cutoff. Check the command used the read-only rails query path.
What you need
The target project needs Rails 8.2 or newer. Use its local test database for the first exercise.