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
{
"context": "Tests whether the agent applies factory minimalism (only attributes needed for the test) and mocks at the correct boundary: the external service (SendgridClient) is doubled, while internal ActiveRecord operations (Campaign.find, UserSegment.find) are NOT mocked with doubles.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Factory attributes minimal",
"description": "Each FactoryBot factory definition contains 3 or fewer attribute declarations — factories are lean, not exhaustive",
"max_score": 12
},
{
"name": "SendgridClient mocked",
"description": "The spec doubles or stubs SendgridClient (e.g. allow(SendgridClient).to receive(:deliver) or instance_double) — it is not called for real",
"max_score": 15
},
{
"name": "No real HTTP/email calls",
"description": "The spec does NOT make real calls to SendgridClient or any external service — all external calls are intercepted",
"max_score": 12
},
{
"name": "ActiveRecord finders NOT mocked",
"description": "Campaign.find and UserSegment.find are NOT stubbed with allow(...).to receive(:find) — the spec uses real (or factory-created) records for ActiveRecord lookups",
"max_score": 12
},
{
"name": "Factory file exists",
"description": "spec/factories/campaigns.rb is present with at least one factory definition",
"max_score": 5
},
{
"name": "SendgridClient failure case tested",
"description": "The spec contains at least one example where SendgridClient.deliver returns a failure result and the service response is verified",
"max_score": 12
},
{
"name": "RecordNotFound case tested",
"description": "The spec contains at least one example covering the missing campaign or missing segment scenario",
"max_score": 10
},
{
"name": "let used for factory setup",
"description": "Factory-backed test data is set up with let (lazy) rather than let! where the record doesn't need to exist before other setup runs",
"max_score": 8
},
{
"name": "External mock at class method level",
"description": "The SendgridClient stub is set on the class method (allow(SendgridClient).to receive(:deliver)) rather than on an instance double of the class",
"max_score": 7
},
{
"name": "Factory attributes match service usage",
"description": "The factory-defined attributes correspond to fields actually accessed by the service (campaign.subject, campaign.body, user.email) — no irrelevant default attributes",
"max_score": 7
}
]
}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