# Intlayer vue

> Intlayer vue is an open-source agent skill for developer tools. Adds Intlayer i18n translations to Vue and Nuxt apps via the useIntlayer composable. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/aymericzip/intlayer/tree/main/.agents/skills/intlayer-vue
- **Repository:** https://github.com/aymericzip/intlayer
- **GitHub stars:** 869
- **License:** Apache-2.0
- **Skill name:** intlayer-vue
- **Collection:** https://github.com/aymericzip/intlayer
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill guides an agent through wiring Intlayer internationalization into Vue.js projects, covering both plain Vite and Vue setups and Nuxt-based apps. It shows how to read translated content with the useIntlayer composable inside components, rendering values either as raw strings or through template output.

The guidance points the agent to environment-specific reference notes for setup, along with package references for vue-intlayer, nuxt-intlayer and the core intlayer package. It also covers bundle optimization by keeping dictionary field access static so the build can purge unused content, and it describes the Intlayer Compiler, which extracts content keys from components through a CLI command or during app build once its config options are set.

The skill expects a Vue or Nuxt project where Intlayer can be installed, and it describes Svelte-file compiler support that requires an additional Vue compiler package. No scripts are bundled with it.

## When your agent uses it

> Integrates Intlayer internationalization with Vue.js and Nuxt applications. Use when the user asks to "setup Vue i18n", use the "useIntlayer" composable, or manage translations in Vue components.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/aymericzip/intlayer/tree/HEAD/.agents/skills/intlayer-vue)
- [License: Apache-2.0](https://github.com/aymericzip/intlayer/tree/HEAD/.agents/skills/intlayer-vue)

## Features

- **Vue and Nuxt setup:** Reference notes cover configuring Intlayer for Vite with Vue and for Nuxt applications.
- **useIntlayer composable usage:** Shows how to load a dictionary key in a component and render its content in templates.
- **Bundle size optimization:** Guidance on static field access and per-component calls so unused translations can be removed at build.
- **Key extraction compiler:** Describes extracting content keys from components with a CLI command or automatically at build time.
- **Formatter and variant references:** Linked notes explain number, currency and date formatters plus variants and collections.
- **URL rewriting helpers:** References document the usePathname and useRewriteURL helpers for localized routes.

## Good for

- Set up Intlayer translations in a Vue project built with Vite
- Add localized Nuxt pages using Intlayer dictionaries
- Replace hardcoded strings in a Vue component with translated content
- Extract translation keys from components using the Intlayer CLI
- Keep translation dictionaries lean for smaller production bundles

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/intlayer-vue` to use it in all your projects:

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

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

### Codex

Copy the skill folder to `~/.agents/skills/intlayer-vue` to use it in every repository:

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

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

### Cursor

Copy the skill folder to `~/.cursor/skills/intlayer-vue` to use it in every project:

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

For one project only, put the folder in `.cursor/skills/intlayer-vue` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/aymericzip/intlayer.git --path .agents/skills/intlayer-vue
```

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

### VS Code

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

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

For one project only, put the folder in `.github/skills/intlayer-vue` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/aymericzip/intlayer.git
```

Then copy `intlayer/.agents/skills/intlayer-vue` into your agent's skills folder as `intlayer-vue`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Intlayer vue trigger?

It is meant for requests to set up Vue i18n, use the useIntlayer composable, or manage translations in Vue components.

### Does Intlayer vue need any scripts or extra tools?

No scripts are bundled. The compiler's CLI command npx intlayer extract is referenced for key extraction, and Svelte file support needs the @intlayer/vue-compiler package.

### What do I need to enable the compiler?

The compiler activates once compiler.enabled and compiler.output are set in the configuration.

### How do I install Intlayer vue in Claude Code?

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

### Does Intlayer vue 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 vue?

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

The closest alternatives to Intlayer vue are Intlayer svelte, Intlayer vanilla, Intlayer compiler, Intlayer react and Intlayer usage.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Intlayer svelte](https://ai-powered.com/skills/intlayer-svelte): Intlayer svelte is an open-source agent skill for developer tools.
- [Intlayer vanilla](https://ai-powered.com/skills/intlayer-vanilla): Intlayer vanilla is an open-source agent skill for developer tools.
- [Intlayer compiler](https://ai-powered.com/skills/intlayer-compiler): Intlayer compiler is an open-source agent skill for developer tools.
- [Intlayer react](https://ai-powered.com/skills/intlayer-react): Intlayer react is an open-source agent skill for developer tools.
- [Intlayer usage](https://ai-powered.com/skills/intlayer-usage): Intlayer usage is an open-source agent skill for developer tools.
- [Intlayer solid](https://ai-powered.com/skills/intlayer-solid): Intlayer solid is an open-source agent skill for developer tools.
- [Intlayer lit](https://ai-powered.com/skills/intlayer-lit): Intlayer lit is an open-source agent skill for developer tools.
- [Intlayer next js](https://ai-powered.com/skills/intlayer-next-js): Intlayer next js is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/intlayer-vue
