intlayer-backend
Skill by aymericzip
Integrates Intlayer internationalization into Node.js and Bun backends. It covers Express, Fastify, Hono, NestJS, AdonisJS, Elysia and HTMX. It is aimed at developers who need server-side i18n in API routes and services.
Install intlayer-backend
Built from the published package, never by AI.
git clone --depth 1 https://github.com/aymericzip/intlayer /tmp/intlayer && mkdir -p ~/.claude/skills && cp -r /tmp/intlayer/.claude/skills/intlayer-backend ~/.claude/skills/intlayer-backendRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/aymericzip/intlayer /tmp/intlayer && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/intlayer/.claude/skills/intlayer-backend ~/.gemini/antigravity-cli/skills/intlayer-backendAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through adding Intlayer internationalization to a Node.js or Bun backend. Each framework gets a middleware or plugin, such as intlayer(), that resolves the locale of each request from a cookie, header or Accept-Language. The source lists the registration call for each framework, including Express, NestJS, Fastify, Hono, Elysia and AdonisJS.
Once the middleware is registered, helpers such as t, getIntlayer and getDictionary read the request locale. This lets services call them without passing a locale argument through every function. Content is declared in dictionary files, and the source also covers resolving content for jobs, queues or emails using a stored user locale. The skill is intended for backend developers who want to translate API responses or set up server-side i18n.
Written from the project's SKILL.md and checked against it.
What it can do
- Register Intlayer middlewareAdds the intlayer() middleware or plugin so each request gets its own locale.
- Inline translations with tTranslates short strings in a handler using an en and fr style object.
- Dictionary lookup by keyReads content from a dictionary with getIntlayer("index").
- Imported dictionariesReads an imported content file with getDictionary.
- Declare content filesCreates an index.content.ts file that defines translated content.
- Locale for jobs and emailsResolves content for a stored user locale when there is no incoming request.
- Framework guidesProvides setup references for Express, Fastify, Hono, NestJS, AdonisJS, Elysia and HTMX.
What you need
- Node.js or Bun runtime
- Intlayer packages for the chosen framework
- A backend framework such as Express, Fastify, Hono, NestJS, AdonisJS or Elysia
Try asking
- Set up Intlayer i18n in my Express app with the intlayer middleware
- Translate the API responses in this Hono route handler using t
- Add a dictionary with getIntlayer for the welcome email in my NestJS service
Good to know
- On Elysia, helpers are read from the route context instead of imported directly.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/intlayer-backend/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENCE.md11 KB -
SKILL.md5 KB -
references/concept_collections.md6 KB -
references/concept_variants.md21 KB -
references/environment_adonisjs.md23 KB
Show all 25 files
-
references/environment_elysia.md25 KB -
references/environment_express.md22 KB -
references/environment_fastify.md22 KB -
references/environment_hono.md22 KB -
references/environment_htmx.md28 KB -
references/environment_nest.md20 KB -
references/packages_adonis-intlayer_exports.md4 KB -
references/packages_adonis-intlayer_intlayer.md2 KB -
references/packages_adonis-intlayer_t.md4 KB -
references/packages_elysia-intlayer_exports.md7 KB -
references/packages_elysia-intlayer_intlayer.md6 KB -
references/packages_express-intlayer_exports.md4 KB -
references/packages_express-intlayer_intlayer.md2 KB -
references/packages_express-intlayer_t.md9 KB -
references/packages_fastify-intlayer_exports.md4 KB -
references/packages_fastify-intlayer_intlayer.md2 KB -
references/packages_hono-intlayer_exports.md4 KB -
references/packages_hono-intlayer_intlayer.md2 KB -
references/packages_hono-intlayer_t.md7 KB -
references/packages_intlayer_exports.md12 KB
Alternatives to intlayer-backend
All alternatives →Diagnoses slow React components and suggests targeted performance fixes. Built for developers who want to reduce re-renders or list lag in React UIs.
Diagnoses slow React components and suggests targeted performance fixes. Built for React developers who need to reduce re-renders, list lag, or expensive render work.
Designs masterclass-style lectures as slide courses with dense pages, long teacher narration and rare quizzes. Built for subjects where understanding matters more than hands-on practice.
Designs hands-on workshop courses in which the learner practises through exercise and quiz pages instead of watching. It suits workshops, bootcamp sessions and skills the learner should leave able to use.
Analyzes competition and develops market positioning strategies using Porter's Five Forces, Blue Ocean Strategy, and positioning maps. Useful for founders and teams evaluating competitors or preparing a startup or investor pitch.
Designs courses whose content depends on current or external facts. It researches the topic first, records each claim with its source, and builds the outline and pages from fetched material. Built for educators teaching time-sensitive subjects.
Compare with react-component-performance, react-component-performance or lecture-style
intlayer-backend: common questions
Which backend frameworks does intlayer-backend support?
The source lists Express, Fastify, Hono, NestJS, AdonisJS, Elysia and HTMX, with a separate reference guide for each.
How does the locale get chosen for each request?
The intlayer() middleware or plugin resolves the locale from a cookie, a header or Accept-Language, and scopes it to that request.
Can I translate content for background jobs or emails?
Yes. The source says to call getIntlayer with the recipient's stored locale when there is no incoming request.
How do I install intlayer-backend?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is intlayer-backend free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is intlayer-backend safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to intlayer-backend?
Similar skills: react-component-performance, react-component-performance, lecture-style, workshop-style.
