Skip to content
Skill

Intlayer content

Gives agents Intlayer content nodes for translations, plurals, conditions and markdown

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

This skill teaches an agent how to write multilingual content for the Intlayer i18n library using its content node functions. It covers the main node types, including translation by locale, numeric enumerations, CLDR-based plural forms, boolean conditions, gender and string-based select, markdown and HTML, insertion of variables, nested references, file content and function-based fetching. Each node comes with a short TypeScript example and a link to its reference document.

The skill also gives guidance on choosing the right node for a given case, such as preferring cond over a ternary or select over indexing an object by a status value. It shows how to structure dictionary files for React projects, with example .content.ts, .content.tsx and JSON declarations, and lists the dictionary metadata fields such as key, locale, fill, importMode and location.

The examples are written in TypeScript and assume the intlayer package and a project-level intlayer config file that declares the supported locales.

When your agent uses it

Define rich content structures using Intlayer content nodes. Use when the user asks to "create translations", "handle pluralization", "use markdown in content", or implement "conditional content".

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 17 files (233 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-content 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-content &&
cp -R "$tmp/.agents/skills/intlayer-content" ~/.claude/skills/intlayer-content &&
rm -rf "$tmp"

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/intlayer-content 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-content &&
cp -R "$tmp/.agents/skills/intlayer-content" ~/.agents/skills/intlayer-content &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/intlayer-content 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-content &&
cp -R "$tmp/.agents/skills/intlayer-content" ~/.cursor/skills/intlayer-content &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/intlayer-content 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-content

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

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/intlayer-content 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-content into your agent's skills folder as intlayer-content. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Translation by locale
Maps a single content value to several locale-specific strings using the translation node.
Plural and enumeration forms
Selects grammatical plural forms from a count or maps numeric values and ranges to content.
Conditional and select content
Chooses content from a boolean, gender or arbitrary string value with an optional fallback.
Markdown, HTML and files
Defines rich text, HTML with components and content loaded from external files.
Nested and dynamic content
Reuses values from other dictionaries, inserts variables and computes content with functions.
Dictionary file layout
Shows how to structure content declaration files and the metadata fields used to manage them.

Good for

  • Add French and Spanish translations to a React component
  • Handle singular and plural forms of a counted item in several languages
  • Show different text depending on whether a user is logged in
  • Render markdown articles with localized content
  • Reuse a shared dictionary value across several components

Intlayer content FAQ

What does Intlayer content need to be installed?

The skill uses the intlayer package in the project, and expects a config file or .intlayerrc that declares the locales.

Does Intlayer content run any scripts?

No, the skill has no scripts; it only provides instructions and reference documents for writing content nodes.

When should plural be used instead of enu?

Plural selects grammatical forms from a count using CLDR categories, while enu maps numbers or custom ranges to text.

How do I install Intlayer content in Claude Code?

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

Does Intlayer content 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 content?

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

The closest alternatives to Intlayer content are Intlayer react, Intlayer backend, Intlayer angular, Intlayer vanilla and Intlayer usage.

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