
Intlayer react
Adds Intlayer i18n to React apps with per-component translated content files
Intlayer react is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 869
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Intlayer react
This skill guides an agent through adding Intlayer internationalization to a React project. Translations are kept in content declaration files placed next to each component, rather than in one large global dictionary. The agent is shown how to write such a file with the translation helper and how to read its strings through the useIntlayer hook inside a component.
The skill also covers setup for several React environments, including Vite, Create React App, React Router v7, TanStack Start, React Native with Expo, Lynx, Astro and Storybook. It points to guidance on providers, formatters, variants and collections, and on the Intlayer compiler, which can extract content keys from components through a CLI command or during the app build.
It includes bundle optimization rules: content fields should be read by name so the build can purge unused entries, and dictionaries should not be indexed at runtime. Work is done in a TypeScript or JavaScript React codebase with the intlayer and react-intlayer packages.
When your agent uses it
Integrates Intlayer internationalization with React component. Use when the user asks to "setup React i18n", create a new translated component, use the "useIntlayer" hook, or configure providers.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 27 files (427 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/intlayer-react to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aymericzip/intlayer.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/intlayer-react &&
cp -R "$tmp/.agents/skills/intlayer-react" ~/.claude/skills/intlayer-react &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/intlayer-react inside it instead.
Copy the skill folder to ~/.agents/skills/intlayer-react to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aymericzip/intlayer.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/intlayer-react &&
cp -R "$tmp/.agents/skills/intlayer-react" ~/.agents/skills/intlayer-react &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/intlayer-react inside it instead.
Copy the skill folder to ~/.cursor/skills/intlayer-react to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aymericzip/intlayer.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/intlayer-react &&
cp -R "$tmp/.agents/skills/intlayer-react" ~/.cursor/skills/intlayer-react &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/intlayer-react inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/aymericzip/intlayer.git --path .agents/skills/intlayer-reactOr copy the folder to ~/.gemini/skills/intlayer-react yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/intlayer-react:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aymericzip/intlayer.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/intlayer-react &&
cp -R "$tmp/.agents/skills/intlayer-react" ~/.copilot/skills/intlayer-react &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/intlayer-react inside it instead.
Get the folder:
git clone --depth 1 https://github.com/aymericzip/intlayer.gitThen copy intlayer/.agents/skills/intlayer-react into your agent's skills folder as intlayer-react. Agents that support SKILL.md read one folder per skill.
What it does
- Component-level content files
- Shows how to declare translations in content files placed beside each React component.
- useIntlayer hook usage
- Explains how to read translated strings and React nodes inside components with the hook.
- Framework setup guides
- Links setup references for Vite, Create React App, React Router, TanStack Start, Expo and Storybook.
- Provider and package references
- Covers the IntlayerProvider, locale, dictionary and formatting APIs of the React packages.
- Key extraction compiler
- Describes extracting content keys from components with a CLI command or at build time.
- Bundle optimization rules
- Lists access patterns that let the build purge and minify unused dictionary content.
Good for
- Set up i18n in a React app with Intlayer
- Create a new translated React component
- Move hardcoded text in a component into content files
- Add a locale switcher or provider to a React project
- Extract content keys from components with the Intlayer compiler
Intlayer react FAQ
When does Intlayer react trigger?
It applies when the user asks to set up React i18n, create a new translated component, use the useIntlayer hook, or configure providers.
What does the skill create in a project?
For a translated component it creates two files: a content declaration file with the translations and a React component that calls useIntlayer.
Does Intlayer react include scripts?
No scripts are bundled with this skill; it provides instructions and reference files.
How do I install Intlayer react in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/intlayer-react to use it in all your projects, or to .claude/skills/intlayer-react in one project.
Does Intlayer react run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Intlayer react?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Intlayer react?
The closest alternatives to Intlayer react are Intlayer next js, Intlayer preact, Intlayer usage, Intlayer svelte and Intlayer vanilla.
Where this comes from
- Description: from the skill's own SKILL.md.
More from aymericzip/intlayer

Adds Intlayer i18n to Angular apps with per-component content files
- Open source
- 869 GitHub stars
- Developer tools

Adds Intlayer internationalization to Astro sites with server-side translated content
- Open source
- 869 GitHub stars
- Developer tools

Adds Intlayer i18n to Node.js and Bun backends so API responses follow the request locale
- Open source
- 869 GitHub stars
- Developer tools

Shrinks Intlayer translation dictionaries in production builds by purging and minifying
- Open source
- 869 GitHub stars
- Developer tools

Lets your agent run Intlayer CLI commands to build, audit, sync and manage i18n
- Open source
- 869 GitHub stars
- Developer tools

Migrates an existing i18n library to Intlayer while keeping its original API
- Open source
- 869 GitHub stars
- Developer tools

