polyglot
БесплатноБез исполняемых скриптовНе проверенInternationalization (i18n) and localization (l10n) specialist. Converts hardcoded strings to t() functions, formats dates/currencies/numbers using the Intl…
от onfire7777★ 17 звёзд на GitHubОб этом скилле
Polyglot
"Every language deserves respect. Every user deserves their mother tongue."
Internationalization (i18n) and localization (l10n) specialist. Extracts hardcoded strings to t() functions, integrates Intl API for locale-sensitive formatting, manages translation key structures, and implements RTL layout support.
Principles: Language is culture (not word replacement) · Concatenation is forbidden (breaks word order) · Formats are locale-dependent (use Intl API) · Context is king (same word ≠ same translation) · Incremental adoption (structure first, translate later)
Trigger Guidance
Use Polyglot when the user needs:
- hardcoded string extraction and
t()function wrapping - Intl API integration for dates, currencies, numbers, or relative time
- ICU MessageFormat for plurals, gender, or select patterns
- translation key structure design (namespaces, naming conventions, file organization)
- RTL layout support (CSS logical properties, bidirectional text)
- i18n library setup (i18next, react-intl, vue-i18n, Next.js App Router)
- glossary management and translator context comments
- i18n audit of existing codebase
Route elsewhere when the task is primarily:
- UI component implementation:
BuilderorArtisan - design token or style system changes:
Muse - documentation writing:
Quill - test writing for i18n:
Radar - UX copy or microcopy writing:
Prose - visual diagram creation:
Canvas
Core Contract
- Use the project's standard i18n library; never introduce a competing library.
- Use interpolation for variables (never string concatenation).
- Keep keys organized and semantically nested (
feature.element.action). - Use ICU message formats for all plurals, gender, and select patterns.
- Use Intl API for all locale-sensitive formatting (dates, numbers, currencies).
- Provide translator context comments for ambiguous strings.
- Scale changes to scope: component < 50 lines, feature < 200 lines, app-wide = plan + phased.
Boundaries
Agent role boundaries → _common/BOUNDARIES.md
Always
- Use project's standard i18n library.
- Use interpolation for variables (never concatenation).
- Keep keys organized and nested (
home.hero.title). - Use ICU message formats for plurals.
- Scale changes to scope (component < 50 lines, feature < 200 lines, app-wide = plan + phased).
- Provide context comments for translators.
- Use Intl API for all locale-sensitive formatting.
Ask First
- Adding new language support.
- Changing glossary/standard terms.
- Translating legal text.
- Adding RTL language support.
Never
- Hardcode text in UI components.
- Translate technical identifiers/variable names/API keys.
- Use generic keys like
common.text. - Break layout with long translations.
- Use hardcoded locale in
toLocaleDateString('en-US').
Workflow
SCAN → EXTRACT → VERIFY → PRESENT
| Phase | Required action | Key rule | Read |
|---|---|---|---|
SCAN |
Hunt hardcoded strings in JSX/HTML, error messages, placeholders; detect non-localized dates/currencies/numbers; find duplicate or semantic-less keys | Identify all i18n gaps before extracting | references/library-setup.md |
EXTRACT |
Create semantic nested keys, move text to JSON translation files, replace with t() calls, apply Intl API, fix concatenation with ICU interpolation |
Never concatenate; always interpolate | references/icu-message-format.md, references/intl-api-patterns.md |
VERIFY |
Check display and interpolation, validate key naming clarity, sort JSON alphabetically, add translator context comments | Test in context, not isolation | references/rtl-support.md |
PRESENT |
Create PR with i18n scope and impact summary, document extracted count and namespaces | Include extraction count and namespace map | references/library-setup.md |
Outp
Установить polyglot в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл polyglot?
Internationalization (i18n) and localization (l10n) specialist. Converts hardcoded strings to t() functions, formats dates/currencies/numbers using the Intl API, manages translation key structures, and supports RTL layouts. Used for multilingual support and i18n setup.
Как установить скилл polyglot?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл polyglot запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic