CtrlK
BlogDocsLog inGet started
Tessl Logo

igmarin/rails-agent-skills

Curated library of 41 public AI agent skills for Ruby on Rails development. Organized by category: planning, testing, code-quality, ddd, engines, infrastructure, api, patterns, context, and orchestration. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and TDD automation. Repository workflows remain documented in GitHub but are intentionally excluded from the Tessl tile.

95

1.77x
Quality

93%

Does it follow best practices?

Impact

96%

1.77x

Average score across 41 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

examples.mdskills/patterns/implement-calculator-pattern/assets/

implement-calculator-pattern examples

  1. Factory usage example (Ruby)
calculator = StrategyFactory.for(account: account)
result = calculator.calculate(amount: 1000)
  1. Null calculator behavior

NullCalculator returns zeroed results and never raises, safe to use as fallback:

{ value: 0, breakdown: {}, warnings: [] }
  1. Lookup order
  • The factory tries strategies in lookup_order and falls back to null_calculator if none match.
  1. Required verification shape
  • Factory, BaseService, NullService, and concrete services each get their own RED command and GREEN checkpoint.
  • Concrete services mirror contexts for named variant, inactive plan, nil plan, and unknown variant when applicable.
  • BaseService raises NotImplementedError, "#{self.class}#compute_result must be implemented" until a concrete service implements the calculation.

skills

README.md

server.json

tile.json