aymericzip/intlayer-skills/intlayer-content
Claude Code and agent skill by aymericzip/intlayer-skills
- community
Checking that the SKILL.md file is still in the repository.
Define rich content structures using Intlayer content nodes. Use when the user asks to "create translations", "handle pluralization", "use markdown in content", or implement "conditional content".
Install
npx vskill@latest install aymericzip/intlayer-skills/intlayer-contentSKILL.md
Intlayer Content Nodes
Define rich and dynamic content using Intlayer functions. Use the reference below for each node type.
Translation (t)
Define multilingual content mapped to locales.
Find locales to declare in config file. Supported configuration files:
intlayer.config.{ts|js|cjs|mjs|json|json5|jsonc|md|mdx|yml|yaml}.intlayerrc
Enumeration (enu)
Map content to custom numeric values or ranges (<5, >=10). For grammatical plural forms, use plural instead.
Plural (plural)
Select the grammatical plural form from a count, using the CLDR categories (zero, one, two, few, many, other) of the active locale. other is required and used as fallback.
pluralmust be the leaf: wrap it int(), never putt()insideplural().
Condition (cond)
Define content based on a boolean condition.
Markdown (md)
Define rich text using Markdown syntax.
HTML (html)
Define HTML content, optionally with custom components.
Nesting (nest)
Reuse content from another dictionary.
Function Fetching
Execute logic to generate content (synchronous or asynchronous).
Insertion (insert)
Define dynamic content with variables.
File (file)
Reference external files as content.
Gender (gender)
Define content based on gender ('male', 'female', etc.).
Select (select)
Map any string value (status, plan, role…) to content: the equivalent of an ICU select or a switch. Without fallback, only the declared cases are type-accepted.
Preferselect()over indexing a plain object (content.statuses[status]): dynamic property access prevents the compiler from pruning and minifying the content, and the build warnsOpaque field.
Choosing a node by discriminant
| Discriminant | Node | |
|---|---|---|
| A count (grammar) | plural() | |
| A number / custom ranges | enu() | |
| A boolean | cond() | |
| A gender | gender() | |
| Any other string value | select() |
Example Directory Structure (react)
Content Templates
_TypeScript (.content.ts)_
_TypeScript with React (.content.tsx)_
Content declaration combination
Nodes can be imbricated for complex logic.
Type validation of dictionary
Key Dictionary Fields for AI Management
Core Metadata
- key: The identifier for the dictionary (e.g.,
about-page-meta). AI can ensure consistent naming conventions. - title: A human-readable name for identification in the CMS or editor.
- description: Provides context for the dictionary. AI uses this to understand the purpose and generate better translations or content.
- tags: Categorization strings (e.g.,
metadata,SEO) to help organize and filter dictionaries.
Content & Localization
- locale: Specifies the language of the content for a per-locale file
- contentAutoTransformation: A toggle to automatically convert raw strings into specialized formats like Markdown, HTML, or Insertions (variables).
- fill: An instruction indicating whether the dictionary should be automatically populated by AI/automation tools.
Behaviorals Settings
- priority: A numeric value used to resolve conflicts during merge of dictionaries under a same key.
- importMode: Defines how content is loaded (
static,dynamic, orfetch). AI can recommend the best mode based on performance needs. - location: Controls CMS synchronization (
hybrid,remote,local). AI can manage where the source of truth resides. - schema: string that use zod schema declared in config file to validate data
References
Content Nodes
- Content File
- Translation
- Enumeration
- Plural
- Condition
- Gender
- Select
- Insertion
- Markdown
- HTML
- Nesting
- File
- Function Fetching
Packages
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-content/SKILL.md
Popularity
- Repository stars
- 4
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 22 Mar 2026, 7 months ago.
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-content)