rails-code-review

rails-code-review is a skill for Claude Code, Codex from beel-collab/presets.dev. It costs 39 tokens per session (824 once invoked), scanned A, original, MIT.

A review checklist for changes in Rails applications, including access checks, permitted form fields, database query counts, and background-job retries.

In plain words
What is it for?
Use it to review a Rails model, controller, database migration, or background job.
Why use it?
It helps find permission mistakes, unwanted input, slow database access, and unreliable background work before release.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; $skill-name invocation.

Good fit Use it to review a Rails model, controller, database migration, or background job.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beel-collab/presets.dev/rails-code-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add beel-collab/presets.dev --skill rails-code-review
Clone the repo
git clone --depth 1 https://github.com/beel-collab/presets.dev

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rails-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/beel-collab/presets.dev/rails-code-review/github.svg)](https://agentmods.dev/skills/beel-collab/presets.dev/rails-code-review)
Your own site
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/rails-code-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/rails-code-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rails-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/rails-code-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/rails-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 824 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00824
Opus 5.5 $0.00016 $0.00330
Sonnet 5.5 $0.00008 $0.00165
Haiku 4.5 $0.00004 $0.00082

Measured 18d ago against content hash deb17582c667, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rails-code-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

antigravity/rails/rails-code-review/SKILL.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Rails Code Review Skill for Antigravity CLI

Install

Install the native export at .agents/skills/rails-code-review/SKILL.md (one file shared with Codex). Copy that export, not this catalog file. Catalog fields such as tools and author are for presets.dev. Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read .agents/skills, so a second copy with the same name collides.

Rails Code Review

Shared skill rails-code-review for Rails. Codex and Antigravity CLI both read .agents/skills/rails-code-review/SKILL.md. Install this one file. Codex calls it with $rails-code-review or /skills. Cursor, GitHub Copilot, and Devin also read .agents/skills. A second copy with the same name collides. Do not install another tool's file there.

When to run

Run this review for a Rails model, controller, migration, or job.

When to leave it

Stop for Ruby that is not Rails. Do not upgrade Rails or migrate production.

Steps

  1. Read the Rails version in the Gemfile. A 7.x app receiving 8.1-only job APIs is a high finding unless the user asked to upgrade.
  2. Review strong params and authorization on each write. permit! or a missing authorize is a high finding.
  3. Review includes and indexes for new associations.
  4. Review jobs for a second execution. A non-idempotent mail or charge is a high finding.
  5. Run the test file only if the user asked. Otherwise write not run.

Output

Findings with severity, file, line, the missing permit or the query, and a fix. Production was not migrated.

## Findings
- high | path:line | what is wrong | what to do instead

## No findings
Say "No findings" and list the files you opened. A search you skipped is not a clean result.

## Example
Input: a job comment says `include ActiveJob::Continuable` makes the import idempotent.
Output: medium | app/jobs/process_import_job.rb:3 | continuations resume the last step; they do not dedupe side effects | make each step safe to run again, separately from the continuation.

Read the full file on GitHub · 85 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 18d ago First seen · 85 lines · 39 tokens per session scan A deb17582c667

Subscribe to this mod's changes

rails-code-review is a skill published in the GitHub repository beel-collab/presets.dev (3 stars, last pushed 8d ago), licensed MIT. It adds 39 tokens to every session and 824 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-13.

Related

rails-code-review compared with skills from other repositories

rails-code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rails-code-reviewbeel-collab/presets.devSkill38d agoMITA39Claude Code, Codex
code-reviewsammcj/agentic-codingSkill174todayApache-2.0A20Claude Code, Codex
self-reviewsammcj/agentic-codingSkill174todayApache-2.0A24Claude Code
rails-devtech-leads-club/agent-skillsSkill7.2k4d agononeA199Claude Code, Codex
rails-depsiuhoay/skillsSkill551mo agononeA34Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code