Skip to content
Skill

Intlayer usage

Guides an agent through setting up and using Intlayer for internationalization

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

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.

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 33 files (281 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-usage 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-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.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/intlayer-usage 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-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.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/intlayer-usage 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-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.

Cursor docs on skills

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

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Intlayer usage 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.

More from aymericzip/intlayer

  1. Adds Intlayer i18n to Angular apps with per-component content files

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

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

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

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

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

    • Open source
    • 869 GitHub stars
    • Developer tools