agentleFS
aymericzipaymericzip/intlayer-skills/skills/intlayer-config/SKILL.md

intlayer-config

Skill5 starsChanged 47 days agoApache-2.0View on GitHub

Configures Intlayer project settings and environment variables. Use when the user asks to "setup intlayer.config", "configure locales", or "customize Intlayer settings".

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Intlayer Configuration

Configure Intlayer project settings and environment variables. Check these files to identify which locales are declared for the application, which helps in defining the appropriate content.

Supported configuration files:

  • intlayer.config.{ts|js|cjs|mjs|json|json5|jsonc}
  • .intlayerrc

It acts as the central brain for your application's internationalization strategy. It is divided into several specialized sections that control everything from language support to AI-powered translations.

Internationalization

This section defines your language footprint.

  • Locales: Define which languages you support (e.g., English, French, Spanish).
  • Default Locale: Set the fallback language if a user's preference isn't found.

Routing & middleware

Controls how users navigate between different languages.

AI & Automation

Intlayer integrates with major AI providers (OpenAI, Anthropic, Gemini, etc.) to automate your workflow.

Content & Dictionaries

Manages how and where your translation files are handled.

  • Import Mode: Choose between Static (faster performance), Dynamic (lazy loading), or Fetch (live updates from a CMS).
  • Auto-Transformation: Automatically convert Markdown or HTML strings into processed components.

Editor & System

Settings for the visual workflow and internal plumbing.

Retrieving configuration into your app

import { defaultLocale, getConfiguration, locales } from "intlayer";

console.log(locales); // ['en', 'fr', ...]
console.log(defaultLocale); // 'en'

// Other sections: internationalization, routing, editor, content, log
const { routing } = getConfiguration();

console.log(routing.mode); // 'prefix-no-default'

References

Concepts

  • Configuration

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.