Agent skill

I18n Messages

by forcedotcom in forcedotcom/salesforcedx-vscode

Editing extension i18n message files and their consumers. An agent skill from forcedotcom/salesforcedx-vscode.

BSD-3-ClauseAuto-check passedFrontend & Design

Install I18n Messages

skills CLI
$ npx skills add forcedotcom/salesforcedx-vscode --skill i18n-messages -a claude-code

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

GitHub CLI
$ gh skill install forcedotcom/salesforcedx-vscode i18n-messages --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/forcedotcom/salesforcedx-vscode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/i18n-messages .claude/skills/i18n-messages && 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-messages
GitHub stars
1k
Token cost
~855 tokens
SKILL.md length
345 words
Files
1
Skills in repo
37
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Editing extension i18n message files and their consumers. An agent skill from forcedotcom/salesforcedx-vscode.

  • Editing packages//src/messages/i18n.ts
  • SKILL.md covers Placeholder semantics, Reuse first, Per-surface style and No severity prefix, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Adding/changing nls.localize strings

What it does

I18n Messages is an agent skill from forcedotcom/salesforcedx-vscode. Editing extension i18n message files and their consumers. Use when editing packages//src/messages/i18n.ts, adding/changing nls.localize strings, or choosing placeholder tokens (%s/%d/...).

Its SKILL.md is about 860 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. It works with Salesforce. The repository describes itself as: Salesforce Extensions for VS Code. The licence is BSD-3-Clause.

When your agent uses it

  • Editing packages//src/messages/i18n.ts
  • Adding/changing nls.localize strings
  • Choosing placeholder tokens (%s/%d/...)

Example prompts

  • “/i18n-messages”

What it can do on your machine

Read from SKILL.md and the folder at commit 5972473. 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

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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 Messages loads about 855 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 345 words of instructions outside code blocks.

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

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 forcedotcom/salesforcedx-vscode at commit 5972473, republished under its BSD-3-Clause licence (© forcedotcom). 345 words, ~855 tokens.

