Agent skill

I18n Keys

by LedgerHQ in LedgerHQ/ledger-live

Write wording keys the i18n key check can verify. An agent skill from LedgerHQ/ledger-live.

MITAuto-check passedFrontend & Design

Install I18n Keys

skills CLI
$ npx skills add LedgerHQ/ledger-live --skill i18n-keys -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LedgerHQ/ledger-live i18n-keys --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/i18n-keys .claude/skills/i18n-keys && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
i18n-keys
GitHub stars
622
Token cost
~748 tokens
SKILL.md length
329 words
Files
1
Skills in repo
51
Repo updated
First seen
Licence
MIT

At a glance

Write wording keys the i18n key check can verify. An agent skill from LedgerHQ/ledger-live.

  • Works in 3 steps: Literal at the call site:… → Domain union, key derived in one place:… → Internal prop typed as a union of full…
  • Tasks that involve Internationalization
  • SKILL.md covers Principle: the feature owns…, Write keys the check can verify and When the check fails
  • Calls pnpm and node

What it does

I18n Keys is an agent skill from LedgerHQ/ledger-live. Write wording keys the i18n key check can verify. Read when adding or changing t() / Trans i18nKey calls, key tables (titleKey, labelKey, ...) or English catalog entries in features/, domain/ or shared/, or when lint:i18n-keys fails.

Its SKILL.md is about 750 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Internationalization. The repository describes itself as: Mono-repository for Ledger Wallet apps and related packages. The licence is MIT.

When your agent uses it

  • Tasks that involve Internationalization

Example prompts

  • “/i18n-keys”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Literal at the call site: t("payTab.login.title"). Greppable, needs no types.
  2. Domain union, key derived in one place: a new member fails the check until its key exists.
  3. Internal prop typed as a union of full keys: last resort, it duplicates key strings in a type.

What it can do on your machine

Read from SKILL.md and the folder at commit 46bd13a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

I18n Keys loads about 748 tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 329 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~748

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LedgerHQ/ledger-live at commit 46bd13a, republished under its MIT licence (© LedgerHQ). 329 words, ~748 tokens.

