Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Writes i18n keys that the lint:i18n-keys check can verify, using literal, union-derived, or typed-prop patterns.
43% 100%+57 ptsof test cases passed
Passed 23 of 23 test cases with the skill, and 10 of 23 without it.
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
38 agent runs
pnpm lint:i18n-keys (tools/nx-plugins/enforce-i18n-keys) checks that every key used in
features/, domain/ and shared/ exists in the English catalog of each app consuming the
package: Desktop static/i18n/en/app.json, Mobile src/locales/en/common.json.
.web.* files are checked against Desktop only, .native.* against Mobile only.
Other locales are not checked: only edit English.
A feature resolves its own wording with useTranslation(). Apps must not inject keys or labels
into features: pass a domain id or variant (stage, status) and let the feature map it to wording.
A key prop coming from apps/* is a smell; key props between components of the same package are fine.
A key is verified when its type is a finite set of literals. A key typed string is
unverifiable and fails the check. Prefer, in this order:
t("payTab.login.title"). Greppable, needs no types.as const array or object, or a TS string enum all expand.
type Stage = "intro" | "login";
declare const stage: Stage;
t(`payTab.login.${stage}.title`); // every Stage member is expanded and checked
type Props = { titleKey: "x.intro.title" | "x.login.title" };
Don't map a union to full key literals when the keys share a pattern: the map duplicates every key in the bundle, and the template is checked just as well.
const titleKeys = { intro: "x.intro.title", login: "x.login.title" } as const; // ❌
t(titleKeys[stage]);
t(`x.${stage}.title`); // ✅
Next to this one in the catalogue, plus more from the same author.