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
Two Rails loadouts. The first sets the rules for the app itself: reversible migrations with real constraints, params.expect, N+1 checks with assert_queries_count, and rubocop and brakeman as the gate. The second is for RSpec teams: request specs rather than controller specs, FactoryBot traits, and a fixed list for every endpoint (happy path, 422, 400, another owner's record and mass assignment), with a check that an unscoped lookup fails.
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 Rails or filter everything.