Skip to content
Skill

Rails

Gives the agent a Rails checklist for spec interviews and spec implementation

Rails is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
31
Last commit
License
MIT
Listing updated

Similar skills

About Rails

This skill adds a Rails-focused checklist to the spec workflow. When an agent interviews a spec for a Rails project, it prompts for details that are often left open: migration column types and defaults, index design, where validations belong, association behavior, and how configuration, encryption, background jobs, logging and mailers should be handled.

The checklist also covers testing and operations. It points the agent toward request spec expectations, model spec coverage, test data strategy and time-dependent tests, and it flags security items such as password hashing, parameter filtering and audit logging. Operational items include seed data, rake tasks for data work and key rotation for encrypted attributes.

The skill is a single SKILL.md with no scripts. It refers to a companion Rails conventions skill for general guidance and states that project-specific conventions take priority.

When your agent uses it

This skill should be used when conducting spec interviews or implementing specs for Ruby on Rails projects, or when the spec mentions "Rails", "ActiveRecord", "ActiveJob", "concerns", "migrations", "Rails.configuration", or "request specs". Provides Rails-specific interview and implementation checklist items.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (2 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the sorah-spec plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add sorah/config
/plugin install sorah-spec@sorah-marketplace

Or copy only this skill to ~/.claude/skills/rails:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/rails &&
cp -R "$tmp/claude/marketplace/plugins/sorah-spec/skills/rails" ~/.claude/skills/rails &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/rails inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/rails to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/rails &&
cp -R "$tmp/claude/marketplace/plugins/sorah-spec/skills/rails" ~/.agents/skills/rails &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/rails inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/rails to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/rails &&
cp -R "$tmp/claude/marketplace/plugins/sorah-spec/skills/rails" ~/.cursor/skills/rails &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/rails inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/sorah/config.git --path claude/marketplace/plugins/sorah-spec/skills/rails

Or copy the folder to ~/.gemini/skills/rails yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/rails:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/rails &&
cp -R "$tmp/claude/marketplace/plugins/sorah-spec/skills/rails" ~/.copilot/skills/rails &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/rails inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/sorah/config.git

Then copy config/claude/marketplace/plugins/sorah-spec/skills/rails into your agent's skills folder as rails. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Data model checklist
Prompts for migration details, index choices and validation placement before implementation starts.
Architecture review points
Covers concerns, where business logic lives and controller action responsibilities.
Integration questions
Asks about configuration namespacing, encryption, background jobs, logging and mailers.
Testing expectations
Lists request spec, model spec and test data items to pin down in a spec.
Security and operations items
Flags password hashing, parameter filtering, audit logs, seeds and key rotation.

Good for

  • Interview a feature spec for a Rails app before coding it
  • Check a migration plan for column types, defaults and indexes
  • Plan background jobs, mailers and logging for a Rails change
  • Review a spec for missing request spec expectations

Rails FAQ

When does Rails trigger?

It is meant to be used when conducting spec interviews or implementing specs for Ruby on Rails projects, or when a spec mentions terms such as Rails, ActiveRecord, ActiveJob, concerns, migrations or request specs.

Does Rails run any scripts or change files?

No scripts are included. It only provides a checklist of items to verify in the spec.

Does it replace Rails conventions guidance?

No. It points to a separate sorah-guides Rails skill for underlying conventions, and project-specific conventions take priority over it.

How do I install Rails in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/rails to use it in all your projects, or to .claude/skills/rails in one project. Or install the sorah-spec plugin, which includes it: /plugin marketplace add sorah/config, then /plugin install sorah-spec@sorah-marketplace.

Does Rails run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Rails?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Rails?

The closest alternatives to Rails are Ruby, Rspec skill, Spec driven development, Spec coding and Spec conventions.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from sorah/config

  1. Guides an agent through maintaining sorah's aptly-managed APT repositories and their

    • Open source
    • 31 GitHub stars
    • Cloud and infrastructure
  2. Runs a chief-of-staff session that watches your coding agents and keeps work on track

    • Open source
    • 31 GitHub stars
    • Developer tools
  3. Applies language-agnostic coding conventions to code writing and review

    • Open source
    • 31 GitHub stars
    • Developer tools
  4. Guides the agent to write git commit messages and PR titles in a concise house style

    • Open source
    • 31 GitHub stars
    • Developer tools
  5. Guides an agent through building and testing Rails apps on Aurora DSQL

    • Open source
    • 31 GitHub stars
    • Developer tools
  6. Writes English text in the author's terse, direct technical voice for GitHub and email

    • Open source
    • 31 GitHub stars
    • Developer tools