
Rails Expert
A straightforward Rails 7+ implementation guide that enforces good habits: eager loading associations to kill N+1 queries, using Turbo Frames for partial updates instead of full page reloads, and pushing slow work to Sidekiq. The workflow is opinionated in useful ways, like demanding RSpec coverage above 95% and adding indexes on every filtered column. Includes ready-to-use templates for common patterns like strong parameters and background jobs. Best for teams who want guardrails around performance and testing rather than just scaffolding code. The reference system lets you pull in deeper docs on Hotwire or Active Record only when you need them.
- skills.sh installs
- 5K
- GitHub stars
- 12.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add jeffallan/claude-skills --skill rails-expert --agent claude-codeInstalls into .claude/skills of the current project.
Files
Rails Expert
Core Workflow
- Analyze requirements — Identify models, routes, real-time needs, background jobs
- Scaffold resources —
rails generate model User name:string email:string,rails generate controller Users - Run migrations —
rails db:migrateand verify schema withrails db:schema:dump- If migration fails: inspect
db/schema.rbfor conflicts, rollback withrails db:rollback, fix and retry
- If migration fails: inspect
- Implement — Write controllers, models, add Hotwire (see Reference Guide below)
- Validate —
bundle exec rspecmust pass;bundle exec rubocopfor style- If specs fail: check error output, fix failing examples, re-run with
--format documentationfor detail - If N+1 queries surface during review: add
includes/eager_load(see Common Patterns) and re-run specs
- If specs fail: check error output, fix failing examples, re-run with
- Optimize — Audit for N+1 queries, add missing indexes, add caching
Reference Guide
Load detailed guidance based on context:
Sponsors
Details
- Repository
- github.com/jeffallan/claude-skills
- Categories
- Backend & APIs, Testing & QA
More from jeffallan/claude-skills
All 66- Dotnet Core Expert5K
- Rag Architect4.9K
- Cloud Architect4.9K
- Vue Expert4.7K
- Spec Miner4.7K
- The Fool4.7K
- Atlassian Mcp4.6K
- Legacy Modernizer4.6K
- Salesforce Developer4.5K
- Feature Forge4.5K
- Fine Tuning Expert4.5K
- Django Expert4.5K
- Mcp Developer4.4K
- Swift Expert4.4K
- Vue Expert Js4.3K
- Graphql Architect4.3K
- Chaos Engineer4.3K
- Ml Pipeline4.1K
- Spark Engineer4.1K
- Laravel Specialist23.9K
- Golang Pro19.5K
- Php Pro16.1K
- Flutter Expert14.7K
- Typescript Pro14.6K