{"filename":"rails-cursorrules-prompt-file.mdc","content":"---\ndescription: \"Cursor rules for Rails development with basic setup.\"\nglobs: **/*\nalwaysApply: false\n---\nRails 8 Development Guidelines\n\n- Prefer Rails command-line generators over hand-written boilerplate.\n- Use `bin/dev` for local development and check logs after significant changes.\n- Follow Rails 8 conventions for Solid Queue, Solid Cache, Solid Cable, Propshaft, and Kamal where appropriate.\n- Keep controllers RESTful and focused; use service objects for complex business logic.\n- Use PostgreSQL, proper indexes, connection pooling, and safe migrations.\n- Write Minitest coverage for models, controllers, and integration flows.\n- Use Hotwire for standard Rails interactivity and Vite only when npm-managed JavaScript is needed.\n"}