agentleFS
MicrosoftKnown publishermicrosoft/intelligent-terminal/.github/skills/store-listing-localizer/SKILL.md

store-listing-localizer

Skill2k starsChanged 4 months agoMITView on GitHub

Automate Microsoft Store (Partner Center) listing localization for Intelligent Terminal (Store ID 9NMQC2SSJX24). Use when asked to export/import Store listings, localize release notes / descriptions / captions / features into 80+ languages, update listingData CSV, or push Store listing translations without manually clicking through Partner Center. Drives Partner Center export/import via the Playwright MCP and merges per-locale translations into the listingData CSV.

Trending

Quiet since September.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 1 mentionJul 2026: 3 mentionsAug 2026: 2 mentionsSep 2026: 3 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/intelligent-terminal repository that our weekly crawl found: only 10 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about microsoft/intelligent-terminal

The biggest 5 of 10 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 10

Talked about on GitHub and Bluesky (10 times).

On GitHub · 9

4 more on GitHub

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the new en-US text is given in the prompt, write it to an overrides file and pass it to both scripts:

    line 78
  2. Very specific:

    Run any script with --help for its options.

    line 98
  3. Very specific:

    Stale translations are the #1 risk: When an en-US field changes, every locale still holds the *previous version's* text.

    line 102

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Store Listing Localizer

End-to-end automation for localizing the Intelligent Terminal Microsoft Store listing: export the listingData CSV from Partner Center, localize the changed fields (release notes, description, captions, features) into all 80+ Store locales using the repo's terminology rules, then import the result — without manually logging into and clicking through the Partner Center web UI.

  • Store ID: 9NMQC2SSJX24 · Overview: https://partner.microsoft.com/en-us/dashboard/products/9NMQC2SSJX24/overview
  • The CSV has 89 locale columns × ~450 field rows. See listing-csv-format.md.

When to Use This Skill

  • "Export the Store listings and localize the release notes to all languages."
  • "The en-US release note changed — update every locale and re-import."
  • Updating Store description / screenshot captions / features across locales.
  • Any Partner Center listing export → translate → import round trip.
  • The new en-US text may come from the export CSV or be given in the prompt (handled via en-US overrides — see below).

Prerequisites

  • Playwright MCP registered as playwright in ~/.copilot/mcp-config.json (@playwright/mcp, --browser msedge, dedicated --user-data-dir, --output-dir <repo>\Generated Files\playwright-mcp). Write browser outputs to a per-run subfolder store-listing-localizer/<YYYY-MM-DD>/… (pass that as the filename subpath). Restart Copilot CLI after enabling it, then sign into Partner Center once in the launched Edge window. Full setup + gotchas: partner-center-mcp-workflow.md.
  • Node.js (uses only built-ins; scripts/ has no npm dependencies).
  • AppName table — the per-locale product names ship with the skill at references/intelligent-terminal-translations.md, and apply.mjs defaults to it. Override with --appnames <path> only if you maintain a newer copy elsewhere.

Workflow

Track progress with a TODO list; each step links to its reference.

  1. Export the listing CSV from Partner Center — partner-center-mcp-workflow.md#export. Copy the downloaded listingData-9NMQC2SSJX24-*.csv into a clean working dir.
  2. Build the work order — lists every translatable field with its en-US source and which locales are stale:

    node scripts/extract.mjs --csv <export.csv> [--enus <overrides.json>] --out work-order.json
  3. Translate each changed field into every target locale, following localization-rules.md (locked tokens, .resw terminology alignment, RTL handling). Use per-language sub-agents for breadth + a reviewer pass. Emit translations.json keyed { "<locale>": { "<Field>": "<text>" } }.
  4. Merge (--appnames defaults to the bundled references/intelligent-terminal-translations.md):

    node scripts/apply.mjs --csv <export.csv> [--appnames <translations.md>] \
      --translations translations.json [--enus overrides.json] \
      [--changed-fields ReleaseNotes] --out <stem>-localized.csv
  5. Verify the output (cols/rows unchanged, spot-check locales), then import <stem>-localized.csv — partner-center-mcp-workflow.md#import.
  6. Review in the UI and publish the submission separately (import only stages the listing).

