CtrlK
BlogDocsLog inGet started
Tessl Logo

igmarin/ruby-core-skills

Curated library of 16 public Ruby AI agent skills: 10 atomic skills (YARD docs, service objects, calculator pattern, API clients, DDD, bug triage, code review, skill routing), 5 process-discipline skills (TDD, refactoring, review, security, test planning), and 1 planning skill (TDD task generation). Zero agents — this is a foundational library consumed by framework-specific tiles like rails-agent-skills and hanakai-yaku.

95

1.05x
Quality

96%

Does it follow best practices?

Impact

95%

1.05x

Average score across 16 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

tile.json