Skip to content
Skill

Intlayer vanilla

Adds Intlayer i18n to plain JavaScript or TypeScript apps without a UI framework

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

This skill guides an agent through wiring Intlayer internationalization into vanilla JavaScript or TypeScript projects, with no React, Vue or similar framework. Content is declared in per-module dictionary files placed next to the scripts that consume them, and the agent is shown how to read those values, update page text when the locale changes, and switch languages at runtime.

The instructions cover two setups: a bundled app built with Vite, and a standalone page without a bundler where a script is generated with the Intlayer CLI and its globals are used directly. The agent is told to initialise Intlayer before any content renders, to read fields by name so unused translations can be purged, and to use the compiler for extracting content keys from components.

The skill expects a JavaScript or TypeScript project and uses the Intlayer packages, including the vanilla helper package. Reference files inside the skill cover variants, collections, formatters for numbers, currency and dates, and package exports.

When your agent uses it

Integrates Intlayer internationalization with plain JavaScript / TypeScript (no UI framework). Use when the user asks to "setup Vanilla JS i18n", translate a static HTML page, use "useIntlayer" without a framework, or switch locale in a vanilla 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 (153 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-vanilla 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-vanilla &&
cp -R "$tmp/.agents/skills/intlayer-vanilla" ~/.claude/skills/intlayer-vanilla &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

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

Codex docs on skills

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

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

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

Gemini CLI docs on skills

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

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

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

The SKILL.md format

What it does

Declarative content dictionaries
Shows how to declare translated strings per locale in dictionary files stored beside the code that uses them.
Live locale-aware text
Explains how to update DOM text and native attributes when the active language changes.
Runtime locale switching
Covers reading available locales, changing the language and reacting to changes in the document.
Vite and standalone setups
Provides separate guidance for bundled Vite apps and bundler-free pages using a generated script.
Bundle size optimisation
Advises reading content fields by name so the build can trim and minify unused dictionary entries.
Key extraction compiler
Describes using the Intlayer compiler to pull content keys out of components via CLI or at build time.

Good for

  • Translate a static HTML page into several languages without a framework
  • Set up i18n in a Vite-based vanilla JavaScript app
  • Add a language switcher that updates the page and html lang attribute
  • Extract existing hardcoded strings into Intlayer content dictionaries
  • Format localized numbers, currencies and dates in a plain JS project

Intlayer vanilla FAQ

Does Intlayer vanilla require a UI framework?

No. It is written for plain JavaScript or TypeScript without a UI framework, and it also covers pages with no bundler.

When does the skill trigger?

When the user asks to set up Vanilla JS i18n, translate a static HTML page, use useIntlayer without a framework, or switch locale in a vanilla application.

Are there scripts the agent runs?

The skill ships no scripts of its own; it refers to Intlayer CLI commands such as extract and standalone generation.

How do I install Intlayer vanilla in Claude Code?

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

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

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

The closest alternatives to Intlayer vanilla are Intlayer svelte, Intlayer usage, Intlayer react, Intlayer vue 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