
Intlayer astro
Adds Intlayer internationalization to Astro sites with server-side translated content
Intlayer astro 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 astro
This skill guides an agent through wiring Intlayer into an Astro project. The Astro integration builds the content dictionaries and adds middleware that detects each request's locale and exposes it to pages and components.
Inside Astro components the agent is shown how to read dictionary content with the Astro helper hooks for the current locale, and how to pass locale-aware content to framework islands built with React, Vue, Svelte, Solid, Preact or Lit. It also covers bundle hygiene, such as reading fields by name rather than indexing content at runtime, and points to an extraction compiler that can find content keys in components.
The skill ships with reference files for Astro alone and for each supported framework pairing, plus notes on variants, collections and locale-aware formatters for numbers, currency and dates.
When your agent uses it
Integrates Intlayer internationalization with Astro applications. Use when the user asks to "setup Astro i18n", use "getIntlayer" in Astro components, or manage server-side content in Astro.
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 21 files (384 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-astro 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-astro &&
cp -R "$tmp/.agents/skills/intlayer-astro" ~/.claude/skills/intlayer-astro &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/intlayer-astro inside it instead.
Copy the skill folder to ~/.agents/skills/intlayer-astro 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-astro &&
cp -R "$tmp/.agents/skills/intlayer-astro" ~/.agents/skills/intlayer-astro &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/intlayer-astro inside it instead.
Copy the skill folder to ~/.cursor/skills/intlayer-astro 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-astro &&
cp -R "$tmp/.agents/skills/intlayer-astro" ~/.cursor/skills/intlayer-astro &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/intlayer-astro 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-astroOr copy the folder to ~/.gemini/skills/intlayer-astro yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/intlayer-astro:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aymericzip/intlayer.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/intlayer-astro &&
cp -R "$tmp/.agents/skills/intlayer-astro" ~/.copilot/skills/intlayer-astro &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/intlayer-astro inside it instead.
Get the folder:
git clone --depth 1 https://github.com/aymericzip/intlayer.gitThen copy intlayer/.agents/skills/intlayer-astro into your agent's skills folder as intlayer-astro. Agents that support SKILL.md read one folder per skill.
What it does
- Astro integration setup
- Covers adding the Intlayer integration to the Astro config so dictionaries are built and locales resolved per request.
- Server-side content hooks
- Explains how to read dictionary content and the current locale inside Astro components.
- Framework island support
- Describes passing server-detected locales into React, Vue, Svelte, Solid, Preact and Lit islands.
- Bundle optimization rules
- Lists patterns that let the build purge unused dictionary fields, such as using select() instead of runtime indexing.
- Key extraction compiler
- Describes the compiler that finds content keys in components via a CLI command or at build time.
- Formatters and variants
- References locale-aware number, currency and date formatting plus content variants and collections.
Good for
- Set up multilingual routing and locale detection in an Astro site
- Translate text in an Astro component using dictionary keys
- Share localized content with a React or Vue island in Astro
- Extract translation keys from existing components
- Format prices and dates per locale in Astro pages
Intlayer astro FAQ
What does the skill need to be set up?
It expects an Astro project where the intlayer() integration is added to astro.config.ts, and it uses the astro-intlayer package for the Astro hooks.
Which parts of the app does Intlayer astro change?
It describes adding the integration, a middleware that resolves each request's locale into Astro.locals.intlayer, and component code that reads dictionary content.
When does the skill trigger?
It is meant for requests such as setting up Astro i18n, using getIntlayer in Astro components, or managing server-side content in Astro.
How do I install Intlayer astro in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/intlayer-astro to use it in all your projects, or to .claude/skills/intlayer-astro in one project.
Does Intlayer astro 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 astro?
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 astro?
The closest alternatives to Intlayer astro are Intlayer react, Intlayer angular, Intlayer backend, Intlayer svelte and Intlayer vanilla.
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 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

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

