rails-jobs-patterns

Installation
SKILL.md

Rails Background Job Patterns

Analyze and recommend patterns for reliable, efficient background jobs in Rails applications.

Follow standard Rails conventions for retry_on, discard_on, queue_as, and basic ActiveJob structure. Focus on the opinionated patterns below.

Quick Reference

Pattern Use When
_later/_now convention Every async operation — name both versions
Shallow job + model logic All new jobs — jobs are wrappers only
Double-check locking Idempotency with concurrent workers
Self-splitting batch Datasets too large for one job
limits_concurrency Solid Queue race condition prevention
perform_all_later Bulk enqueueing (Rails 7.1+)

Supporting Documentation

Installs
6
GitHub Stars
5
First Seen
Jan 27, 2026
rails-jobs-patterns — ag0os/rails-dev-plugin