
Intlayer svelte
Adds Intlayer i18n to Svelte and SvelteKit apps with per-component content files
Intlayer svelte 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 svelte
This skill guides an agent through adding Intlayer internationalization to Svelte and SvelteKit projects. Content is declared in dictionary files placed next to the components that use them, instead of one large global translation file. A translated component is built from two pieces: a content file that defines the strings per locale, and a Svelte component that reads them through the useIntlayer store.
The skill explains how to access values from the store with the dollar prefix, and how to pull plain strings when needed. It also covers bundle optimization rules, such as reading fields by name so the build can trim unused content, and avoiding runtime indexing into dictionaries. Setup guidance is split into Vite with Svelte, SvelteKit, and Astro with Svelte environments, and reference notes cover variants, collections, formatters, and the optional Intlayer compiler for extracting keys.
The agent is expected to work in a Svelte or SvelteKit codebase and to install the Intlayer packages for the chosen environment. The compiler for .svelte files needs an additional package.
When your agent uses it
Integrates Intlayer internationalization with Svelte and SvelteKit applications. Use when the user asks to "setup Svelte i18n", create a new translated component, use the "useIntlayer" store, or configure providers.
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 13 files (207 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-svelte 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-svelte &&
cp -R "$tmp/.agents/skills/intlayer-svelte" ~/.claude/skills/intlayer-svelte &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/intlayer-svelte inside it instead.
Copy the skill folder to ~/.agents/skills/intlayer-svelte 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-svelte &&
cp -R "$tmp/.agents/skills/intlayer-svelte" ~/.agents/skills/intlayer-svelte &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/intlayer-svelte inside it instead.
Copy the skill folder to ~/.cursor/skills/intlayer-svelte 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-svelte &&
cp -R "$tmp/.agents/skills/intlayer-svelte" ~/.cursor/skills/intlayer-svelte &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/intlayer-svelte inside it instead.
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-svelteOr copy the folder to ~/.gemini/skills/intlayer-svelte yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/intlayer-svelte:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aymericzip/intlayer.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/intlayer-svelte &&
cp -R "$tmp/.agents/skills/intlayer-svelte" ~/.copilot/skills/intlayer-svelte &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/intlayer-svelte inside it instead.
Get the folder:
git clone --depth 1 https://github.com/aymericzip/intlayer.gitThen copy intlayer/.agents/skills/intlayer-svelte into your agent's skills folder as intlayer-svelte. Agents that support SKILL.md read one folder per skill.
What it does
- Component-level content files
- Shows how to declare translations in dictionary files stored beside each component.
- useIntlayer store usage
- Explains reading translated values from the Svelte store with the dollar prefix.
- Vite and SvelteKit setup
- Covers configuring Intlayer for Vite with Svelte and for SvelteKit projects.
- Bundle size optimization
- Describes access patterns that let the build purge and minify unused dictionary content.
- Optional key extraction compiler
- Describes the Intlayer compiler that extracts content keys via CLI or at build time.
- Formatters and variants reference
- Links to reference notes on formatters, variants and collections for localized output.
Good for
- Set up internationalization in a new SvelteKit project
- Create a translated Svelte component with English, French and Spanish text
- Convert hardcoded strings in a Svelte component into Intlayer content
- Configure Intlayer with Vite and Svelte
- Enable the Intlayer compiler to extract content keys
Intlayer svelte FAQ
When does Intlayer svelte trigger?
It is meant for requests such as setting up Svelte i18n, creating a new translated component, using the useIntlayer store, or configuring providers.
What does a translated component need?
Two files: a content file that defines the dictionary with t() translations, and a Svelte component that uses the useIntlayer store to read it.
Does the compiler work with .svelte files out of the box?
No. The compiler needs compiler.enabled and compiler.output set, and .svelte files additionally require the @intlayer/svelte-compiler package.
Which Svelte environments are covered?
Vite with Svelte, SvelteKit, and Astro with Svelte are each covered by a separate reference note.
How do I install Intlayer svelte in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/intlayer-svelte to use it in all your projects, or to .claude/skills/intlayer-svelte in one project.
Does Intlayer svelte 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 svelte?
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 svelte?
The closest alternatives to Intlayer svelte are Intlayer vanilla, Intlayer vue, Intlayer react, Intlayer solid and Intlayer lit.
Where this comes from
- Description: from the skill's own SKILL.md.
More from aymericzip/intlayer

Adds Intlayer i18n to Angular apps with per-component content files
- Open source
- 869 GitHub stars
- Developer tools

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

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

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

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

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

