Skip to content
SkillModel-led1,176 tokens in use

rails-expert

Builds Rails 7+ features with Hotwire Turbo, N+1-free Active Record queries, Action Cable, Sidekiq jobs and RSpec specs.

12,471 stars on the repository MIT LicenseJeffallan/claude-skills · skills/rails-expert
/plugin marketplace add jeffallan/claude-skills /plugin install fullstack-dev-skills@fullstack-dev-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing rails-expert costs

103tokens idle
1,176tokens in use
9,870tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter15/15
  • Structure22/25
  • Examples12/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity100
  • Maintenance100
  • Community60
  • Maturity36
  • Momentum40

Rails Expert guides Claude through Rails 7+ work in six steps: analyze requirements, scaffold resources, run migrations, implement controllers and Hotwire views, validate with RSpec and RuboCop, then optimize queries and caching.

Its patterns cover eager loading with includes and eager_load, Turbo Frame setup, a Sidekiq-backed job and strong parameters. Each failing step has instructions for rollback or re-running specs.

What You Get

  • A six-step workflow with rollback and re-run guidance for failed migrations and specs
  • Patterns for N+1 prevention, Turbo Frames, a Sidekiq job and a controller with strong parameters
  • Reference files for Hotwire and Turbo, Active Record, background jobs, RSpec testing and API development
  • Rules requiring eager loading, indexes on queried columns, service objects for complex logic and sanitized SQL
  • An output template: migration, model, controller, views, specs and a design note

Common Use Cases

  • Fixing N+1 queries in a list page
  • Adding partial page updates with Turbo Frames and Streams
  • Moving email sending into a Sidekiq job
  • Adding real-time updates with Action Cable
  • Writing model, request and system specs with factories

What Makes It Unique

The skill combines Rails data discipline with the Hotwire front end in one workflow. It requires eager loading on association queries, indexes for every filtered or sorted column and a coverage target above 95 percent, and it gives each failure mode a next action, such as rolling back a migration or adding includes.

Under The Hood

The skill is instructions and reference markdown that Claude loads by topic; it ships no scripts. Following it, Claude writes Ruby, view and spec files in your project and runs rails generate, rails db:migrate, db:rollback, bundle exec rspec and rubocop. Migrations change your development database, and job examples send email through your own mailer. It does not call outside services itself.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers