nativeskill
free · open sourceA skill for AI coding agents

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 nativeskill
Works with Claude Code, Codex, CursorNeeds only Node.jsMIT license
What you ask, what you get
you ask your agent
“Add Tamil, Arabic and German to my app.”

Example 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.

app_ta.arb · TamilSign out → வெளியேறு (the word Django's Tamil admin uses)0 problems2 plural forms
app_ar.arb · Arabic, right-to-leftSign out → تسجيل الخروج · first try used English's 2 plural forms; the check caught it and the agent added the other 40 problems6 plural forms
app_de.arb · GermanSign out → Abmelden · {amount} kept exactly as it was0 problems2 plural forms
$node scripts/check.mjs … --target lib/l10n/app_ar.arb --locale ar0 errors, 0 warnings
110languages, each with its own plural and text-direction rules
449country versions, like Malay for Malaysia
3,288button and label words taken from real, well-known apps
6file formats: ARB, JSON, i18next, strings.xml, .strings, .xcstrings
0extra packages to install. Node.js is enough
Use case 1

Add new languages. Done properly the first time.

Your 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.

terminalscan.mjs
# 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.
Use case 2

Already have languages? Get a list of what's wrong.

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.

  • Broken fill-in spotsSpots like {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.
  • Wrong plural formsEnglish has two (1 item, 2 items). Arabic has six, Malay has one. It checks each language has exactly the forms it needs.
  • Missing or untranslated textLines with no translation, text still in English, and translations too long for their button.
  • Words that sound machine-translatedWord-for-word translations, the wrong word for the button, “Successfully” on every button, and Indonesian copied into Malay.
  • Right-to-left problemsFor Arabic, Hebrew, Persian and Urdu: the layout must flip, back arrows must point the other way, and Arabic punctuation must be used.

One English word can need two different words

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.

“Cancel” on a pop-up, in MalayBatal
“Cancel” on a subscription, in MalayHentikan pembaharuan automatikmeaning “stop auto-renewal”
terminalcheck.mjs
$ 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.

What's inside

Small, honest, and easy to trust.

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.

Words from real apps

3,288 button and label words from Wikimedia, Django, Flutter, Android and devise-i18n, so common buttons use words people already know.

Says where each word came from

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.

from a real appsuggestionnot found

Uses your existing files

Writes in the format your app already has and registers the language where your app looks for it. No new tools or systems.

FlutteriOSAndroidi18nextReact Native

Respects your brand

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.

Nothing extra to install

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.

Examples

One screen, 11 languages.

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.

Malay
left-to-right1 plural form
buttonwordwhere it came from
Sign inLog masukfrom a real appused by Django
Sign outLog keluarfrom a real appused by Django
Stop auto-renewalHentikan pembaharuan automatiksuggestionneeds a native check
SaveSimpanfrom a real appused by Wikimedia
DeletePadamnot used: Hapuskan, Buang (poor fit)suggestionneeds a native check
Cancel (pop-up)Batalfrom a real appused by Wikimedia
real recording

The same six buttons, in a running app.

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.

  • Looked up every button with lookup.mjs and followed the skill's evidence rules.
  • Registered all 11 locales through flutter gen-l10n and the iOS CFBundleLocalizations.
  • Checked each file with check.mjs: 0 errors, 0 warnings in all 10 languages.
  • Arabic flips the whole screen right-to-left, back arrow included. Dashed buttons are drafts that still need a native check.

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.

Works with

Works with the agent you already use.

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.

Claude Code

Install with the command above, or add it as a Claude Code plugin.

.claude-plugin/marketplace.json

Codex

Install with the command above, or as a Codex plugin with ready-made prompts.

.codex-plugin/plugin.json

Cursor

Choose Cursor when npx skills add asks which agent to install for.

npx skills add … --skill nativeskill

Other agents

It's a standard skill folder. Any agent that can read skills can use it.

skills/nativeskill/SKILL.md
FAQ

Questions

What does nativeskill actually do?

It'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.

Do I still need a native speaker?

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.

Where do the words come 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.

What kind of problems does the check find?

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.

Which apps and file types does it work with?

Flutter (ARB), iOS (.strings and .xcstrings), Android (strings.xml), web apps using i18next or plain JSON, and React Native.

What do I need to install?

Node.js 22.20 or later, then the one npx skills add command. The scripts need no other packages.

Will it change our brand names?

No. Brand, product and company names stay as they are, and your own glossary always wins over the built-in word library.

Is it free?

Yes. nativeskill is open source under the MIT license. Words taken from other projects keep their own licenses, listed in the repo.

Ready to go global?

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