A guide your agent follows
One SKILL.md file tells the agent what to do, step by step, plus notes for Tamil, Malay, Arabic, Hindi, Chinese, Japanese, German, Spanish, French and Indonesian.
nativeskill teaches your AI coding agent to translate your app the way a native speaker would. App only in English? Your agent adds new languages properly. Already have a few? It checks them and gives you a clear list of what's wrong.
npx skills add Kamaleshkabeerdoss/ nativeskill --skill nativeskillExample run on the Flutter sample app in the repo. Its English file has a “Sign out” button, a “Pay {amount}” button and an item count.
{amount} kept exactly as it was0 problems2 plural formsReal findings from the repo's deliberately broken Arabic sample file. Six of the nine shown here.
{amount} was translated to {المبلغ}, so the app can't fill in the pricemust fixpay{{name}} was changed to {name}must fixnamedYour app is in English, or in a couple of languages. Ask your agent to add more. nativeskill gives it a step-by-step guide, a library of words real apps already use, and a checker that runs until the files are clean.
# look for text typed straight into the code $ node scripts/scan.mjs examples/flutter/lib/main.dart \ examples/android/res/layout examples/flutter/lib/main.dart:12 Cancel subscription examples/android/res/layout/activity_main.xml:4 Pay now 2 hardcoded strings # These two can't be translated until they move into # the language file. The agent moves them.
# what word do real Tamil apps use for "Sign out"? $ node scripts/lookup.mjs ta auth.sign_out button { "name": "Tamil", "wording": { "status": "source-attested", "entries": [{ "text": "வெளியேறு", "english": "Log out", "source": { "id": "django-admin", "license": "BSD-3-Clause" } }] } } # trimmed. "source-attested" = a real, well-known app # (here Django) ships this exact word for this button.
$ ls lib/l10n app_ar.arb app_de.arb app_en.arb app_ms.arb app_ta.arb $ cat lib/l10n/app_de.arb { "@@locale": "de", "signOut": "Abmelden", "payNow": "{amount} bezahlen", "itemCount": "{count, plural, one {# Artikel} other {# Artikel}}" } # Same keys as the English file. {amount} and {count} # are untouched, so the app can still fill them in.
# first try for Arabic: English plural forms copied over $ node scripts/check.mjs --source lib/l10n/app_en.arb \ --target lib/l10n/app_ar.arb --locale ar --source-locale en error plural-missing itemCount count is missing cardinal zero, two, few, many. 1 errors, 0 warnings # agent adds the missing forms and runs it again $ node scripts/check.mjs … --target lib/l10n/app_ar.arb --locale ar 0 errors, 0 warnings $ node scripts/check.mjs … --target lib/l10n/app_ta.arb --locale ta 0 errors, 0 warnings $ node scripts/check.mjs … --target lib/l10n/app_de.arb --locale de 0 errors, 0 warnings
Ask your agent to check the languages you ship. It goes through every file and gives you each problem with the line it's on, what's wrong, and a suggested fix.
{amount} or %1$s where the app puts in a price or a name. If one is translated, renamed or dropped, the screen shows the wrong thing or crashes.A word-for-word translation uses the same word everywhere. But the same English word often means different things depending on where it appears, so another language needs different words.
$ node scripts/check.mjs --source examples/buggy/app_en.arb \ --target examples/buggy/app_ar.arb --locale ar --source-locale en error placeholder-mismatch androidStyle Placeholders changed. Source has %1$s. Target has none. error icu-syntax broken Target message: Unclosed {count, plural} warning possible-source-copy copied Text matches the source. error plural-missing count count is missing cardinal zero, two, few, many. warning extra-key extra This key is absent from the source catalog. error placeholder-mismatch named Placeholders changed. Source has {{name}}. Target has {name}. error missing-key onlySource This source message has no target entry. error placeholder-mismatch pay Placeholders changed. Source has {amount}. Target has {المبلغ}. warning length-blowup save Translation is 62 characters against a source of 4. Check it still fits the control. 6 errors, 3 warnings
Real output on the repo's deliberately broken Arabic file, wrapped to fit. Your agent turns this into a plain list like the one at the top of the page. Wording problems are found by the agent following the skill's guide, not by this script.
One SKILL.md file tells the agent what to do, step by step, plus notes for Tamil, Malay, Arabic, Hindi, Chinese, Japanese, German, Spanish, French and Indonesian.
3,288 button and label words from Wikimedia, Django, Flutter, Android and devise-i18n, so common buttons use words people already know.
Every new word is marked as either used by a real app, a suggestion to review, or not found. You know exactly what to show a native speaker.
Writes in the format your app already has and registers the language where your app looks for it. No new tools or systems.
Brand and product names stay as they are. Your own word list wins over the built-in library, and the tone (formal or casual) stays the same everywhere.
The three scripts (find text, look up words, check files) run with plain Node.js 22.20 or later. No packages, no account, no server.
Pick a language to see the words nativeskill gives your agent for six common buttons. These are real results from the built-in library. Arabic flips the screen right-to-left.
| button | word | where it came from |
|---|---|---|
| Sign in | Log masuk | from a real appused by Django |
| Sign out | Log keluar | from a real appused by Django |
| Stop auto-renewal | Hentikan pembaharuan automatik | suggestionneeds a native check |
| Save | Simpan | from a real appused by Wikimedia |
| Delete | Padamnot used: Hapuskan, Buang (poor fit) | suggestionneeds a native check |
| Cancel (pop-up) | Batal | from a real appused by Wikimedia |
A Flutter app in the iOS Simulator, recorded with Xcode's screen recorder. Nothing here is drawn by the website: the words come from the app's own app_xx.arb files.
lookup.mjs and followed the skill's evidence rules.flutter gen-l10n and the iOS CFBundleLocalizations.check.mjs: 0 errors, 0 warnings in all 10 languages.The agent following SKILL.md for this recording was Claude, not a person. No native speaker has reviewed it yet.
All 110 languages come with plural and text-direction rules. The word library is smaller: it covers common buttons best in the ten languages shown here. When a word isn't in the library, the agent writes the simplest correct wording and marks it for review.
Run one command in your app's folder and pick your agent from the list. Claude Code and Codex can also install it as a plugin.
Install with the command above, or add it as a Claude Code plugin.
.claude-plugin/marketplace.jsonInstall with the command above, or as a Codex plugin with ready-made prompts.
.codex-plugin/plugin.jsonChoose Cursor when npx skills add asks which agent to install for.
npx skills add … --skill nativeskillIt's a standard skill folder. Any agent that can read skills can use it.
skills/nativeskill/SKILL.mdIt's a set of instructions, a word library and three small scripts that your AI coding agent (Claude Code, Codex, Cursor and others) uses when you ask it to translate your app. It helps the agent add new languages properly, or check the languages you already have and list the problems.
For the final word, yes. nativeskill gets the files right and picks words real apps already use where it can. Everything else is marked as a suggestion, so a native speaker only needs to review those lines, not the whole app.
3,288 button and label words come from the translations of well-known open-source apps: 2,603 from Wikimedia's editing tools and 685 from Django, Flutter, Android and devise-i18n. The rest are the agent's suggestions, clearly marked.
Broken fill-in spots like {amount}, missing or extra plural forms, broken plural syntax, missing translations, text left in English, and translations far longer than the English. The agent also looks for wording that sounds machine-translated and for right-to-left layout problems.
Flutter (ARB), iOS (.strings and .xcstrings), Android (strings.xml), web apps using i18next or plain JSON, and React Native.
Node.js 22.20 or later, then the one npx skills add command. The scripts need no other packages.
No. Brand, product and company names stay as they are, and your own glossary always wins over the built-in word library.
Yes. nativeskill is open source under the MIT license. Words taken from other projects keep their own licenses, listed in the repo.
Run this in your app's folder, then ask your agent to add a language or check the ones you have.
npx skills add Kamaleshkabeerdoss/ nativeskill --skill nativeskill