agentleFS
hoatv2211hoatv2211/GameStudio-CodexKIT/skills/localization-authority-audit/SKILL.md

localization-authority-audit

Skill3 starsChanged 3 months agoMITView on GitHub

Use when auditing localization source authority, generated copies, translation keys, missing or extra entries, mismatched text, encoding, mojibake, or client and server localization drift.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use for missing keys, extra keys, stale translations, client/server text drift, generated localization copies, encoding mismatches, UTF-8 …

    line 35
  2. Distinctive:

    Do not use for Lua packet/RPC field contracts or bulk encoding conversion without project-specific approval and backup.

    line 38
  3. Distinctive:

    Read-only audit first. Never bulk-convert encodings, normalize multilingual text, or edit generated copies before source authority and …

    line 44
  4. Distinctive:

    Verify file encodings with evidence before decoding or comparing text.

    line 49
  5. Distinctive:

    Do not “fix mojibake” through bulk replacement.

    line 66
  6. Very specific:

    Use the bundled scripts/localization_audit.py on normalized maps and project-local copy/generation documentation.

    line 78

≈ “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

Localization Authority Audit

Overview

Identify the localization source of truth and compare every generated or copied map without rewriting multilingual data or masking encoding problems.

When to use

Use for missing keys, extra keys, stale translations, client/server text drift, generated localization copies, encoding mismatches, UTF-8 versus legacy encodings, or mojibake.

When NOT to use

Do not use for Lua packet/RPC field contracts or bulk encoding conversion without project-specific approval and backup.

Required inputs and context discovery

Collect authority path, copy/generated paths, generation pipeline, locale list, key format, encoding evidence, fallback behavior, runtime owner, and protected vendor/generated data.

Safety and risk level

Read-only audit first. Never bulk-convert encodings, normalize multilingual text, or edit generated copies before source authority and backup are verified.

Workflow

  1. Identify source authority, generated copies, runtime consumers, and fallback order. Completion criterion: unknown authority remains BLOCKED.
  2. Verify file encodings with evidence before decoding or comparing text. Completion criterion: mojibake is not mistaken for a translation difference.
  3. Normalize keys without changing source text and compare missing, extra, and mismatched entries. Completion criterion: every finding cites authority and copy locations.
  4. Trace generation or copy synchronization for stale outputs. Completion criterion: the editable source and regeneration path are known.
  5. Propose source-first fixes, targeted encoding handling, and verification fixtures. Completion criterion: no bulk conversion or generated-file hand edit is proposed without safeguards.

Evidence and output contract

Produce localization-audit.json with authority, encodings, locales, missing/extra/mismatched keys, generation paths, runtime fallback, limitations, and source-first recommendations.

Handoff contract

Record authority and copy paths, encoding evidence, key mismatches, generated no-touch files, unresolved locale ownership, and next safe action.

Pitfalls and anti-rationalization

  • Similar-looking text may be encoded differently.
  • Do not “fix mojibake” through bulk replacement.
  • Generated copies are not the authority unless explicitly verified.
  • Missing runtime access is BLOCKED for live rendering confirmation.

Verification checklist

  • Authority and copies are classified.
  • Encodings were checked before comparison.
  • Missing, extra, and mismatched keys are separate.
  • Generation paths remain source-first.
  • No bulk encoding mutation occurred.

References and scripts

Use the bundled scripts/localization_audit.py on normalized maps and project-local copy/generation documentation.

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.