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 always know which words are proven and which are new.
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.
A sample from the 110 languages nativeskill supports. Pick one to see the exact words it gives your agent for six common buttons, straight from its 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 |
Every one of the 110 languages and 449 country versions comes with its plural and text-direction rules built in. When a word isn't in the library yet, the agent writes clear wording and marks it, so no language is left out.
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.
It first works out what the button actually does: signing out, stopping a renewal, closing a pop-up. Then it reuses the exact word well-known apps already ship for that action in that language. Where no app has one, it writes clear wording and flags it, so you always know where every word came from.
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