# Intlayer usage

> Intlayer usage is an open-source agent skill for developer tools. Guides an agent through setting up and using Intlayer for internationalization. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/aymericzip/intlayer/tree/main/.agents/skills/intlayer-usage
- **Repository:** https://github.com/aymericzip/intlayer
- **GitHub stars:** 869
- **License:** Apache-2.0
- **Skill name:** intlayer-usage
- **Collection:** https://github.com/aymericzip/intlayer
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill gives an agent a general workflow for working with Intlayer in a project. It walks through finding the configured locales in the Intlayer config or rc file, declaring content in one file per component placed beside the component, and reading that content through the provided hooks and functions.

The guidance also covers the common packages (intlayer, react-intlayer and vite-intlayer), the build command that compiles dictionaries from content declarations, and a reminder to read fields statically so the build can prune and minify dictionaries. It links to bundled reference pages for the exports of each package and for core concepts such as how Intlayer works and per-locale files.

The skill is documentation-style guidance with no scripts. It expects a project that uses or plans to use Intlayer, and it points to a separate bundle optimization skill for deeper build tuning.

## When your agent uses it

> Provides general guidelines for using Intlayer in any project. Use when the user asks to "get started with Intlayer", "declare content files", or understand the "project structure" for internationalization.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/aymericzip/intlayer/tree/HEAD/.agents/skills/intlayer-usage)
- [License: Apache-2.0](https://github.com/aymericzip/intlayer/tree/HEAD/.agents/skills/intlayer-usage)

## Features

- **Locale configuration lookup:** Shows where the agent should find the configured locales in Intlayer config or rc files.
- **Per-component content files:** Recommends declaring content in one file per component, placed next to the component.
- **Hooks and functions guide:** Points to reference pages for the exports of the intlayer and react-intlayer packages.
- **Static field access:** Advises reading content fields statically so the build can purge and minify dictionaries.
- **Build command reference:** Covers the CLI command that builds dictionaries from content declarations.
- **Package overview:** Summarizes the core intlayer, react-intlayer and vite-intlayer packages and their roles.

## Good for

- Set up internationalization with Intlayer in a new project
- Declare translated content for a React component
- Find which locales are configured in an Intlayer project
- Build Intlayer dictionaries from content declarations
- Organize content files for an internationalized app

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/intlayer-usage` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aymericzip/intlayer.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/intlayer-usage &&
cp -R "$tmp/.agents/skills/intlayer-usage" ~/.claude/skills/intlayer-usage &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/intlayer-usage` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/intlayer-usage` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aymericzip/intlayer.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/intlayer-usage &&
cp -R "$tmp/.agents/skills/intlayer-usage" ~/.agents/skills/intlayer-usage &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/intlayer-usage` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/intlayer-usage` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aymericzip/intlayer.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/intlayer-usage &&
cp -R "$tmp/.agents/skills/intlayer-usage" ~/.cursor/skills/intlayer-usage &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/intlayer-usage` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/aymericzip/intlayer.git --path .agents/skills/intlayer-usage
```

Or copy the folder to `~/.gemini/skills/intlayer-usage` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/intlayer-usage`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aymericzip/intlayer.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/intlayer-usage &&
cp -R "$tmp/.agents/skills/intlayer-usage" ~/.copilot/skills/intlayer-usage &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/intlayer-usage` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/aymericzip/intlayer.git
```

Then copy `intlayer/.agents/skills/intlayer-usage` into your agent's skills folder as `intlayer-usage`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Intlayer usage need to run?

It has no scripts. It is a set of guidelines and reference pages that the agent reads, and it assumes a project that uses Intlayer.

### Which configuration files does Intlayer usage check for locales?

It checks intlayer.config with several extensions (ts, js, json, json5, jsonc, cjs, mjs) and the .intlayerrc file.

### Which packages does Intlayer usage cover?

It names intlayer for core declaration and utilities, react-intlayer for React components and hooks such as useIntlayer, and vite-intlayer for the Vite plugin.

### Which command does Intlayer usage mention?

It mentions npx intlayer build, which builds dictionaries from content declarations.

### How do I install Intlayer usage in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/intlayer-usage to use it in all your projects, or to .claude/skills/intlayer-usage in one project.

### Does Intlayer usage 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 usage?

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 usage?

The closest alternatives to Intlayer usage are Intlayer react, Intlayer vanilla, Intlayer lit, Intlayer svelte and Intlayer solid.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Intlayer react](https://ai-powered.com/skills/intlayer-react): Intlayer react is an open-source agent skill for developer tools.
- [Intlayer vanilla](https://ai-powered.com/skills/intlayer-vanilla): Intlayer vanilla is an open-source agent skill for developer tools.
- [Intlayer lit](https://ai-powered.com/skills/intlayer-lit): Intlayer lit is an open-source agent skill for developer tools.
- [Intlayer svelte](https://ai-powered.com/skills/intlayer-svelte): Intlayer svelte is an open-source agent skill for developer tools.
- [Intlayer solid](https://ai-powered.com/skills/intlayer-solid): Intlayer solid is an open-source agent skill for developer tools.
- [Intlayer preact](https://ai-powered.com/skills/intlayer-preact): Intlayer preact is an open-source agent skill for developer tools.
- [Intlayer angular](https://ai-powered.com/skills/intlayer-angular): Intlayer angular is an open-source agent skill for developer tools.
- [Intlayer vue](https://ai-powered.com/skills/intlayer-vue): Intlayer vue is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/intlayer-usage
