Rails app rules
Rails 8 rules for agents: reversible migrations with real constraints, params.expect, N+1 checks with assert_queries_count, and rubocop and brakeman as the gate.
- 1 1 Rules
- 1 1 Skills
- – 0 MCP
Both Ruby loadouts are for Rails apps on Ruby 3.4, verified with real gems from a lockfile. One covers the app: migrations you can roll back, constraints in the database as well as the model, params.expect, and query-count tests. The other covers testing with RSpec and FactoryBot, where every endpoint gets request specs for errors, ownership and mass assignment, and rubocop-rspec keeps the specs consistent.
Every one installs for Claude Code, Codex CLI, Cursor, Gemini CLI, Antigravity CLI and GitHub Copilot unless its card says otherwise.
Rails 8 rules for agents: reversible migrations with real constraints, params.expect, N+1 checks with assert_queries_count, and rubocop and brakeman as the gate.
RSpec request specs for Rails 8.1 JSON endpoints: happy path, 422 errors, missing params, owner scoping and mass assignment, with FactoryBot and rubocop-rspec.
Looking for something narrower? Search within Ruby or filter everything.