Przejdź do treści
Biblioteka skilli
Programowanie · Planowanie

i18n-localization

/i18n-localization

Planuje i przegląda zmiany lokalizacyjne w aplikacji, dokumentacji i na stronie: wyodrębnianie ciągów, routing locale, liczby mnogie, formaty, RTL i katalogi komunikatów.

Repozytorium
agents ↗
Licencja
MIT
Ostatnia zmiana repozytorium
31.08.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
11
Skrypty
8
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 31.08.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 8 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/asset_toolkit/__init__.py, scripts/asset_toolkit/_shared.py, scripts/asset_toolkit/common.py, scripts/asset_toolkit/package.py, scripts/asset_toolkit/validate_evals.py, scripts/asset_toolkit/validate_hooks.py, scripts/asset_toolkit/validate_skill.py, scripts/check.py

Co robi i kiedy

Planuje i przegląda zmiany lokalizacyjne w aplikacji, dokumentacji i na stronie: wyodrębnianie ciągów, routing locale, liczby mnogie, formaty, RTL i katalogi komunikatów.

Argumenty

/i18n-localization <mode> [surface-or-locales]
Oryginalny opis (EN)

Plan and review localization changes across app, docs, and web surfaces. Use for string extraction, locale routing, plural/date/number formatting, RTL, pseudo-locale QA, message catalogs, and translation readiness. NOT for generic copy editing, frontend visual design, SEO, or JavaScript conventions.

Jak działa

  1. Canonical Vocabulary
  2. Dispatch
  3. Reference File Index
  4. Critical Rules
  5. Workflow
  6. Progressive Disclosure
  7. Output Shape
  8. Validation Contract
Sekcje z nagłówków SKILL.md, w oryginale · 138 linii, 1 097 słów
Podgląd SKILL.md
---
name: i18n-localization
description: >-
  Plan and review localization changes across app, docs, and web surfaces. Use
  for string extraction, locale routing, plural/date/number formatting, RTL,
  pseudo-locale QA, message catalogs, and translation readiness. NOT for generic
  copy editing, frontend visual design, SEO, or JavaScript conventions.
argument-hint: "<mode> [surface-or-locales]"
model: opus
license: MIT
metadata:
  author: wyattowalsh
  version: "1.0.0"
---

# i18n Localization

Use this skill to plan, review, or harden localization work across product UI, documentation, marketing pages, emails, and web/app routing surfaces.

## Canonical Vocabulary

| Term | Meaning |
|---|---|
| **locale** | Language plus optional regional conventions, such as `en`, `en-US`, or `ar-EG` |
| **message catalog** | Source of translated strings and message metadata |
| **ICU message** | Message format that models variables, plurals, selects, and ordinals safely |
| **pseudo-locale** | Test locale that expands and marks strings to reveal hardcoded text and layout clipping |
| **RTL** | Right-to-left layout direction for languages such as Arabic and Hebrew |
| **fallback** | Intentional behavior when a locale, key, or translation is missing |

## Dispatch

| `$ARGUMENTS` | Mode | Output |
| --- | --- | --- |
| Empty | Localization audit | Inspect the current surface, identify locale risks, and return a prioritized remediation plan. |
| App, route, feature, or file path | Implementation plan | Map the affected strings, routing, formatting, QA, and release checks for that scope. |
| Locale or market list | Locale readiness review | Verify language, region, formatting, routing, fallback, and translation handoff requirements. |
| Existing plan or diff | Review | Check for missed strings, unsafe concatenation, formatting bugs, catalog drift, RTL gaps, and missing tests. |
| Natural language outside localization | Redirect | Explain the scope boundary and route to the better skill. |

When the user gives no arguments, start with a localization audit of the relevant repository or product surface. Do not ask for locale preferences until the codebase and user request leave a real decision unresolved.

## Reference File Index

| File | Read When |
|---|---|
| `references/localization-checklist.md` | Planning, implementing, reviewing, testing, or releasing localization work |

## Critical Rules

1. Treat localization as a product contract, not a translation pass. Cover routing, formatting, accessibility, search metadata, analytics labels, emails, and support surfaces when they are in scope.
2. Never concatenate translated fragments to build a sentence. Use full messages with variables, ICU/select/plural forms, or the framework's equivalent message format.
3. Keep user-visible strings out of business logic and shared constants unless the system already has a catalog abstraction for that layer.
4. Use locale-aware formatters for dates, times, numbers, currencies, lists, relative times, units, and names. Do not hand-roll formatting with string templates.
5. Separate language from region. `en`, `en-US`, and `en-GB` can imply different copy, dates, currency, measurement units, and legal content.
6. Define fallback behavior explicitly. Missing translations should fail visibly in development and degrade intentionally in production.
7. Include pseudo-locale checks for expansion, accenting, bracket markers, interpolation safety, and truncation.
8. Include RTL and bidirectional text checks when any Arabic, Hebrew, Persian, Urdu, or mixed-direction user content can appear.
9. Preserve stable message keys. Do not churn catalogs or invalidate translation memory unless the source message meaning changes.
10. Keep translators away from code syntax. Provide notes, screenshots, variable descriptions, character constraints, and product context.

## Workflow

### 1. Scope The Surface

Identify the surfaces affected by the request:

- UI components, server-rendered pages, native screens, emails, PDFs, docs, notifications, error states, empty states, and transactional copy.
- Route structure, locale negotiation, redirects, canonical URLs, hreflang, sitemap entries, and persisted user locale preferences.
- Data-driven content, CMS fields, markdown/docs content, legal text, pricing, units, and market-specific availability.

