Curated library of 39 AI agent skills for Ruby on Rails development. Organized by category: planning, testing, code-quality, ddd, engines, infrastructure, api, patterns, context, orchestration, and workflows. Includes 5 callable workflow skills (rails-tdd-loop, rails-review-flow, rails-setup-flow, rails-quality-flow, rails-engines-flow) for complete development cycles. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and TDD automation.
95
98%
Does it follow best practices?
Impact
95%
1.20xAverage score across 35 eval scenarios
Passed
No known issues
An online fitness platform is launching a class booking feature. Users can reserve spots in group fitness sessions through the platform's API. The backend team has built the feature but left the test coverage incomplete.
Two distinct behaviors need to be covered:
Endpoint behavior: A POST /bookings endpoint that accepts a class ID and quantity, delegates to a Bookings::CreateService, and returns appropriate HTTP responses. The endpoint should be covered for at least three scenarios: a successful booking, a booking that fails because the class is full, and an attempt to book a class the user has already reserved.
Model domain rule: The Booking model enforces a uniqueness constraint — a user cannot hold more than one active booking for the same fitness class. This uniqueness validation lives on the model and must be confirmed by a test.
Your task is to write the spec coverage for both behaviors. The endpoint behavior and the model domain rule each represent a different kind of concern — consider the most appropriate spec type for each.
Produce spec files with realistic content:
POST /bookings endpoint behaviorBooking model's uniqueness validationUse create and build factory helper calls where needed (actual factory definitions are not required — add a # TODO: define factory :booking comment at the top of any spec that would need one). Do not create a full Rails app — just the spec files with proper structure, realistic examples, and the correct file paths.
docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
scenario-11
scenario-12
scenario-13
scenario-14
scenario-15
scenario-16
scenario-17
scenario-18
scenario-19
scenario-20
scenario-21
scenario-22
scenario-23
scenario-24
scenario-25
scenario-26
scenario-27
scenario-28
scenario-29
scenario-30
scenario-31
scenario-32
scenario-33
scenario-34
scenario-35
mcp_server
skills
api
api-rest-collection
rails-graphql-best-practices
code-quality
rails-architecture-review
rails-code-conventions
rails-code-review
rails-review-response
rails-security-review
rails-stack-conventions
assets
snippets
refactor-safely
context
rails-context-engineering
rails-project-onboarding
ddd
ddd-boundaries-review
ddd-rails-modeling
ddd-ubiquitous-language
engines
rails-engine-compatibility
rails-engine-docs
rails-engine-extraction
rails-engine-installers
rails-engine-release
rails-engine-reviewer
rails-engine-testing
infrastructure
rails-api-versioning
rails-background-jobs
rails-database-seeding
rails-frontend-hotwire
rails-migration-safety
rails-performance-optimization
orchestration
rails-skills-orchestrator
patterns
ruby-service-objects
strategy-factory-null-calculator
yard-documentation
planning
create-prd
generate-tasks
ticket-planning
testing
rails-bug-triage
rails-tdd-slices
rspec-best-practices
rspec-service-testing