kibana-i18n
Skill by elastic
Guides an AI assistant in adding i18n to Kibana React components and server code using @kbn/i18n and @kbn/i18n-react. It is aimed at developers working on Kibana UI strings and translation files.
Install kibana-i18n
Built from the published package, never by AI.
git clone --depth 1 https://github.com/elastic/kibana /tmp/kibana && mkdir -p ~/.claude/skills && cp -r /tmp/kibana/.agents/skills/kibana-i18n ~/.claude/skills/kibana-i18nRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/elastic/kibana /tmp/kibana && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/kibana/.agents/skills/kibana-i18n ~/.gemini/antigravity-cli/skills/kibana-i18nAntigravity 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
The kibana-i18n skill sets out how to internationalize Kibana code. It covers the i18n.translate function for non-JSX contexts, the FormattedMessage component for JSX, and helpers such as i18n.formatList, FormattedDate and FormattedRelative. It explains which API to use in each context and which imports to use, and says never to import from react-intl directly.
It also sets message ID naming rules, including the namespace from .i18nrc.json, camelCase segments and type suffixes such as Label, ButtonLabel and ErrorMessage. It lists static analysis constraints for the extraction tooling, splitting rules for sentences, and the node scripts/i18n_check --fix validation step. It is intended for developers working on Kibana plugins and the x-pack codebase.
Written from the project's SKILL.md and checked against it.
What it can do
- i18n.translateTranslates strings in non-JSX code, such as server code, hooks and props, using a positional message ID.
- FormattedMessageRenders translated text in JSX with ICU values such as plurals and placeholders.
- i18n.formatListFormats arrays of strings as localized conjunction, disjunction or unit lists.
- Message ID namingRules for the namespace, camelCase segments and type suffixes in message IDs.
- Formatting componentsFormattedDate, FormattedTime, FormattedNumber, FormattedRelative and FormattedRelativeTime from @kbn/i18n-react.
- Compound messagesTag chunking and nested FormattedMessage for JSX inside translated strings.
- Static analysis rulesConstraints on id, defaultMessage and values so the extraction tooling can parse them.
- Validation stepRuns node scripts/i18n_check --fix after adding or changing i18n strings.
What you need
- Kibana repository with @kbn/i18n and @kbn/i18n-react
- Root and x-pack .i18nrc.json files
- scripts/i18n_check in the repository
Try asking
- Internationalize the strings in this Kibana login component with FormattedMessage.
- Suggest a message ID for a save button label in my Kibana plugin.
- Add i18n.translate to this server error message with a count placeholder.
Good to know
- Covers Kibana-specific conventions and tooling only.
- Says never to import from react-intl directly, and discourages legacy patterns such as injectI18n.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/kibana-i18n/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to kibana-i18n
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
kibana-i18n: common questions
Should I use FormattedMessage or i18n.translate?
Use FormattedMessage in JSX return or render. Use i18n.translate for props that accept strings, server code, hooks, callbacks and event handlers.
How should Kibana message IDs be named?
IDs start with the namespace from .i18nrc.json, use camelCase segments and end with a type suffix such as Label or ButtonLabel.
Can message IDs be built from variables?
No. The id must be a string literal because the extraction tooling parses the code statically.
How do I install kibana-i18n?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is kibana-i18n free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is kibana-i18n safe to use?
It scores 80 of 100. Grades: maintenance A, licence F, 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 kibana-i18n?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
