Skip to content
Skill

Intlayer backend

Adds Intlayer i18n to Node.js and Bun backends so API responses follow the request locale

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

This skill guides an agent through wiring Intlayer internationalization into server-side code for Node.js and Bun frameworks, including Express, Fastify, Hono, NestJS, AdonisJS, Elysia and HTMX. It explains the core pattern: a per-framework middleware or plugin detects each request's locale from a cookie, header or Accept-Language and scopes it to that request, so helper functions can return the right text without passing a locale through every call.

The skill shows how to declare content dictionaries, how to use inline translation helpers and dictionary lookups inside route handlers, and how to resolve content for background work such as jobs, queues or emails by passing a stored user locale explicitly. Per-framework reference guides cover registration order and package exports.

The agent is expected to work in a TypeScript or JavaScript backend project and install the matching intlayer package for the chosen framework.

When your agent uses it

Integrates Intlayer internationalization with Node.js / Bun backends (Express, Fastify, Hono, NestJS, AdonisJS, Elysia, HTMX). Use when the user asks to "translate API responses", "setup server-side i18n", register the Intlayer middleware, or use "t" / "getIntlayer" in a route handler.

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

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

Claude Code docs on skills

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

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

Codex docs on skills

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

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

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

Gemini CLI docs on skills

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

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

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

The SKILL.md format

What it does

Locale middleware setup
Registers the Intlayer middleware or plugin so each request gets its own resolved locale.
Framework registration patterns
Covers how to register Intlayer in Express, NestJS, Fastify, Hono, Elysia and AdonisJS.
Request-scoped translation helpers
Uses t, getIntlayer and getDictionary inside route handlers and services without passing locale arguments.
Content dictionary declaration
Shows how to define typed multilingual content dictionaries with the t function.
Background job localization
Resolves content for queues, jobs and emails using a recipient's stored locale.
Per-framework reference guides
Provides reference files for each supported framework and the Intlayer package exports.

Good for

  • Translate JSON API responses based on the caller's Accept-Language header
  • Set up server-side i18n in an Express app with Intlayer
  • Add Intlayer middleware to a Fastify or Hono server
  • Localize transactional emails for each recipient's saved language
  • Use getIntlayer to fetch translated strings inside a NestJS controller

Intlayer backend FAQ

When does Intlayer backend trigger?

It triggers when the user asks to translate API responses, set up server-side i18n, register the Intlayer middleware, or use t or getIntlayer in a route handler.

Which backend frameworks are covered?

Express, Fastify, Hono, NestJS, AdonisJS, Elysia and HTMX, each with its own reference guide.

How does the locale get detected?

The middleware resolves the locale of each request from a cookie, a header or Accept-Language and scopes it to that request.

How should content be translated outside a request, such as in a job?

Pass the recipient's stored locale explicitly, for example getIntlayer with a locale argument.

How do I install Intlayer backend in Claude Code?

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

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

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

The closest alternatives to Intlayer backend are Intlayer react, Intlayer next js, Intlayer content, 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. Shrinks Intlayer translation dictionaries in production builds by purging and minifying

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

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

    • Open source
    • 869 GitHub stars
    • Developer tools
  6. Sets up Intlayer to extract translatable strings from components automatically

    • Open source
    • 869 GitHub stars
    • Developer tools