Skill v1.0.2
Automated scan100/1003 files
name: translation-release-audit description: Audit FeedFlow localization, store listing, live App Store/Play Store listing state, and screenshot-copy changes. Use when checking whether new app translations were added or completed, whether store copy/localized listings changed, whether live store metadata is stale, or whether screenshots need to be regenerated or uploaded. metadata: version: "1.0.2"
Translation Release Audit
Run this audit when the user wants a release-readiness signal for translations, live store listings, or screenshots.
Scope
Check these FeedFlow paths:
- App strings:
i18n/src/commonMain/resources/locale/values*/strings.xml - Generated locale code:
i18n/src/commonMain/kotlin/com/prof18/feedflow/i18n/Locales.kt,i18n/src/commonJvmAndroidMain/kotlin/com/prof18/feedflow/i18n/Locales.commonJvmAndroid.kt,i18n/src/iosMain/kotlin/com/prof18/feedflow/i18n/Locales.ios.kt - Source store copy:
assets/storecopy/** - Source screenshot copy:
assets/screenshotcopy/** - Google Play listing output:
androidApp/src/googlePlay/play/listings/** - Website/store screenshot assets when changed:
assets/linux-screenshots/**,website/static/images/screenshots/**,website/data/screenshots.yml
Optional live-store checks:
- Google Play Console listing, only when a reliable read path is available
- App Store Connect metadata and screenshots, using
asc - Microsoft Store (Partner Center) listing, using
pcenter
Workflow
- Inspect the relevant git window.
- For a weekly audit, compare changes from the last 7 days with
git log --since="7 days ago" --name-status -- <paths>. - If there are uncommitted changes, include
git status --shortandgit diff --name-status -- <paths>separately. - For a PR or branch audit, compare against the merge base with the target branch when known.
- Classify changes into:
App translations: new locale folders, modifiedstrings.xml, removed strings, or regenerated locale code.Completed translations: locales whosestrings.xmlnow has the same string-key set asvalues/strings.xml, ignoring files outside the app-string path.Store copy: changes underassets/storecopyor generated Play listing text files.Completed store copy: locales underassets/storecopy/<locale>/whose store-facing source copy is fully translated and ready in the codebase compared withassets/storecopy/base/.Screenshot copy: changes underassets/screenshotcopy.Completed screenshot copy: locales underassets/screenshotcopy/<locale>/whose screenshot text is fully translated and ready in the codebase compared withassets/screenshotcopy/base/.Screenshot assets: changed PNG/WebP screenshot files or screenshot metadata.
- For app translations, compare every changed locale file against
i18n/src/commonMain/resources/locale/values/strings.xml.
- Report missing keys and extra keys by locale.
- Treat a locale as completed only when no keys are missing.
- For store copy, flag the operational action:
- Source copy changed under
assets/storecopy: Play/App/Microsoft store metadata may need syncing or upload only when the changed locale's store copy is fully translated in the codebase. - Generated Play listing text changed under
androidApp/src/googlePlay/play/listings: Google Play metadata has changed and may need upload. - Distinguish these cases before writing follow-up:
source == live storeandgenerated output != source: the live store is current; update the generated local output and do not create a store-upload TODO.source != live store: the live store is stale; create a TODO that names the exact store and fields to sync.source completebut no generated/local/live locale exists: create a TODO that names the missing locale/output/store setup.- Before creating a store sync/upload card, validate source field limits for the target store. If complete source copy exceeds a store limit, do not create a sync/upload card; create a source-copy fix card naming the exact over-limit fields and limits.
- For screenshot copy/assets, flag the operational action:
assets/screenshotcopychanged: localized screenshot generation may be needed only when the changed locale's screenshot copy is fully translated in the codebase.- Store listing screenshot images changed: store screenshots may need upload.
- Website screenshot assets changed: website screenshot gallery/hero may need deploy.
- If live store checking is requested or this is the weekly automation, compare against current store state when credentials are available.
- Google Play: read live state with
.scripts/pull-google-play-listing.py(see Live Store Checks), never with Gradle Play Publisher bootstrap. If the script's config is unavailable, report the live check as unavailable and continue with checked-in listing output/source-copy checks. - App Store: pull metadata/screenshots into a temp directory and compare against FeedFlow's source store/screenshot copy where mapping is clear.
- Microsoft Store: read the live listing with
pcenter listing showand compare againstassets/storecopy/<locale>/.
- Add follow-up TODOs to the FeedFlow native Obsidian Base when the audit finds actionable store release work.
- Base path:
/Users/mg/Workspace/Notes/projects/feed-flow/feed-flow-board.base. - Create exactly one Markdown item note per operational action in
/Users/mg/Workspace/Notes/projects/feed-flow/items/, with YAML frontmatterStatus: marketingand an integerPositionsorted ascending within that column. Add optionalReference: <URL>for a useful store, PR, or source URL; display this property asLinkin the Base. - Keep item titles short and concrete, but include the exact thing to change: store, locale, and field or asset type. Use the existing examples below as the title text, without Markdown checkbox syntax:
Sync App Store Russian subtitle, keywords, and promotional textGenerate Google Play Latvian listing text outputUpload App Store Finnish metadataRegenerate App Store Russian iPhone/iPad screenshotsUpdate checked-in Google Play Russian title, short description, and full description from live/source- Do not add items just because a translation was created or changed. Add items only after verifying the relevant source copy is complete in the repo: store metadata items require complete
assets/storecopy/<locale>/content; screenshot items require completeassets/screenshotcopy/<locale>/content. - Keep store metadata follow-up and screenshot generation/upload follow-up as separate items when both apply.
- Do not add items for app-string translation gaps, incomplete store/screenshot copy, non-actionable status, credential setup noise, or findings already represented by an existing item.
- If the Base is unavailable or cannot be updated, include the item title in the final report under
Action neededinstead.
Live Store Checks
Google Play
Use gplay (PollyGlot/google-play-cli), which reads the service account from the macOS Keychain. metadata pull reads the live listings inside a read-only Play edit and discards it, so nothing is committed or published. Always pull into a temporary directory, never under androidApp/src/googlePlay/play/:
audit_dir="$(mktemp -d /private/tmp/feedflow-play-listing.XXXXXX)"gplay metadata pull --package com.prof18.feedflow --dir "$audit_dir" --output json
It writes <locale>/title.txt, short_description.txt and full_description.txt (underscores). Compare them with the checked-in androidApp/src/googlePlay/play/listings/<locale>/title.txt, short-description.txt and full-description.txt (hyphens). A field that is empty on Play writes no file.
Live screenshot counts are unavailable for now: in gplay 2.3.2, gplay metadata images list and images pull fail with HTTP 400 on promoGraphic. Report screenshot drift from committed/local evidence only, and retry gplay metadata images list --package com.prof18.feedflow --output json after upgrading gplay. .scripts/pull-google-play-listing.py still works when a key file is passed explicitly with --credentials, but none is kept on disk any more.
If gplay auth status shows no active account or the pull fails on auth, report the live check as unavailable.
Do not use Gradle Play Publisher bootstrap tasks during the recurring audit. They reset the existing Play directory and can delete/partially replace tracked graphics and release notes. Never run any publish* task during this audit.
Google Play live check: unavailable - gplay is not installed or not logged in
Latvian (lv) is supported by Google Play but is not a supported App Store Connect metadata locale. Exclude Latvian from App Store metadata, field-limit, and screenshot checks and follow-up cards; Latvia uses English (U.K.). Audit Latvian Play copy and screenshots according to their own source completeness. Verify Apple locale support before flagging a missing App Store localization.
Still compare local source and checked-in generated Play output:
- If
assets/storecopy/<locale>/is complete butandroidApp/src/googlePlay/play/listings/<locale>/is missing/stale, update or create generated local text output when possible, or create a Base item naming the exact local output work. - If checked-in Play screenshots/assets changed, create screenshot upload/regeneration Base items only from committed/local evidence. Use the audit script's image counts to identify live screenshot drift.
App Store
Use the asc-cli-usage skill before designing or changing asc commands. Discover flags with --help if needed.
Resolve the app and version:
asc apps list --bundle-id "com.prof18.feedflow" --output json --prettyasc versions list --app "APP_ID" --output json --pretty
Then pull live metadata into a temp directory:
asc metadata pull --app "APP_ID" --version "VERSION" --platform IOS --dir "/tmp/feedflow-asc-metadata" --force --output json --pretty
For screenshots, list localizations and screenshot sets first, then download into a temp directory:
asc localizations list --version "VERSION_ID" --output json --prettyasc screenshots list --version-localization "LOCALIZATION_ID"asc screenshots download --version-localization "LOCALIZATION_ID" --output-dir "/tmp/feedflow-asc-screenshots/LOCALE" --overwrite
Compare live App Store metadata with assets/storecopy/** where the field mapping is obvious. Compare live screenshot presence/counts with generated screenshot expectations when available; do not treat different App Store processing filenames as meaningful by themselves. The current asc screenshots-list JSON response uses a sets array, with each set's screenshots nested inside it; it does not expose screenshots in a top-level data array. Count those nested arrays before declaring screenshots missing, and download only sets whose screenshot count is nonzero.
For App Store metadata, validate field limits before syncing or creating Base items. Current limits used by asc metadata validate: name 30, subtitle 30, keywords 100, description 4000, promotional text 170. If source fields exceed these limits, the actionable item should be about shortening/fixing the source copy, not syncing ASC.
If asc is missing, auth is unavailable, or the app/version cannot be resolved, report App Store live check: unavailable with the reason.
Microsoft Store
Use pcenter (workflows live in the update-microsoft-store-listing skill). Everything below is read-only and mutates nothing; never run listing push, publish, submission or rollout subcommands during an audit.
Check availability first, and report Microsoft Store live check: unavailable with the reason if it fails:
pcenter auth doctor --output json
Then read the live listing. Prefer listing show over listing pull: it writes nothing, so the audit needs no temp directory and leaves nothing to clean up.
pcenter locales list --output jsonpcenter listing show --output json # every localepcenter listing show --locale it --output json # one localepcenter listing show --locale it --images --output json
Output is JSON whenever stdout is a pipe. listing show returns {source, submissionId, localeCount, listings}, keyed by lowercase locale, each carrying title, description, features, keywords, copyrightAndTrademarkInfo, licenseTerms, recommendedHardware, minimumHardware and imageCount. Image binaries cannot be downloaded through the Submission API, so screenshot checks are limited to counts, captions and Store ids — never report Microsoft Store screenshots as "missing" on the basis that no files came back.
Field mapping to FeedFlow source copy:
| Live listing field | Source | |
|---|---|---|
description | assets/storecopy/<locale>/microsoft_store_description.md | |
title | title in assets/storecopy/base/store_listing.json — en-us only, see below | |
| release notes | assets/storecopy/microsoft-store-release-notes.json (owned by the update-store-release-notes skill; not part of the listing) |
Three things will produce false findings unless you handle them:
- Normalize whitespace before comparing descriptions. The repo hard-wraps
microsoft_store_description.md at about 80 columns; the Store stores the text unwrapped. A raw diff therefore reports every locale as different. Collapse runs of whitespace on both sides (re.sub(r"\s+", " ", text).strip()) and compare that.
- A source file existing does not mean the locale is translated. Some
assets/storecopy/<locale>/microsoft_store_description.md files are still the English base text, and diff against base will call them "different" purely because of the wrapping above. Compare each locale's normalized text against normalized assets/storecopy/base/microsoft_store_description.md: if they are equal, the locale is an untranslated placeholder. Never create a sync card for one — pushing it would replace a correctly translated live listing with English.
- Titles are per-locale and optional. Some locales carry a
titleand some return
"". An empty title is normal and must not be reported as drift, and neither must a locale whose title differs from the repo: the Microsoft Store title is a reserved product name chosen in Partner Center, not free text, so a difference is something to confirm with the user rather than a field to sync. (A locale being newly added is the exception — it must carry a title or the submission fails with MissingTitle — but that is the generator's job, not the audit's.)
Locale matching is case-insensitive. Expect the two sets not to line up, and say so plainly rather than treating every difference as drift:
- A Store locale with no
assets/storecopy/<locale>/directory is not translated in the
repo. Report it; do not create a card unless the user is adding that language.
- A
assets/storecopy/<locale>/with no Store locale is copy the Microsoft Store does not
serve. Adding a Store language is a Partner Center decision, so report only.
- Regional variants (
devsde-de,esvses-es,glvsgl-es,zh-cnvs
zh-hans) are separate Store locales. Do not silently fold them together.
Validate source field limits before creating any sync card. Microsoft Store limits: description 10,000 characters; product features up to 20 items of 200 characters each; minimum/recommended hardware up to 11 items of 200 characters each; "what's new" 1,500 characters. If complete source copy exceeds a limit, the actionable card is about shortening the source, not syncing the Store.
To act on a finding, generate the listing files from the canonical copy rather than editing them by hand:
pcenter listing pull --dir .pcenter.scripts/generate-microsoft-store-listing.py --dir .pcenter --dry-run
The generator skips untranslated placeholders and locales the Store does not serve, so its own output is a second opinion on this audit. It never writes title. Pushing stays a human step — report the commands, do not run listing push during an audit.
Output
Keep the report short and decision-oriented:
Weekly translation/store auditAction needed:- ...No action:- ...Details:- App translations: ...- Store copy: ...- Screenshot copy/assets: ...Live store state:- <locale> Google Play — source: current|incomplete; checked-in output: current|stale;live store: current|stale|unavailable; action: <exact action or none>.- <locale> App Store — source: current|incomplete; live metadata: current|stale|unavailable;screenshots: present|missing|unavailable; action: <exact action or none>.- <locale> Microsoft Store — source: current|incomplete|absent; live listing:current|stale|unavailable; images: <count> (binaries not downloadable);action: <exact action or none>.Recommended next commands:- ...
For every locale with an actionable store finding, keep source, checked-in generated output, and live-store state on the same line. Never call a store “stale” when only the checked-in output is stale: explicitly say that no store upload is needed when source equals live store but generated output differs from source. Likewise, distinguish complete screenshot copy from uploaded screenshot assets; the former makes a locale ready to generate, while the latter is the live-store upload state.
If nothing changed, say that no translation, store-copy, or screenshot action is needed.
Obsidian Base Follow-Up
When store action is needed, create one compact Base item note per operational outcome so the work is not lost after the audit thread ends. Do not create Base items for missing app-string translations; those belong only in the audit report. Each item is a single Markdown note in /Users/mg/Workspace/Notes/projects/feed-flow/items/ and must have YAML frontmatter with Status: marketing and an integer Position; add optional Reference: <URL> when a useful supporting URL exists. The Base displays Reference as Link. Do not create a separate detail note for the same task.
- App Store metadata stale:
Sync App Store <locale> <fields> - App Store source copy over limits:
Shorten App Store <locale> <fields> to <limits> - Google Play live metadata stale:
Sync Google Play <locale> <fields> - Microsoft Store live listing stale:
Sync Microsoft Store <locale> <fields> - Microsoft Store source copy over limits:
Shorten Microsoft Store <locale> <fields> to <limits> - Google Play generated output stale but live matches source: update the generated files during the audit; if that is blocked, use
Update checked-in Google Play <locale> <fields> from live/source - Store copy complete in repo but locale not created/shipped:
Add <locale> store metadata to <supported stores>orGenerate <store> <locale> listing output - Screenshots stale or incomplete:
Regenerate/upload <store> <locale> <device/form-factor> screenshots - Screenshot copy complete in repo but screenshots not regenerated/uploaded:
Create localized screenshots for <locale> - Store or screenshot locale scaffold incomplete: report only; do not create a Base item until the relevant source copy is complete.
Before creating an item, search every note under /Users/mg/Workspace/Notes/projects/feed-flow/items/, including notes with no Status, plus all Base statuses including done and user requests archive, for duplicates. The .base file defines views and filters; it is not the item database. Match the main noun phrase and locale/platform names. For the recurring schedule, prepend new items in the marketing column: validate that existing Position values there are integers with no duplicates, capture the original ranks and recheck each file before shifting existing positions by +1 in descending order, then create the new item with Position: 1. If any write or creation fails, restore completed rank changes only when their current values still match this operation; preserve concurrent edits and report incomplete recovery. If existing metadata is missing, malformed, or conflicting, stop and report the conflict instead of guessing or overwriting. Preserve existing item metadata and bodies when updating positions. Do not edit a Markdown board, add checkbox rows, or create a second separate detail note.
Guardrails
- Do not translate strings.
- Do not generate screenshots unless the user asks.
- Do not upload store metadata or screenshots unless the user asks.
- Microsoft Store reads only:
auth doctor,locales list,listing show,submission status,rollout status,app info. Neverlisting push,publish,submission commit/delete-draft, or anyrolloutmutation during an audit. - If translation resources changed, remind the user that
.scripts/refresh-translations.shshould be run before Gradle checks.