SuperAPI AI Directory

intlayer-dev-tools

Coding & development

View repository

Updated 11-16 19:23

About this skill

Intlayer Dev Tools

Lint (ESLint / oxlint)

eslint-plugin-intlayer catches hardcoded strings, dynamic calls the Intlayer compiler cannot optimize, and unused dictionary content.

npm install --save-dev eslint-plugin-intlayer

Then spread intlayer.configs.recommended in your eslint.config.mjs (oxlint is also supported).

Config no-raw-text static-dictionary-key no-dynamic-field-access
recommended warn error error
strict error error error
contract-only off error error

Language Server (LSP)

@intlayer/lsp (binary intlayer-lsp) brings Go-to-Definition from a useIntlayer("key") call to its .content file, Find References, hover previews, key autocompletion and diagnostics.

npm install --save-dev @intlayer/lsp

VS Code Extension

Jump from a dictionary key to its content file, extract content from a component, and run build, fill, test, push and pull from the command palette.

MCP Server

Gives AI assistants access to the Intlayer documentation and CLI.

npx intlayer init mcp

This writes the MCP configuration for your IDE (local @intlayer/mcp over stdio, or the hosted https://mcp.intlayer.org).

A WebMCP is also available for the main website and documentation at https://intlayer.org.

CI/CD

Fill missing translations with AI on each change, and fail the build on missing ones:

npx intlayer fill --git-diff --mode complete
npx intlayer test

Chrome Extension

Inspect the i18n setup of any website: framework, i18n library, locales, hreflang and SEO tags.

References

Tools