Download SKILL.mdSave it as .claude/skills/i18n-keys/SKILL.md (or your agent's skills folder).
name
i18n-keys
description
Write wording keys the i18n key check can verify. Read when adding or changing t() / Trans i18nKey calls, key tables (titleKey, labelKey, ...) or English catalog entries in features/, domain/ or shared/, or when `lint:i18n-keys` fails.
globs
features/**/*.{ts,tsx}, domain/**/*.{ts,tsx}, shared/**/*.{ts,tsx}

i18n keys

pnpm lint:i18n-keys (tools/nx-plugins/enforce-i18n-keys) checks that every key used in features/, domain/ and shared/ exists in the English catalog of each app consuming the package: Desktop static/i18n/en/app.json, Mobile src/locales/en/common.json. .web.* files are checked against Desktop only, .native.* against Mobile only. Other locales are not checked: only edit English.

Principle: the feature owns its keys

A feature resolves its own wording with useTranslation(). Apps must not inject keys or labels into features: pass a domain id or variant (stage, status) and let the feature map it to wording. A key prop coming from apps/* is a smell; key props between components of the same package are fine.

Write keys the check can verify

A key is verified when its type is a finite set of literals. A key typed string is unverifiable: it is counted and the count may never go up (unverifiable-baseline.json). Prefer, in this order:

  1. Literal at the call site: t("payTab.login.title"). Greppable, needs no types.
  2. Domain union, key derived in one place: a new member fails the check until its key exists.
    ts
    type Stage = "intro" | "login";
    declare const stage: Stage;
    t(`payTab.login.${stage}.title`); // every Stage member is expanded and checked
  3. Internal prop typed as a union of full keys: last resort, it duplicates key strings in a type.
    ts
    type Props = { titleKey: "x.intro.title" | "x.login.title" };

What widens a key to string and hides it:

ts
const COPY: Record<Id, { titleKey: string }> = { ... }; // annotation widens: use as const satisfies
const rows = [{ key: "a" }, { key: "b" }]; // add as const
function labelKey(kind: Kind): string { ... } // annotate the literal union

Template spans must be unions or literal consts, not string or number. Template keys are not greppable: the check, not search, protects a "dead" key from deletion.

Show full SKILL.md (98 more words)Show less

When the check fails

  • missing in an app: add the key to that app's English catalog.
  • unverifiable count went up: narrow the type (above), never raise the baseline.
  • count went down (CI fails until the baseline is lowered): run node tools/nx-plugins/enforce-i18n-keys/validate.js --update-baseline.
  • a union member has no key in an app: add the key, or remove the member if that app never uses it. allowMissing in unverifiable-baseline.json lists known gaps for the owning product team to fix; do not add to it without a reason in the PR.
  • stale allowMissing entry: the gap is fixed, remove the entry.

© LedgerHQ, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/i18n-keys of LedgerHQ/ledger-live.

Open the folder on GitHubat commit 46bd13a

Compare with similar skills

I18n Keys next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

I18n Keys compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
I18n Keys this skillLedgerHQ/ledger-live622—~748Automated safety check: PassMIT
Impeccablebestofjs/bestofjs3.1k26 repos~2.6kAutomated safety check: PassMIT
Chatbox i18n Translatorchatboxai/chatbox42k—~508Automated safety check: PassGPL-3.0
Internationalization Workflow with i18niOfficeAI/AionUi33k1 repos~1.9kAutomated safety check: PassApache-2.0
Enforce Rules For I18nmoeru-ai/airi50k—~1.5kAutomated safety check: PassMIT
Claude Desktop Chinese Localizationjavaht/claude-desktop-zh-cn7.5k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 26 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Chatbox i18n Translator

    chatboxai/chatbox

    Translates new or changed i18n keys from a Chatbox Pro diff, staged changes or a commit range, writing the locale JSON files directly with a built-in glossary.

    42k GitHub stars~508 tokensUpdated 16 days ago
    Frontend & DesignAuto-check passed
  • Standards for keeping all user-facing text translatable: read the i18n config first, use namespaced keys, reuse shared strings and follow the key naming rules.

    33k GitHub starsUsed in 1 repo~1.9k tokens
    Frontend & DesignAuto-check passed
  • Review pending AIRI translations on Crowdin in a batch, then sync them into the repository.

    50k GitHub stars~1.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Claude Desktop Chinese Localization

    javaht/claude-desktop-zh-cn

    Adds missing Simplified and Traditional Chinese translations to the Claude Desktop Chinese patch across three layers, then checks how many mappings actually hit.

    7.5k GitHub stars~1.6k tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed
  • Taro UI Guide

    jd-opensource/taro-ui

    Guides installing, configuring, styling and using taro-ui (At* components) in Taro apps for WeChat, Alipay, H5 and React Native.

    4.7k GitHub stars~1.3k tokensUpdated 15 days ago
    Frontend & DesignAuto-check passed

More from LedgerHQ/ledger-live

All 51 skills in this repo
  • Impacting PRs

    LedgerHQ/ledger-live

    Find which open PRs are impacted by a migration/sunset/refactor and notify their authors — blocking review when the old path is already gone from develop, heads-up comment when it is only deprecated…

    622 GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Cloud Sync Module

    LedgerHQ/ledger-live

    Write, review or debug a cloudSyncModule.ts — a CloudSyncDataManager that syncs one slice of user data through Ledger Sync (Cloud Sync).

    622 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Codeownership

    LedgerHQ/ledger-live

    Maintain CODEOWNERS file and team directories. An agent skill from LedgerHQ/ledger-live.

    622 GitHub stars~687 tokensUpdated today
    Auto-check passed
  • Coin Families Contract

    LedgerHQ/ledger-live

    Coin-specific families logic must live in families/. An agent skill from LedgerHQ/ledger-live.

    622 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Data Layer Advanced

    LedgerHQ/ledger-live

    Structure a Ledger Wallet data layer where one API response serves several entities.

    622 GitHub stars~509 tokensUpdated today
    Auto-check passed
  • Debug Rn Native Crash

    LedgerHQ/ledger-live

    Investigate native React Native crashes (Fabric/Hermes/iOS) in ledger-live-mobile when JS error logs are missing or unhelpful.

    622 GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Questions about I18n Keys

What does I18n Keys do?

Write wording keys the i18n key check can verify. An agent skill from LedgerHQ/ledger-live. I18n Keys is an agent skill from LedgerHQ/ledger-live. Write wording keys the i18n key check can verify.

When should I use I18n Keys?

I18n Keys fits situations like: tasks that involve Internationalization.

How do I install I18n Keys in Claude Code?

Run `npx skills add LedgerHQ/ledger-live --skill i18n-keys -a claude-code`. Or copy the skill folder (.agents/skills/i18n-keys in LedgerHQ/ledger-live) into .claude/skills/i18n-keys in your project. Claude Code loads it when a task matches its description.

How do I install I18n Keys in Codex?

Run `npx skills add LedgerHQ/ledger-live --skill i18n-keys -a codex`. Or copy the skill folder (.agents/skills/i18n-keys in LedgerHQ/ledger-live) into .agents/skills/i18n-keys in your project. Codex loads it when a task matches its description.

Can I use I18n Keys in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LedgerHQ/ledger-live --skill i18n-keys -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/i18n-keys, .gemini/skills/i18n-keys, .github/skills/i18n-keys and .opencode/skills/i18n-keys in your project.

What does I18n Keys need to run?

Going by SKILL.md and its folder, I18n Keys needs the command-line tools its instructions call (pnpm and node).

Does I18n Keys access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is I18n Keys safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does I18n Keys use?

I18n Keys is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does I18n Keys use?

About 748 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to I18n Keys?

Skills that share tags, products or a category with I18n Keys: Impeccable (bestofjs/bestofjs, 3.1k stars), Chatbox i18n Translator (chatboxai/chatbox, 42k stars), Internationalization Workflow with i18n (iOfficeAI/AionUi, 33k stars) and Enforce Rules For I18n (moeru-ai/airi, 50k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains I18n Keys?

LedgerHQ (a GitHub organization) maintains it in LedgerHQ/ledger-live, which has 622 GitHub stars. The repository holds 51 skills in this directory. The repository was last updated on October 10, 2026.

Source: LedgerHQ/ledger-live on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.