Download SKILL.mdSave it as .claude/skills/i18n-messages/SKILL.md (or your agent's skills folder).
name
i18n-messages
description
Editing extension i18n message files and their consumers. Use when editing packages/*/src/messages/i18n.ts, adding/changing nls.localize strings, or choosing placeholder tokens (%s/%d/...).
review
always

i18n Messages

Scope:

  • packages/*/src/messages/i18n.ts + code consuming those messages via nls.localize
  • NOT package.json/package.nls.json nls strings (command titles etc.)
  • NOT unrelated code

Placeholder semantics

nls.localize(key, ...args) substitutes via node:util.format — packages/salesforcedx-vscode-i18n/src/i18n/message.ts:50 (return format(possibleLabel, ...labelArgs)).

TokenUseBehavior (node:util.format)
%sstringstring
%dcount/numbernumber as-is (3.7→3.7, no truncation)
%iintegertruncates float (3.7→3)
%ffloatfloat
%jvalueJSON
%o %Ovalueinspected object
%c—CSS directive, no output
%%literal %% only when args present; bare string skips format() (message.ts:37 args.length > 0 guard) and keeps %%
%nNONEunsupported — renders literal %n, NOT substituted

Default: counts → %d, strings → %s. (Origin: Removed %n orgs shipped literal %n.)

Arg-count gotcha

message.ts:39 counts specifiers with /%[sdifj%]/g (%% excluded, L40). On mismatch it logs and trims extra args (L41-48); missing args are NOT filled — trailing unmatched tokens render literally.

  • %o %O %c substitute at runtime but are NOT in that regex → they escape arg-count validation. Avoid relying on them; prefer %s/%d/%j.
  • %n is not counted and not a real token → expected-count is off by what you intended and the %n prints literally.

Reuse first

grep package.nls.json for an existing equivalent before adding — reuse, don't duplicate.

Per-surface style

From salesforcedx-vscode-org (src/messages/i18n.ts, package.nls.json):

SurfaceExampleCapPunctuation
Command title (package.nls.json *_text)SFDX: Create a Default Scratch Org...Title Case, SFDX: prefixnone (... ok for further input)
QuickPick/InputBox placeholderi18n.ts:67 Select scratch orgs and sandboxes to deletesentencenone
Confirm prompti18n.ts:68 Permanently delete %d org(s)? This cannot be undone.sentenceterminal ./?
Notification (show*Message)i18n.ts:92 ... orgs expire in the next %d days. ...sentenceterminal .
Button/action labeli18n.ts:69,70 Delete, LogoutTitle Casenone
Tree/status-bar label+tooltipi18n.ts:96 Open Default Org in BrowserTitle Casenone
Log/channel line—sentence.
Validation error—sentenceterminal .

No severity prefix

Don't prefix new strings with Error:/Warning: — the show*Message API supplies severity. i18n.ts:92 (Warning: One or more...) is a legacy anti-pattern; don't copy it, and don't edit it (out of scope). See vscode-window-messages.

Cross-ref

vscode-window-messages covers the notification/button API (which show*Message, return values, Effect, modal). This skill is the message text. Don't duplicate API guidance here.

package.json / package.nls.json command titles, menus, and notification slot keys: command-ui.

© forcedotcom, BSD-3-Clause. 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 .claude/skills/i18n-messages of forcedotcom/salesforcedx-vscode.

Open the folder on GitHubat commit 5972473

Compare with similar skills

I18n Messages 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 Messages compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
I18n Messages this skillforcedotcom/salesforcedx-vscode1k—~855Automated safety check: PassBSD-3-Clause
I18n Usagehardisgroupcom/sfdx-hardis402—~479Automated safety check: PassAGPL-3.0
Experience Lwc Rtl Validateforcedotcom/sf-skills1.1k—~2.8kAutomated safety check: PassApache-2.0
Experience UI Bundle Localizeforcedotcom/sf-skills1.1k—~5.8kAutomated safety check: PassApache-2.0
Experience Aura Lwc Migrateforcedotcom/sf-skills1.1k—~3.5kAutomated safety check: PassApache-2.0
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT

Similar skills

  • I18n Usage

    hardisgroupcom/sfdx-hardis

    Code examples and patterns for using i18n translations in sfdx-hardis source code (uxLog, uxLogTable, prompts, markers).

    402 GitHub stars~479 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Experience Lwc Rtl Validate

    forcedotcom/sf-skills

    A skill your agent uses to review a Lightning Web Component (.html, .js, .css files) for right-to-left (RTL) internationalization correctness, producing a finding list with code-level fixes covering…

    1.1k GitHub stars~2.8k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Experience UI Bundle Localize

    forcedotcom/sf-skills

    MUST activate to localize / internationalize a uiBundles//src/ project (React or Angular): extract hardcoded user-facing strings into Custom Labels, wire a runtime i18n library over the Platform SDK…

    1.1k GitHub stars~5.8k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Experience Aura Lwc Migrate

    forcedotcom/sf-skills

    A skill your agent uses to analyze a Salesforce Aura component bundle (.cmp, .app, .evt, .intf, Controller.js, Helper.js, Renderer.js) and produce a framework-agnostic migration blueprint (PRD.yaml…

    1.1k GitHub stars~3.5k tokensUpdated 2 days ago
    Product & Project ManagementAuto-check passed
  • 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 27 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 15 days ago
    Frontend & DesignAuto-check passed

More from forcedotcom/salesforcedx-vscode

All 37 skills in this repo
  • Command UI

    forcedotcom/salesforcedx-vscode

    Command palette, CodeLens, context menus, package.nls titles, and NotificationModeService.

    1k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Services Extension Consumption

    forcedotcom/salesforcedx-vscode

    Consume the salesforcedx-vscode-services extension API. An agent skill from forcedotcom/salesforcedx-vscode.

    1k GitHub stars~5k tokensUpdated yesterday
    Auto-check passed
  • Changelog

    forcedotcom/salesforcedx-vscode

    Polish the automated CHANGELOG on develop before the next stable build.

    1k GitHub stars~3.3k tokensUpdated yesterday
    Auto-check passed
  • Core Extension API

    forcedotcom/salesforcedx-vscode

    Public API exported by salesforcedx-vscode-core activate(). An agent skill from forcedotcom/salesforcedx-vscode.

    1k GitHub stars~842 tokensUpdated yesterday
    Auto-check passed
  • Drivable Vscode

    forcedotcom/salesforcedx-vscode

    Operate a real VS Code instance through drivable-vscode. An agent skill from forcedotcom/salesforcedx-vscode.

    1k GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Effect Best Practices

    forcedotcom/salesforcedx-vscode

    Enforces Effect-TS patterns for services, errors, layers, atoms, and Effect.pipe composition.

    1k GitHub stars~6.2k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about I18n Messages

What does I18n Messages do?

Editing extension i18n message files and their consumers. An agent skill from forcedotcom/salesforcedx-vscode. I18n Messages is an agent skill from forcedotcom/salesforcedx-vscode. Editing extension i18n message files and their consumers.

When should I use I18n Messages?

I18n Messages fits situations like: editing packages//src/messages/i18n.ts; adding/changing nls.localize strings; choosing placeholder tokens (%s/%d/...).

How do I install I18n Messages in Claude Code?

Run `npx skills add forcedotcom/salesforcedx-vscode --skill i18n-messages -a claude-code`. Or copy the skill folder (.claude/skills/i18n-messages in forcedotcom/salesforcedx-vscode) into .claude/skills/i18n-messages in your project. Claude Code loads it when a task matches its description.

How do I install I18n Messages in Codex?

Run `npx skills add forcedotcom/salesforcedx-vscode --skill i18n-messages -a codex`. Or copy the skill folder (.claude/skills/i18n-messages in forcedotcom/salesforcedx-vscode) into .agents/skills/i18n-messages in your project. Codex loads it when a task matches its description.

Can I use I18n Messages 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 forcedotcom/salesforcedx-vscode --skill i18n-messages -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-messages, .gemini/skills/i18n-messages, .github/skills/i18n-messages and .opencode/skills/i18n-messages in your project.

What does I18n Messages need to run?

SKILL.md names no scripts, command-line tools or credentials: I18n Messages is instructions for the agent only.

Does I18n Messages 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 Messages 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 Messages use?

I18n Messages is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does I18n Messages use?

About 855 tokens (SKILL.md is roughly 3.4k 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 Messages?

Skills that share tags, products or a category with I18n Messages: I18n Usage (hardisgroupcom/sfdx-hardis, 402 stars), Experience Lwc Rtl Validate (forcedotcom/sf-skills, 1.1k stars), Experience UI Bundle Localize (forcedotcom/sf-skills, 1.1k stars) and Experience Aura Lwc Migrate (forcedotcom/sf-skills, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains I18n Messages?

forcedotcom (a GitHub organization) maintains it in forcedotcom/salesforcedx-vscode, which has 1,035 GitHub stars. The repository holds 37 skills in this directory. The repository was last updated on October 9, 2026.

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