AGENT SKILL

i18n

Use when the user wants to add or review internationalization and localization. Covers locale files, translation keys, pluralization, RTL, and date/number formatting.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 0
Forks
1

01 前言 Front Matter

name
i18n
triggers
[ "user" ]
description
Use when the user wants to add or review internationalization and localization. Covers locale files, translation keys, pluralization, RTL, and date/number formatting.

03 SKILL.md 正文

i18n

Internationalization and localization for multi-language apps.

When to use

  • Adding a new language.
  • Hardcoded strings need extraction.
  • Date, number, currency, or pluralization must vary by locale.
  • RTL layout support is needed.

Core protocol

  1. Find hardcoded strings. Grep for user-facing text in code.
  2. Extract keys. Move strings to locale files with meaningful keys.
  3. Choose library. i18next, react-intl, FormatJS, gettext, etc.
  4. Handle plural/gender. Use ICU messages or library helpers.
  5. Format locale-aware. Dates, numbers, currencies, relative time.
  6. Verify. Switch locales and confirm layout for LTR/RTL.

See also

  • a11y-audit — accessibility, including RTL layout.
  • i18n — multi-language, pluralization, and locale formatting.

Output rule

  • After changes, show a sample in 2+ locales and run the app tests.

04 同仓库更多 Skills

Leostruka
Leostruka/devin-bundle

montador-de-ideias

Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.

★ 0
Leostruka
Leostruka/devin-bundle

git-github-adaptive-engineering

Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.

★ 0
Leostruka
Leostruka/devin-bundle

adaptive-agenda-calendar-routine-engine

Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.

★ 0
Leostruka
Leostruka/devin-bundle

demo

Use when demonstrating a skill in a fixture project.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0