Skip to content
Skill

Intlayer lit

Adds Intlayer i18n to Lit web components with per-component content files

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

This skill guides an agent through adding Intlayer internationalization to Lit web components. Content is kept in content files placed next to each element rather than in one large global translation file, and each element pulls its strings through a reactive controller.

The workflow has the agent write a content declaration using translation helpers for each locale, then build a LitElement that calls the useIntlayer controller with the host element and the content key. A companion useLocale controller exposes the current locale, the available locales and a setter for switching language at runtime. The skill also covers installing Intlayer at startup and includes guidance on keeping bundles small by reading fields by name rather than indexing dictionaries at runtime.

It expects a Lit project, typically set up with Vite, and it points to reference guides for Vite, Astro, the Intlayer compiler, variants, collections and formatters.

When your agent uses it

Integrates Intlayer internationalization with Lit web components. Use when the user asks to "setup Lit i18n", create a translated LitElement, use the "useIntlayer" controller, or switch locale in a Lit application.

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

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

Claude Code docs on skills

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

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

Codex docs on skills

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

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

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

Gemini CLI docs on skills

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

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

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

The SKILL.md format

What it does

Per-component content files
Defines translations in content files that sit beside each Lit element.
useIntlayer controller setup
Shows how to bind a LitElement to its translated content through a reactive controller.
Runtime locale switching
Provides a locale controller to read available locales and change language.
Startup installation steps
Explains where to call the Intlayer installer before custom elements are registered.
Bundle size guidance
Advises reading content fields by name so unused strings can be purged.
Key extraction compiler
Points to a CLI command that extracts content keys from components.

Good for

  • Set up i18n in a new Lit web component project
  • Create a translated LitElement with English and French text
  • Add a language switcher that changes locale at runtime
  • Move hard-coded strings in a Lit component into Intlayer content files

Intlayer lit FAQ

When does Intlayer lit trigger?

It is meant for requests such as setting up Lit i18n, creating a translated LitElement, using the useIntlayer controller, or switching locale in a Lit application.

What does the agent need before using Intlayer lit?

The guidance assumes a Lit application, with setup described for Vite and Lit and for Astro and Lit, and it requires the lit-intlayer package with installIntlayer called before custom elements are registered.

Is Intlayer lit free to use?

The skill is published under the Apache-2.0 license.

How do I install Intlayer lit in Claude Code?

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

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

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

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

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