en-US supplied in the prompt (not from the CSV)

When the new en-US text is given in the prompt, write it to an overrides file and pass it to both scripts:

// enus.json
{ "ReleaseNotes": "Version v0.1.1600\n\n- New: ...\n- Fixed: ..." }

--enus updates the en-US column and marks the field as changed, so stale per-locale values are never preserved (see Gotchas).

Scripts

ScriptPurpose
scripts/extract.mjsBuild a translation work order (what to translate, into which locales).
scripts/apply.mjsMerge translations + AppName table into the export → *-localized.csv.
scripts/fields.mjsField classification (appname / translate / verbatim) + AppName-table parser.
scripts/csvlib.mjsQuote-aware CSV parse/serialize (UTF-8 BOM + CRLF, embedded newlines).

Run any script with --help for its options.

Gotchas

  • Stale translations are the #1 risk. When an en-US field changes, every locale still holds the previous version's text. apply.mjs has an automatic version-drift safety net: for any field whose en-US value carries a v<x.y.z> token (e.g. ReleaseNotes), a locale whose existing text has a different token is treated as stale and refreshed to the new en-US — even if you forget --changed-fields. Still pass --enus (or --changed-fields) for changed fields to be explicit; the guard is a backstop. Verified: without any flag, a German release note that kept v0.1.1531 while en-US moved to v0.1.1600 is now auto-refreshed.
  • The Playwright MCP needs a CLI restart to load, and a dedicated Edge profile dir (never the live Edge\User Data, which is locked while Edge runs).
  • Import ≠ publish. Importing stages the draft listing; the submission must be published separately.
  • Never edit the Field/ID/Type columns or split the CSV on raw newlines — ReleaseNotes/Description contain embedded newlines. Use csvlib.mjs.
  • Locale codes are lowercase in the CSV (zh-cn), mixed-case in .resw (zh-CN). Match case-insensitively when borrowing terminology.
  • Version string is locked (Version v0.1.1600) — copy verbatim per locale; only translate the bullet text. Keep brand/tech tokens (Copilot, CLI, Agent pane, PowerShell) in English.
  • Product name IS localized in body text. apply.mjs replaces "Intelligent Terminal" inside Description/ReleaseNotes/Features with the locale's AppName (matching the Title), e.g. de-DE "Intelligentes Terminal", zh-CN "智能终端". This is URL-safe (the github.com/microsoft/intelligent-terminal URL is untouched). Don't hand-keep the English name in translated bullets.
  • ReleaseNotes has a hard 1500-character limit PER LOCALE (Description 10000, ShortDescription 1000). Translations expand vs. English by up to ~1.3–1.4×, so a 1280-char en-US ReleaseNotes produced 1680-char translations that failed the whole import mid-run ("Processing failed" → View errors → "ReleaseNotes is too long"). Keep en-US ReleaseNotes ≤ ~1100 chars and tell the translation sub-agents the ≤1400 target explicitly. apply.mjs now runs the length guard before writing and refuses to emit an over-limit CSV (exits non-zero, no output file) — so a known-bad file can't be imported.

Troubleshooting

IssueSolution
Playwright (playwright/*) MCP tools not availableThe Playwright MCP didn't load — restart Copilot CLI; confirm the playwright entry in ~/.copilot/mcp-config.json.
Export lands on a login pageCorp SSO session expired — complete the interactive Microsoft login + MFA in the Edge window, then retry.
Profile-lock / "browser in use" error--user-data-dir points at the live Edge profile; use the dedicated msstore-playwright-profile dir.
Import rejected / mojibakeOutput must be UTF-8 BOM + CRLF with unchanged col/row counts — apply.mjs does this; don't re-save the CSV in another editor.
A locale shows the old version numberThe field wasn't marked changed — re-run apply.mjs with --enus/--changed-fields.

References

  • partner-center-mcp-workflow.md — Playwright MCP export/import steps, auth, selectors.
  • listing-csv-format.md — CSV schema and field handling.
  • localization-rules.md — terminology, locked tokens, .resw alignment.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.