If the request is implementation work, read the existing i18n library, routing conventions, catalog format, and test patterns before proposing changes.

### 2. Extract And Model Messages

For each string-bearing surface:

- Move user-visible strings into the existing catalog or message layer.
- Use full-sentence messages with named variables.
- Model plural, select, gender, ordinal, and count-sensitive text with ICU-style variants or the framework's native equivalent.
- Add translator descriptions for ambiguous labels, product terms, placeholders, and variables.
- Keep stable keys tied to semantic meaning, not English wording alone.

Avoid generic keys such as `title`, `subtitle`, or `buttonText` unless they are nested under a stable feature namespace.

### 3. Localize Formatting

Check all locale-sensitive values:

- Date, time, timezone, relative time, and calendar assumptions.
- Number, decimal, percent, currency, accounting, compact notation, and unit formatting.
- Lists, names, addresses, phone numbers, postal codes, sorting, casing, and search normalization.
- Form validation, parsing, masks, and server/client round-trip behavior.

Prefer platform formatters such as `Intl.*`, framework helpers, or vetted library APIs.

### 4. Route And Persist Locale

Verify:

- How the app chooses a locale: URL prefix, domain, account setting, cookie, browser language, or explicit selector.
- Whether redirects are deterministic and cache-safe.
- Whether canonical URLs, alternate links, metadata, Open Graph, sitemap, robots rules, and docs navigation match the locale strategy.
- Whether APIs, background jobs, and emails receive the same locale context as the visible app.

Do not mix locale negotiation and authentication or billing policy unless the product already couples those concepts.

### 5. Test And QA

At minimum, recommend or add checks for:

- Catalog completeness and unused key detection.
- Missing interpolation variables.
- Pseudo-locale rendering.
- Snapshot or visual coverage for expanded strings and RTL layout where relevant.
- Formatting tests for representative locales, including at least one non-US locale.
- Accessibility checks for language attributes, direction, screen reader labels, and translated aria text.

For review tasks, report what the available tests prove and what still requires visual or translator QA.

## Progressive Disclosure

- Start with this `SKILL.md` for routing, hard rules, and output shape.
- Read `references/localization-checklist.md` only when planning, reviewing, or releasing concrete localization work.
- Do not preload unrelated frontend, SEO, copywriting, or JavaScript guidance.
- Use the existing project i18n library and catalog format before introducing new tooling.

## Output Shape

Return concise, implementation-oriented output:

- **Findings** for audits and reviews, ordered by severity with file or route references.
- **Plan** for implementation requests, ordered by dependency: routing/catalog foundation, extraction, formatting, QA, release.
- **Acceptance Criteria** that include catalog completeness, pseudo-locale, formatting, fallback, and route/SEO checks when relevant.
- **Open Questions** only for unresolved choices that cannot be grounded in the codebase or user request.

Do not rewrite marketing copy unless the user explicitly asks for copy editing. Do not perform general frontend redesign unless localization exposes a concrete layout or directionality defect.

## Validation Contract

Run from this skill directory before declaring changes complete:

```bash
python scripts/check.py
```

Completion criteria:

1. `scripts/check.py` exits 0.
2. No portable-CLI violations remain under this skill directory.
3. A smoke review of the dispatch table covers empty, explicit, implicit, and negative-control prompts.
Pliki w paczce (11)
  • SKILL.md 8 KB
  • evals/evals.json 2 KB
  • references/localization-checklist.md 3 KB
  • scripts/check.py 2 KB
  • scripts/asset_toolkit/__init__.py 1 KB
  • scripts/asset_toolkit/_shared.py 6 KB
  • scripts/asset_toolkit/common.py 3 KB
  • scripts/asset_toolkit/package.py 43 KB
  • scripts/asset_toolkit/validate_evals.py 11 KB
  • scripts/asset_toolkit/validate_hooks.py 13 KB
  • scripts/asset_toolkit/validate_skill.py 4 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · wyattowalsh/agents100MIT
travisjneuman/.claude95MIT
wrongstack/wrongstack90MIT

Migawka bazy z 28.10.2026 · wersja paczki c915d5e125d2 (skrót SHA-256 całej paczki)

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100i18n-and-localization
    Przegląda lokalizację aplikacji React Native pod kątem wyodrębnionych ciągów, liczby mnogiej, formatowania zależnego od ustawień regionalnych i układu RTL.
  • 100i18n
    Obsługuje internacjonalizację i lokalizację: wyodrębnianie ciągów, tłumaczenia, liczby mnogie, formaty dat, liczb i walut, obsługę RTL oraz walidację zestawów znaków.
  • 100flutter-localization
    Dodaje do Flutter tłumaczenia, inicjalizację lokalizacji, przełączanie języka i liczby mnogie przez easy_localization z plikami CSV lub JSON.
  • 100localization
    Wdraża lokalizację (i18n i l10n) w Godot 4.3+: TranslationServer, pliki tłumaczeń CSV i PO, przełączanie języka, obsługę RTL i liczby mnogie.
  • 100localization-stinger
    Wdraża w wybranym frameworku webowym routing języków, zasoby komunikatów, ICU i liczbę mnogą, formatowanie Intl oraz RTL, a także przegląd tłumaczeń w zadanym zakresie.
  • 90flutter-localization
    Implementuje i przegląda lokalizację we Flutterze z gen_l10n, zasobami ARB, liczbami mnogimi, formatowaniem zależnym od ustawień regionalnych, układem RTL i testami lokalizacji.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.