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 implements the Strategy + Factory + Null Object calculator pattern: a frozen SERVICE_MAP dispatch table in the Factory, a NullService that returns safely for all unknown variants, the prescribed file structure, the single-call public API, and concrete services that override the correct methods.",
"type": "weighted_checklist",
"checklist": [
{
"name": "SERVICE_MAP constant",
"description": "The Factory class defines a SERVICE_MAP constant (frozen hash) that maps variant keys to service classes — not a case statement or if/elsif chain",
"max_score": 12
},
{
"name": "Factory NullService fallback",
"description": "The Factory's .for method returns a NullService instance (or NullService.new) when the variant is not found in SERVICE_MAP or when the qualifying context is nil/inactive",
"max_score": 10
},
{
"name": "NullService never raises",
"description": "The NullService class does NOT raise any exception under any input — its calculate (or equivalent public) method returns nil or a safe value for all inputs",
"max_score": 12
},
{
"name": "Correct file structure",
"description": "The module contains at least factory.rb, base_service.rb, null_service.rb, and one concrete service file — all under app/services/<module_name>/",
"max_score": 10
},
{
"name": "Single entry point API",
"description": "The client-facing usage demonstrated (in code, specs, or documentation) is Factory.for(entity).calculate — a single chained method call, not a multi-step instantiation",
"max_score": 8
},
{
"name": "Concrete overrides should_calculate?",
"description": "At least one concrete service class overrides a should_calculate? (or equivalent guard) method that adds a variant-specific check on top of calling super",
"max_score": 8
},
{
"name": "Concrete overrides compute_result",
"description": "At least one concrete service class overrides compute_result (or equivalent calculation) method containing the variant-specific business logic",
"max_score": 8
},
{
"name": "NullService spec context",
"description": "The spec file contains a context or describe block that explicitly tests the NullService path — e.g. unknown variant, nil entity, or inactive qualifier returns the null object",
"max_score": 12
},
{
"name": "Variant spec coverage",
"description": "The spec file includes at least one example per concrete variant (e.g. standard tier, express tier) verifying the factory dispatches to the correct service class",
"max_score": 8
},
{
"name": "Frozen string literal",
"description": "Every Ruby file in the module begins with # frozen_string_literal: true",
"max_score": 6
},
{
"name": "SERVICE_MAP key type consistency",
"description": "The SERVICE_MAP keys are the same type (all strings or all symbols) as what would be retrieved from the entity attribute — not a mix that would cause silent NullService fallbacks",
"max_score": 6
}
]
}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