CtrlK
BlogDocsLog inGet started
Tessl Logo

i18n-patterns

Implements internationalization with Rails I18n for multi-language support. Use when adding translations, managing locales, localizing dates/currencies, pluralization, or when user mentions i18n, translations, locales, or multi-language.

Install with Tessl CLI

npx tessl i github:ThibautBaissac/rails_ai_agents --skill i18n-patterns
What are skills?

84

Does it follow best practices?

Agent success when using this skill

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

100%

40%

Adding Multi-Language Support to a Products Feature

Locale file structure and view lazy lookups

Criteria
Without context
With context

Views locale in views/

0%

100%

Models locale in models/

0%

100%

Nested YAML keys

100%

100%

No flat keys

100%

100%

Lazy lookup in view

0%

100%

_html suffix for HTML

100%

100%

Interpolation not concatenation

100%

100%

Controller lazy lookup

0%

100%

ActiveRecord model structure

100%

100%

Validation error translation

100%

100%

French locale provided

100%

100%

Without context: $0.2260 · 40s · 12 turns · 13 in / 2,562 out tokens

With context: $0.6061 · 1m 32s · 32 turns · 330 in / 5,716 out tokens

100%

20%

Implementing Multi-Language Routing for a SaaS Dashboard

URL-based locale switching and i18n configuration

Criteria
Without context
With context

Route scope for locale

100%

100%

around_action :switch_locale

0%

100%

I18n.with_locale usage

0%

100%

default_url_options

100%

100%

User preference chain

100%

100%

Accept-Language extraction

100%

100%

Fallbacks enabled

100%

100%

Available locales configured

100%

100%

Default locale configured

100%

100%

i18n-tasks in development

100%

100%

URL-based locale fallback

100%

100%

Without context: $0.2227 · 44s · 12 turns · 13 in / 2,593 out tokens

With context: $0.3676 · 1m 1s · 17 turns · 66 in / 3,178 out tokens

100%

Localized Booking Summary for an Event Management Platform

Pluralization, date/currency formatting, and i18n testing

Criteria
Without context
With context

Pluralization zero/one/other

100%

100%

French pluralization

100%

100%

count: interpolation in t()

100%

100%

I18n.l for date

100%

100%

Named date formats defined

100%

100%

Currency locale formatting

100%

100%

French currency locale config

100%

100%

Nil date handling

100%

100%

i18n RSpec spec with BaseTask

100%

100%

Missing translation raises in tests

100%

100%

require i18n/tasks

100%

100%

Exception handler restored

100%

100%

Without context: $0.5075 · 1m 42s · 23 turns · 23 in / 7,199 out tokens

With context: $0.5773 · 1m 34s · 24 turns · 73 in / 6,068 out tokens

Evaluated
Agent
Claude Code

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.