Check whether a translations PR provides full language coverage for all translatable strings it contains, and identify which languages are still missing. Use this whenever the user asks about translation status, whether translations are complete or ready, which languages are missing, or wants to verify a translations PR before merging. Also trigger when the user pastes a PR number or URL alongside any mention of translations, or asks something like "are we good to ship?" in a context that involves string changes.
100
100%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Advisory
Suggest reviewing before use
These are instructions for checking translation coverage in a pull request — verifying that every supported language receives all newly added or modified strings.
Complete this in four steps:
Do this before anything else.
CRITICAL: If no PR number was provided, stop immediately and ask:
"What's the translations PR number (or URL)?"
Do not run any other commands or proceed until you have a PR number.
Run this command against the PR diff to extract all translated string keys:
gh pr diff <PR_NUMBER> 2>&1 | grep '^+' | grep -v '^+++' | grep 'string name=' | sed 's/.*name="\([^"]*\)".*/\1/' | sort -uCRITICAL: If no string keys are found, report that and stop — there is nothing to check.
gh pr diff <PR_NUMBER> 2>&1 | grep '^+++' | grep 'strings.*\.xml' | grep -oE 'values-[a-z]{2}/' | cut -c1-9 | sort -uls app/src/main/res/ | grep -E "^values-[a-z]{2}$" | sortCompare the two lists to identify which supported language directories are absent from the PR diff.
Present results in this exact format:
## Translation Coverage — PR #<N>
**String keys being translated:**
- `key_one`
- `key_two`
**Languages covered:** <X> / <total>
**Missing languages:**
- `values-hu` — Hungarian
- `values-pt` — Portuguese
(or: None — all languages covered)
**Status:** COMPLETE / INCOMPLETECRITICAL: Always include the full language name alongside the directory code. If all languages are covered, say so clearly.
adccd8d
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.