Curated library of 42 public AI agent skills for Ruby on Rails development, plus 5 callable workflow skills. Organized by category: planning, testing, code-quality, ddd, engines, infrastructure, api, patterns, context, orchestration, and workflows. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and TDD automation.
96
96%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Risky
Do not use without reviewing
RSpec.describe PricingCalculator::Factory do
describe '.for' do
let(:order) { create(:order) }
context 'when plan is nil' do
before { order.update!(plan: nil) }
it { expect(described_class.for(order)).to be_a(PricingCalculator::NullService) }
end
context 'when plan is inactive' do
before { order.plan.update!(active: false) }
it { expect(described_class.for(order)).to be_a(PricingCalculator::NullService) }
end
context 'when plan is standard' do
before { order.plan.update!(name: 'standard', active: true) }
it { expect(described_class.for(order)).to be_a(PricingCalculator::StandardPricingService) }
end
context 'when plan name is unknown' do
before { order.plan.update!(name: 'enterprise', active: true) }
it { expect(described_class.for(order)).to be_a(PricingCalculator::NullService) }
end
end
endRSpec.describe PricingCalculator::NullService do
let(:order) { create(:order) }
it 'always returns nil' do
expect(described_class.new(order).calculate).to be_nil
end
endRSpec.describe PricingCalculator::StandardPricingService do
let(:order) { create(:order, :with_standard_plan, base_price: 100) }
describe '#calculate' do
it 'returns the discounted price for standard plans' do
expect(described_class.new(order).calculate).to eq(90)
end
context 'when plan is inactive' do
before { order.plan.update!(active: false) }
it { expect(described_class.new(order).calculate).to be_nil }
end
end
endbuild
docs
mcp_server
skills
api
generate-api-collection
implement-graphql
code-quality
apply-code-conventions
apply-stack-conventions
assets
snippets
code-review
refactor-code
respond-to-review
review-architecture
security-check
context
load-context
setup-environment
ddd
define-domain-language
model-domain
review-domain-boundaries
engines
create-engine
create-engine-installer
document-engine
extract-engine
release-engine
review-engine
test-engine
upgrade-engine
infrastructure
implement-background-job
implement-hotwire
optimize-performance
review-migration
seed-database
version-api
orchestration
skill-router
patterns
create-service-object
implement-calculator-pattern
write-yard-docs
planning
create-prd
generate-tasks
plan-tickets
testing
plan-tests
test-service
triage-bug
write-tests
workflows