What problem does it solve?
Editing internationalized message strings in the Salesforce VS Code extension codebase is error-prone: placeholder tokens behave differently under node:util.format, arg-count mismatches silently render literal tokens, and style conventions vary per UI surface. This Skill encodes those rules so message edits are correct and consistent.
Core Features & Use Cases
- Placeholder semantics reference: Documents how %s, %d, %i, %f, %j, %o, %O, %c, and %% behave under node:util.format, including the unsupported %n token and the arg-count validation regex gotcha.
- Per-surface style guide: Defines capitalization and punctuation conventions for command titles, QuickPick placeholders, confirm prompts, notifications, buttons, tree labels, logs, and validation errors.
- Reuse-first workflow: Instructs checking package.nls.json for existing equivalent strings before adding new ones, and forbids severity prefixes like "Error:" that duplicate the show*Message API.
- Use Case: When adding a new notification such as "Deleted %d orgs", use this Skill to pick the right token (%d not %n), match sentence-case style with terminal punctuation, and avoid duplicating an existing string.
Quick Start
Ask the AI to add or update an nls.localize message in packages/*/src/messages/i18n.ts following the i18n-messages conventions.