Curated library of 16 public Ruby AI agent skills covering TDD, refactoring, code review, security review, DDD, YARD documentation, and common design patterns.
94
96%
Does it follow best practices?
Impact
94%
1.13xAverage score across 16 eval scenarios
Advisory
Suggest reviewing before use
# frozen_string_literal: true
module PricingCalculator
class BaseService
def initialize(order)
@order = order
end
def calculate
return nil unless should_calculate?
compute_result(@order.base_price)
end
private
def should_calculate? = @order.present? && @order.plan&.active?
def compute_result(_price)
raise NotImplementedError, "#{self.class}#compute_result must be implemented"
end
end
end# frozen_string_literal: true
module PricingCalculator
class NullService < BaseService
private
def should_calculate? = false
def compute_result(_price) = nil
end
end# frozen_string_literal: true
module PricingCalculator
class StandardPricingService < BaseService
DISCOUNT = 0.10
private
def should_calculate?
super && @order.plan.name == 'standard'
end
def compute_result(base_price)
base_price * (1 - DISCOUNT)
end
end
end.tessl-plugin
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
skills
code-quality
respond-to-review
ddd
define-domain-language
model-domain
review-domain-boundaries
docs
write-yard-docs
orchestration
skill-router
patterns
create-service-object
implement-calculator-pattern
planning
generate-tdd-tasks
process
testing
triage-bug