
Intlayer compiler
Sets up Intlayer to extract translatable strings from components automatically
Intlayer compiler 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 compiler
This skill walks an agent through configuring the Intlayer compiler so that translatable strings written inline in components are pulled out into dictionaries without hand-written .content files. It covers setup for Vite, Next.js, Babel and Webpack projects, and points to reference documents for each bundler.
The guidance maps each build setup to its package: the Vite plugin from vite-intlayer, the Babel loader for Next.js through withIntlayer, and the intlayerExtractBabelPlugin for Babel or Webpack. Vue and Svelte single-file components need additional compiler packages. Projects on an unsupported bundler can run the intlayer extract command instead.
The skill expects a JavaScript or TypeScript frontend project using one of the supported frameworks and bundlers, with the Intlayer packages installed.
When your agent uses it
Intlayer Compiler setup and usage. Configures automatic content extraction for your components without the need to define .content files manually.
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 5 files (40 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-compiler 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-compiler &&
cp -R "$tmp/.agents/skills/intlayer-compiler" ~/.claude/skills/intlayer-compiler &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/intlayer-compiler inside it instead.
Copy the skill folder to ~/.agents/skills/intlayer-compiler 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-compiler &&
cp -R "$tmp/.agents/skills/intlayer-compiler" ~/.agents/skills/intlayer-compiler &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/intlayer-compiler inside it instead.
Copy the skill folder to ~/.cursor/skills/intlayer-compiler 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-compiler &&
cp -R "$tmp/.agents/skills/intlayer-compiler" ~/.cursor/skills/intlayer-compiler &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/intlayer-compiler 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-compilerOr copy the folder to ~/.gemini/skills/intlayer-compiler yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/intlayer-compiler:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aymericzip/intlayer.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/intlayer-compiler &&
cp -R "$tmp/.agents/skills/intlayer-compiler" ~/.copilot/skills/intlayer-compiler &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/intlayer-compiler inside it instead.
Get the folder:
git clone --depth 1 https://github.com/aymericzip/intlayer.gitThen copy intlayer/.agents/skills/intlayer-compiler into your agent's skills folder as intlayer-compiler. Agents that support SKILL.md read one folder per skill.
What it does
- Automatic content extraction
- Covers how strings written inline in components are turned into generated dictionaries.
- Vite plugin setup
- Explains enabling the compiler through the intlayer plugin in vite-intlayer.
- Next.js configuration
- Describes wiring the extractor loader into Next.js via withIntlayer on Turbopack and webpack.
- Babel and Webpack setup
- Shows adding the intlayerExtractBabelPlugin from @intlayer/babel to a build.
- Vue and Svelte support
- Notes the extra compiler packages needed for .vue and .svelte files.
- CLI extraction fallback
- Covers running npx intlayer extract when no supported bundler is used.
Good for
- Set up Intlayer compiler in a Vite React app
- Enable automatic i18n extraction in a Next.js project
- Add the Babel extract plugin to a Webpack build
- Configure Intlayer for a Vue or Svelte component library
Intlayer compiler FAQ
Which bundlers does Intlayer compiler cover?
Vite, Next.js, Babel and Webpack are covered, with a CLI fallback for other setups.
Do I still need to write .content files?
No. Once the compiler plugins are configured, translatable strings are written inline and dictionaries are generated automatically.
What extra packages are needed for Vue or Svelte?
Vue files require @intlayer/vue-compiler and Svelte files require @intlayer/svelte-compiler.
How do I install Intlayer compiler in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/intlayer-compiler to use it in all your projects, or to .claude/skills/intlayer-compiler in one project.
Does Intlayer compiler 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 compiler?
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 compiler?
The closest alternatives to Intlayer compiler are Intlayer svelte, Intlayer vue, Intlayer vanilla, Intlayer react and Intlayer preact.
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

