agentleFS
dtsongdtsong/agentic-council/skills/advocate-i18n-review/SKILL.md

i18n-review

Skill0 starsChanged 6 months agoApache-2.0View on GitHub

Use when reviewing internationalization readiness of a feature or codebase. Covers locale strategy, RTL layout, string externalization, pluralization, date/number formatting, and cultural UX adaptation. Do not use for general accessibility audits (use interaction-design).

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 11 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No user-provided values are used in commands or file paths.

    line 38
  2. Distinctive:

    Verify all strings use the project's i18n extraction method (message IDs, translation keys).

    line 53
  3. Distinctive:

    Check for string concatenation that breaks translator context.

    line 54
  4. Distinctive:

    Verify locale persistence across sessions and navigation.

    line 60
  5. Very specific:

    Check fallback chain (e.g., fr-CA -> fr -> en).

    line 61
  6. Distinctive:

    Check usage of ICU MessageFormat or equivalent plural rules.

    line 66
  7. Distinctive:

    Verify plural categories beyond "one/other" for languages that need them (zero, two, few, many).

    line 67
  8. Very specific:

    Verify use of Intl.DateTimeFormat, Intl.NumberFormat, or equivalent locale-aware APIs.

    line 72
  9. Distinctive:

    Check currency display respects locale conventions.

    line 74
  10. Distinctive:

    Verify timezone handling for date display.

    line 75
  11. Very specific:

    Check for CSS logical properties (inline-start/inline-end vs left/right).

    line 79
  12. Very specific:

    Verify dir="rtl" attribute propagation.

    line 80
  13. Distinctive:

    Check text alignment and reading order in mixed-direction content.

    line 82
  14. Distinctive:

    Check for culturally sensitive icons, colors, or imagery.

    line 87
  15. Distinctive:

    Verify text expansion accommodation (German ~30% longer than English).

    line 88

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

I18n Review

Purpose

Evaluate internationalization readiness across UI, data, and content layers to ensure the product works correctly for users in any locale.

Scope Constraints

Reads source code, templates, and configuration for i18n analysis. Does not modify files or execute code. Does not perform actual translations.

Inputs

  • Feature description or codebase path to review
  • Target locales (or "all" for general readiness)
  • Known i18n framework in use (react-intl, next-intl, i18next, etc.), if any
  • Any existing translation files or locale configs

Input Sanitization

No user-provided values are used in commands or file paths. All inputs are treated as read-only analysis targets.

Procedure

Progress Checklist

  • Step 1: Audit string externalization
  • Step 2: Evaluate locale strategy
  • Step 3: Review pluralization handling
  • Step 4: Check date/number/currency formatting
  • Step 5: Assess RTL layout support
  • Step 6: Evaluate cultural UX adaptation

Step 1: Audit String Externalization

  • Scan for hardcoded user-facing strings in source files.
  • Verify all strings use the project's i18n extraction method (message IDs, translation keys).
  • Check for string concatenation that breaks translator context.
  • Flag template literals with embedded logic that prevent proper translation.

Step 2: Evaluate Locale Strategy

  • Identify how locale is detected (browser, URL, user preference, geo-IP).
  • Verify locale persistence across sessions and navigation.
  • Check fallback chain (e.g., fr-CA -> fr -> en).
  • Confirm locale switching does not cause full page reloads or state loss.

Step 3: Review Pluralization Handling

  • Check usage of ICU MessageFormat or equivalent plural rules.
  • Verify plural categories beyond "one/other" for languages that need them (zero, two, few, many).
  • Flag any manual plural logic (ternary operators, count === 1 checks).

Step 4: Check Date/Number/Currency Formatting

  • Verify use of Intl.DateTimeFormat, Intl.NumberFormat, or equivalent locale-aware APIs.
  • Flag hardcoded date patterns (MM/DD/YYYY) or number separators.
  • Check currency display respects locale conventions.
  • Verify timezone handling for date display.

Step 5: Assess RTL Layout Support

  • Check for CSS logical properties (inline-start/inline-end vs left/right).
  • Verify dir="rtl" attribute propagation.
  • Flag hardcoded directional icons (arrows, chevrons) that need mirroring.
  • Check text alignment and reading order in mixed-direction content.

Step 6: Evaluate Cultural UX Adaptation

  • Review form fields for locale assumptions (name format, address, phone).
  • Check for culturally sensitive icons, colors, or imagery.
  • Verify text expansion accommodation (German ~30% longer than English).
  • Assess sort order and collation for locale-appropriate sorting.

Compaction resilience: If context was lost, re-read the Inputs section to identify the review target, check the Progress Checklist for completed steps, then resume from the earliest incomplete step.

Output Format

CategoryFindingSeverityRecommendation
String externalization...High/Med/Low...
Locale strategy.........
Pluralization.........
Date/Number formatting.........
RTL support.........
Cultural adaptation.........

Handoff

  • Hand off to interaction-design if component-level state changes are needed for locale-specific UI adaptations.
  • Hand off to craftsman/pattern-analysis if i18n framework integration patterns need implementation review.

Quality Checks

  • All hardcoded user-facing strings identified
  • Locale detection and fallback chain documented
  • Plural rules go beyond simple one/other where needed
  • Date/number formatting uses locale-aware APIs
  • RTL layout assessed with logical properties
  • Text expansion impact on layouts evaluated
  • Form fields checked for locale assumptions
  • Severity ratings applied to all findings

Evolution Notes

<!-- Observations appended after each use -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.