No slash command · from xcode-integration
Coordinates translation of an Xcode project or its String Catalogs (.xcstrings) into other languages. This is the main skill to activate when asked to work on translating strings, adding languages or working with .xcstrings files. Handles the full workflow: preparing the project for a new language, fetching untranslated strings, delegating translation work, and verifying results.
Ships in xcode-integration. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Orchestrate the translation of an Xcode project by preparing it, fetching untranslated strings, and delegating translation work to sub-agents. Access String Catalogs only through the tools below—never write .xcstrings files directly. Never translate strings directly. Instead, fetch the context that sub-agents need to succeed as translators.
| Tool | Purpose |
|---|---|
LocalizationPlanner | Prepare project for new language (creates String Catalogs, adds locale) or other localization changes |
StringCatalogRead | Get string keys by translation state (new, needs_review, translated, machine_translated) |
Call LocalizationPlanner first when adding a new language to a project. Skip if the user instructs you to, or if the user only requested translation of a few specific strings.
If the tool's nextStep output says to build the project, build the project—only building extracts strings from code into newly created String Catalogs.
Identify all String Catalogs relevant to the user's request. If the user's request is very broad, all catalogs may be relevant.
If the prompt already contains per-locale key lists, skip this step, as you have already been given the keys and languages to translate.
Otherwise, call StringCatalogRead with the file path, target locale, and requestedState: "new" to get untranslated strings. You can also request "needs_review" or "machine_translated" states to improve existing translations.
If totalForRequestedState exceeds the number of returned keys, paginate by increasing offset until you have collected all keys. Collect all keys before moving to step 4.
The keys are unique identifiers to strings in this String Catalog. Use them exactly as returned by this tool in any operations or operations in sub-agents that you conduct.
Split the fetched strings into batches and delegate each batch to a sub-agent.
StringCatalogRead into batches of up to 15 strings each. Smaller batches produce better translations because sub-agents can dedicate more attention to context and terminology per string.xcode-integration:translation skill to translate their batch. Tell them to skip the LocalizationPlanner tool—you ran it for them.xcode-integration:translation Skill, and provide the target locale, the tab identifier, the String Catalog path, and the key list to them. See the examples below for the exact format.If you have any string keys that represent an app name (e.g. CFBundleDisplayName, CFBundleName), make sure to put them at the top of the first batch to translate. This way subsequent translations can reuse chosen terminology.
Once all sub-agents have completed their tasks, use the StringCatalogRead tool to verify the strings you requested to translate are translated.
Prepares an Xcode project for localization. Call this each time you are tasked with adding a language to the project, or to translate an entire project or feature. It is ok to skip this tool if requested explicitly.
| Parameter | Type | Required | Description |
|---|---|---|---|
tabIdentifier | String | Yes | Workspace tab identifier |
targetLocaleIdentifier | String | Yes | Locale identifier (e.g., de, pt-PT) |
| Field | Type | Description |
|---|---|---|
nextStep | String | What to do next (e.g. "ready for translation") |
stepsFailed | String? | Failed steps requiring manual intervention |
changesMade | String? | List of changes successfully made |
suggestions | String? | Non-blocking suggestions the user may want to follow (e.g., migrate .strings to String Catalogs) |
stringCatalogPaths | [String] | Absolute paths to all String Catalogs in workspace |
Follow the instructions in the nextStep field.
Returns string keys grouped by translation state for the requested locale. Includes counts of all string keys grouped by translation state. Supports pagination. Curly apostrophes and quotes are escaped (e.g., \u2019 for curly apostrophe, \u201C for curly quote).
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
tabIdentifier | String | Yes | — | Workspace tab identifier |
filePath | String | Yes | — | Path to String Catalog (relative or absolute) |
targetLocaleIdentifier | String | Yes | — | Locale to check translations for (e.g., de, pt-PT) |
requestedState | String? | No | nil | State to retrieve: new, needs_review, translated, machine_translated. If omitted, only counts for all states are returned. |
keyLimit | Int | No | 50 | Maximum keys to return |
offset | Int | No | 0 | Keys to skip (for pagination) |
Always returned:
| Field | Type | Description |
|---|---|---|
newCount | Int | Untranslated strings |
needsReviewCount | Int | Strings marked needs review |
translatedCount | Int | Human-translated strings |
machineTranslatedCount | Int | Machine-translated strings |
When requestedState is provided:
| Field | Type | Description |
|---|---|---|
requestedState | String | The requested state bucket |
totalForRequestedState | Int | Total keys in state bucket before pagination |
returnedCount | Int | Keys returned after pagination |
keys | [String] | Array of string keys |
A key can appear in multiple state buckets if variants have different states.
&, NOT &. The same goes for all other HTML/XML entities — never write <, >, ", or '; write the literal <, >, ", ' characters instead. The String Catalog stores Unicode text, not XML, so any & would ship verbatim into the app. Other non-ascii characters do not need extra escaping either.pt_BR, use pt_BR; if told zh-TW, use zh-TW). If the user only names a language/region in prose (e.g., "Brazilian Portuguese", "Traditional Chinese"), derive a BCP 47 identifier with hyphens (pt-BR, zh-Hant) rather than underscores. The explicit-code rule always wins over the BCP 47 default.LocalizationPlanner tool. Once completed, the project is ready for localization.StringCatalogRead on the relevant String Catalogs to understand what string keys need translating.============
Translate the strings for the following keys into Japanese (ja). Skip running the LocalizationPlanner tool. Do NOT spawn further sub-agents. Translate only the keys listed below. Use the xcode-integration:translation Skill.
IMPORTANT: Use the keys EXACTLY as written below, including all escaping. You must preserve this escaping exactly when passing the key to StringCatalogContext and StringCatalogEdit.
key1
key2
key3
============
StringCatalogRead to verify that each requested string has received a translation.LocalizationPlanner and StringCatalogRead since the user already specified which strings to translate.============
Translate the strings for the following keys into Japanese (ja). Skip running the LocalizationPlanner tool. Do NOT spawn further sub-agents. Translate only the keys listed below. Use the xcode-integration:translation Skill.
IMPORTANT: Use the keys EXACTLY as written below, including all escaping. You must preserve this escaping exactly when passing the key to StringCatalogContext and StringCatalogEdit.
key1
key2
key3
============
StringCatalogRead to verify that each requested string has received a translation.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub chrislaupama/apple-dev-kit --plugin xcode-integration15 skills in this plugin
/accessibility-dynamic-type-specialistAudits views for compliance with Apple's Dynamic Type accessibility nutrition label. Checks that text scales with the user's preferred size, fonts use text styles or UIFontMetrics, and layouts adapt for accessibility sizes. Use when the user asks to check Dynamic Type support, verify text scaling, or audit the Dynamic Type nutrition label./accessibility-sufficient-contrast-specialistAudits views for compliance with Apple's Sufficient Contrast accessibility nutrition label (WCAG 2.1 contrast ratios). Use when the user asks to check color contrast, audit contrast ratios, verify the Sufficient Contrast nutrition label, or review a view for accessibility./accessibility-voiceover-specialist