Skip to content
Skills Library
Programming · Planning

rails

/rails

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.

Author
sorah ↗
Repository
config ↗
Licence
MIT
Last repository change
24.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 24.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use 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.

Triggers from the description

RailsActiveRecordActiveJobconcernsmigrationsRails.configurationrequest specs
Original author description

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.

How it works

  1. Interview Checklist
Original SKILL.md headings · 44 lines, 237 words
SKILL.md preview
---
name: rails
description: 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.
version: 0.1.0
---

# Rails Spec Interview Guide

Rails-specific checklist for spec interviews and implementation. For underlying Rails conventions, consult the `sorah-guides:rails` skill. Project-specific conventions always take priority.

## Interview Checklist

When interviewing a spec for a Rails project, verify these areas are fully specified:

### Data Model
- Migration details: column types, defaults, null constraints, index definitions
- Unique vs non-unique indexes; composite index column order
- Which validations live at model level vs database constraint level
- Association dependent behavior and foreign key constraints

### Architecture & Design
- Which concerns are extracted and what they encapsulate
- Where business logic lives: model callbacks vs service objects vs controllers
- Controller action responsibilities and before_action filters

### Integration
- Configuration approach: `Rails.configuration.x.*` namespacing, ENV access policy
- Encryption strategy for sensitive attributes
- Background job classes, queue names, retry policies
- Logging: which events, at what levels, with what payload
- Which existing concerns the new code interacts with
- Mailer classes and delivery method

### Testing
- Request spec expectations: status codes, response bodies, error formats
- Model spec coverage: validations, associations, scopes
- Test data strategy: FactoryBot patterns, `let_it_be` usage
- Time-dependent test approach

### Security
- Password hashing mechanism
- Parameter filtering for sensitive request params
- Audit logging requirements

### Operations
- `bin/setup` changes: seed data, fixture files
- Rake tasks needed for data migrations or cleanup
- Key rotation strategy for encrypted attributes

Versions

RepositoryScoreLicence
This page · sorah/config90MIT
ericrisco/rsc-harness100MIT
TerminalSkills/skills100Apache-2.0
sorah/config100MIT
G1Joshi/Agent-Skills100MIT
ar4mirez/samuel100MIT
el-feo/ai-context90MIT

Database snapshot: 13.11.2026 · package version ebe0930fb230 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90ruby-rails
    Use this skill when building Ruby on Rails applications — MVC, ActiveRecord, service objects, API mode, background jobs, and testing. This skill enforces: thin controllers, service objects for business logic, ActiveRecord query best practices, Rails API mode conventions, and…
  • 100programming-ruby
    Ruby and Rails practices: objects, services, ActiveRecord persistence, transactions, Active Job boundaries. Use when writing or reviewing Ruby or Rails.
  • 100rails-dev
    Ruby on Rails performance and maintainability optimization guidelines for building backend APIs and frontend web applications. This skill should be used when writing, reviewing, or refactoring Ruby on Rails code to ensure optimal patterns for controllers, models, ActiveRecord…
  • 81rails-ai:models
    Use when designing Rails models - ActiveRecord patterns, validations, callbacks, scopes, associations, concerns, query objects, form objects
  • 86ruby-on-rails
    Ruby on Rails coding conventions and guidelines Triggers on: **/*.rb
  • 100ruby-rails
    Conventions and best practices for building web applications with Ruby on Rails. Use when scaffolding Rails apps or generators, designing ActiveRecord models and migrations, wiring up Hotwire/Turbo/Stimulus interactivity, setting up background jobs or caching, or writing…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.