aymericzip/intlayer-skills/intlayer-remix
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 Remix 3 applications. Use when the user asks to "setup Remix i18n", register the Intlayer router middleware, or use the "useIntlayer" / "useLocale" hooks in Remix route handlers and views.
Install
npx vskill@latest install aymericzip/intlayer-skills/intlayer-remixSKILL.md
Intlayer Remix Usage
Core Philosophy
Intlayer promotes Component-Level Content Declaration. Instead of a massive global translation file, content is declared in *.content.ts files adjacent to the views that use them.
Declare Content
File: src/views/home.content.ts
Setup
Register the intlayer() router middleware in createRouter(), before render(). It strips the locale prefix before route matching, so routes are declared once without a :locale segment.
Hooks
useIntlayer, useDictionary and useLocale read the request locale with no argument, anywhere downstream of the middleware (route handlers and remix/ui views).
-useIntlayer("home", "fr")overrides the request locale for one call.- Remix JSX is not React:classis written as-is, and re-renders are triggered withhandle.update().- Outside of a request, the hooks fall back to the default locale.
Compiler
The Intlayer Compiler can extract all your content keys from your components, using one CLI command (npx intlayer extract) or automatically at app build.
References
Environments
Concepts
Packages
Security
- Security scanPassed, 90 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-remix/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-remix)