/timbroddin-skills:swift-missing-translationsfrom timbroddin-skills
Audits Swift/SwiftUI projects for missing translations in .xcstrings catalogs, computes per-language coverage, finds hard-coded UI literals, and bulk-translates gaps.
Ships in timbroddin-skills. 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.
Read when SKILL.md points to them; scripts run unread.
End-to-end loop: audit → translate → wire up Swift-side leaks → verify. Use when the user wants to localize an iOS app or hunt down strings that haven't been translated yet.
Before running anything, derive what you can from the repo, then ask only what's left in a single batched message. Don't assume the source language.
Read first:
find . -name "*.xcstrings" → catalog paths.sourceLanguage field, set of locales used (union of localizations keys).Features/, Views/, App/, Components/, Screens/.grep -rn "selectedLanguage\|@AppStorage.*lang" and look for \.locale injected at the root view. Determines whether references/wire-up.md §d applies.Ask only when not derivable:
If the user invoked the skill bare, summarise what you found and what you intend to do, then wait for go-ahead.
Run the bundled script:
python3 scripts/audit.py <project-root>
It outputs JSON with coverage (per-language counts) and literals (UI literals not in the catalog, with the LocalizedStringKey shape Swift would build and an auto_localizes flag).
Render coverage as one markdown table (don't reprint per phase). Group literals by file. Surface only the highlights to the user — full output is for your reasoning, not the chat log.
For each missing-language cell, generate a translation. Hard rules:
%@, %lld, %.1f, %@%% placeholders in position, same count, same order. Validate before writing — reject any translation where the multiset of placeholder tokens differs from the source.%@, =, →, ·, ×, ✓, brand names).1 X and %lld Xs), translate each separately.Write back to the xcstrings JSON: state: "translated", preserve Xcode's pretty-print (2-space indent, alphabetical key order, trailing newline).
For >100-cell fills, checkpoint per language: write en, build, test compiled .strings, then de, etc. So a placeholder bug doesn't pollute every language at once.
Show 5 sample rows × all target languages before bulk-writing, so the user can sanity-check tone.
The catalog can be 100% covered and the UI still ships in the source language. Read references/wire-up.md when the audit's literals list is non-empty or when the user reports a string still rendering in the source language despite a translated catalog.
Quick index of what's in there — load the file when one of these matches:
String-typed view properties → §aString enum returning UI labels → §b (watch for Hashable + .uppercased() traps)String passed to Text(verbatim:) / AttributedString → §cLocaleBundle helper)AppShortcuts.xcstrings for Siri phrases → §eAppEnum for Int parameters in shortcut phrases → §f{name} placeholders from a JS i18n import → §gaudit.py. Coverage 100%, literals list empty (or only intentional cases — flag those).xcodebuild build for the simulator. Catalog edits may not show until a clean build rewrites <lang>.lproj/Localizable.strings.plutil -p <DerivedData>/.../<App>.app/de.lproj/Localizable.strings | grep "key fragment"
xcrun simctl terminate <udid> <bundle-id>), relaunch, walk the main flows. Running apps don't pick up new bundle resources..strings files (pre-iOS 17). Flag and offer to migrate; don't auto-edit.xcstringstool sync). Work within that flow, don't manually edit auto-extracted keys.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
localization, xcstrings, ios-localization, translation-audit
Other plugins' skills for the same job
Generated from the plugin's indexed repository (timbroddin/skills) — no native marketplace selected
npx claudepluginhub p/timbroddin-timbroddin-skills5 skills in this plugin
/app-store-asoGenerate optimized Apple App Store metadata recommendations with ASO best practices. Use this skill when analyzing app listings, optimizing metadata (title, subtitle, description, keywords), performing competitive analysis, or validating App Store listing requirements. Triggers on queries about App Store optimization, metadata review, or screenshot strategy./codex-review-loopRequest a Codex review on the current PR, wait for it, auto-fix the findings, and loop until the review comes back clean. Use when the user wants to "run the codex review loop", "get codex to review and fix", "@codex review and fix the remarks", iterate on Codex/OpenAI PR review feedback automatically, or run /codex-review-loop. Drives the GitHub Codex bot (the `@codex review` PR comment) round after round until there are no more actionable remarks or a max-iteration cap is hit./pickupPick up an issue that's ready for an agent and work it end-to-end. Reads the project issue tracker for issues carrying the AFK-ready triage label (default `ready-for-agent`), picks one, checks it's actually ready, then implements it via /tdd or /diagnose and opens a PR. Use when the user wants to grab an issue, work the next ready-for-agent ticket, start AFK work, or run /pickup. This is the "Work" entry point for the to-prd → to-issues → triage → pickup pipeline; it pairs with mattpocock/skills./youtube-researchDeep LLM-driven research over one or more YouTube channels' videos. Lists each channel's catalog, filters videos by topic relevance, transcribes only the relevant ones, then synthesizes a single cross-channel research document with timestamped citations. Use when the user runs /youtube-research or asks to research, summarize, analyze, compare, or extract topics from a YouTube channel, multiple channels, or a specific YouTube video. Subtitles-first via yt-dlp, falls back to local Whisper (mlx-whisper, whisper.cpp, or openai-whisper) for videos without subs. Uses a hidden workspace at ./.youtube-research/ for intermediate artifacts (channel indexes, transcripts) and writes the final research artifact to the current working directory. Asks the user before deleting the workspace at the end.