
Rails Dev
A comprehensive Rails optimization guide with 45 rules across database queries, controllers, security, caching, and background jobs. Reach for this when you're writing ActiveRecord queries, building API endpoints, or reviewing code for N+1s and performance issues. The priority system is smart: database and controller patterns are marked critical, while background job patterns sit lower since they affect fewer requests. Each rule links to detailed references with examples, though the real value is having eager loading, indexing, and strong params checks baked into your workflow. It's opinionated about service objects and query objects for complex logic, which keeps models from turning into thousand-line monsters.
- skills.sh installs
- 293
- GitHub stars
- 222
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pproenca/dot-skills --skill rails-dev --agent claude-codeInstalls into .claude/skills of the current project.
Files
Community Ruby on Rails Development Best Practices
Comprehensive performance and maintainability optimization guide for Ruby on Rails applications, maintained by Community. Contains 45 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
When to Apply
Reference these guidelines when:
- Writing new Rails controllers, models, or views
- Optimizing ActiveRecord queries and database access patterns
- Implementing caching strategies (fragment, Russian doll, low-level)
- Building or refactoring API endpoints
- Adding Turbo Frames and Streams for interactive UIs
- Reviewing code for N+1 queries and security vulnerabilities
- Designing background jobs with Sidekiq or Active Job
- Writing or reviewing database migrations
Rule Categories by Priority
Sponsors
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Frontend Development, Backend & APIs, Security, Documentation, Code Review & Quality, Debugging, Design & UI/UX
- First seen
- Jun 3, 2026
More from pproenca/dot-skills
All 100- Ios Ui Refactor291
- Ruby Optimise286
- Swift Optimise285
- Ios Testing281
- Swift Refactor281
- Dev Rfc279
- Swift Ui Architect273
- Ios Taste272
- Ios Storyboard270
- Rails Design System270
- Swift Data268
- Ios Chaos Monkey267
- Ios Navigation267
- Nginx C Module Perf260
- React Native Elements258
- Effect Ts257
- Bug Review256
- Nginx C Module Debug253
- Rails Application Ui Blocks251
- Rust Write Tests248
- Rust Implement246
- Domain Architect242
- Graph Schema233
- Exec Plan232