Curated library of AI agent skills for Ruby on Rails development. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and workflow automation.
98
99%
Does it follow best practices?
Impact
98%
1.38xAverage score across 26 eval scenarios
Passed
No known issues
A subscription-based API platform enforces two behaviors that currently have no test coverage:
1. Subscription expiry logic: Subscriptions become inactive exactly 30 days after activation. The Subscription model has an #expired? instance method that returns true when more than 30 days have passed since activated_at and false otherwise. The edge case at exactly 30 days needs to be clearly tested.
2. Subscription-gated endpoints: Three API endpoints — GET /api/v1/reports, POST /api/v1/exports, and GET /api/v1/analytics — all require an active subscription. A user without one receives a 403 Forbidden response. A user with a valid subscription can access the endpoint normally. All three endpoints share this identical authorization behaviour.
You have been brought in to write spec coverage for both concerns. The team cares that the test suite is maintainable — repeated assertion patterns should be structured in a way that avoids duplication across the three endpoint specs.
Note: This project does NOT use test-prof.
Produce spec files covering:
Subscription#expired? model behavior (correct expiry at the 30-day boundary, both sides)Place files at appropriate paths. The model and endpoint specs should each be in their own files. Any supporting spec infrastructure (shared behavior definitions) should be placed in a spec/support/ file. Do not create a full Rails app — just the spec files with realistic, well-structured content.
api-rest-collection
create-prd
ddd-boundaries-review
ddd-rails-modeling
ddd-ubiquitous-language
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
generate-tasks
mcp_server
rails-architecture-review
rails-background-jobs
rails-bug-triage
rails-code-conventions
rails-code-review
rails-engine-compatibility
rails-engine-docs
rails-engine-extraction
rails-engine-installers
rails-engine-release
rails-engine-reviewer
rails-engine-testing
rails-graphql-best-practices
rails-migration-safety
rails-review-response
rails-security-review
rails-skills-orchestrator
rails-stack-conventions
rails-tdd-slices
refactor-safely
rspec-best-practices
rspec-service-testing
ruby-service-objects
strategy-factory-null-calculator
ticket-planning
yard-documentation