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-patterns84
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillAgent success when using this skill
Validation for skill structure
Locale file structure and view lazy lookups
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
URL-based locale switching and i18n configuration
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
Pluralization, date/currency formatting, and i18n testing
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
Table of Contents
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.