aymericzip/intlayer-skills/intlayer-backend
Claude Code and agent skill by aymericzip/intlayer-skills
- community
Checking that the SKILL.md file is still in the repository.
Integrates Intlayer internationalization with Node.js / Bun backends (Express, Fastify, Hono, NestJS, AdonisJS, Elysia, HTMX). Use when the user asks to "translate API responses", "setup server-side i18n", register the Intlayer middleware, or use "t" / "getIntlayer" in a route handler.
Install
npx vskill@latest install aymericzip/intlayer-skills/intlayer-backendSKILL.md
Intlayer Backend Usage
Core Philosophy
Every backend integration works the same way:
- A middleware / plugin (
intlayer()) resolves the locale of each request (cookie, header,Accept-Language) and scopes it to that request. - Helpers (
t,getIntlayer,getDictionary) read that request locale, so they are safe to call from services without threading a locale argument through every function.
| Framework | Package | Registration | |
|---|---|---|---|
| Express | express-intlayer | app.use(intlayer()) | |
| NestJS | express-intlayer | consumer.apply(intlayer()).forRoutes("*") | |
| Fastify | fastify-intlayer | await fastify.register(intlayer) | |
| Hono | hono-intlayer | app.use("*", intlayer()) | |
| Elysia | elysia-intlayer | .use(intlayer()), helpers read from route intlayer | |
| AdonisJS | adonis-intlayer | Registered middleware (see the AdonisJS guide) |
Declare Content
File: src/index.content.ts
Usage
Register the middleware / plugin from the table above before the routes that read content (see the Express guide), then call the helpers in any handler:
The same helpers are exported by fastify-intlayer, hono-intlayer and adonis-intlayer. On Elysia, read them from the route context: ({ intlayer }) => intlayer!.getIntlayer("index").
For jobs, queues or emails (no incoming request), resolve content for the recipient's stored locale:getIntlayer("index", user.locale).
References
Environments
Concepts
Packages
- Intlayer Exports
- Express Intlayer Exports
- Fastify Intlayer Exports
- Hono Intlayer Exports
- Adonis Intlayer Exports
- Elysia Intlayer Exports
- adonis-intlayer intlayer
- adonis-intlayer t
- elysia-intlayer intlayer
- express-intlayer intlayer
- express-intlayer t
- fastify-intlayer intlayer
- hono-intlayer intlayer
- hono-intlayer t
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/intlayer-backend/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aymericzip/intlayer-skills/intlayer-backend)