Commandkit i18n

From neplextech/commandkit · View interactive version

Commandkit i18n is an AI agent skill from the GitHub repository neplextech/commandkit. Implement localization with @commandkit/i18n and i18next. Use for locale resources, command metadata translations, and locale-aware runtime helpers.

How to use this skill

Skill file

CommandKit i18n Plugin

Activation guidance

Use for multilingual command metadata and translated runtime

responses.

Required filesystem expectations

src/app/events/**

Execution workflow

  1. Register i18n() plugin.
  2. Build locale directory and translation files.
  3. Add $command keys for metadata localization.
  4. Use ctx.locale() in commands and locale() in events/utilities.
  5. Validate missing-key and fallback behavior.

Guardrails

Reference index

| Name | Description |

| ------------------------------------------------ | --------------------------------------------------------- |

| references/00-filesystem-structure.md | Locale folder layout and naming expectations. |

| references/01-plugin-setup.md | Plugin setup baseline. |

| references/02-locales-structure.md | Locale file placement and organization details. |

| references/03-command-metadata-localization.md | $command and context menu metadata localization format. |

| references/04-locale-helpers.md | Runtime locale helper usage in commands/events. |

Tool index

| Name | Description |

| -------------------------------- | -------------------------------------------------------------------- |

| tools/generate-locale-file.mjs | Prints a locale JSON starter template for a command and locale code. |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.