AgentSkillsCN

intlayer-cli

通过命令行界面管理Intlayer字典与配置。当用户提出“审计翻译”“构建字典”“同步内容”或运行“intlayer”命令时使用。

SKILL.md
--- frontmatter
name: intlayer-cli
description: Manages Intlayer dictionaries and configuration via the Command Line Interface. Use when the user asks to "audit translations", "build dictionaries", "sync content", or run "intlayer" commands.
metadata:
  author: Intlayer
  url: https://intlayer.org
  license: Apache-2.0
  mcp-server: "@intlayer/mcp"
  category: productivity
  tags: [i18n]
  documentation: https://intlayer.org/doc
  support: contact@intlayer.org

Intlayer CLI

The intlayer-cli package provides a set of commands to manage Intlayer dictionaries and configuration.

Installation

bash
npm install intlayer-cli

Main CLI Commands

CommandDescription
npx intlayer buildBuilds the Intlayer dictionaries.
npx intlayer auditAudits the dictionaries for missing translations.
npx intlayer live-syncSynchronizes dictionaries in real-time.
npx intlayer pullPulls dictionaries from a remote source (e.g., Intlayer CMS).
npx intlayer pushPushes dictionaries to a remote source.
npx intlayer testRuns tests on dictionaries.
npx intlayer extractExtract content from component to create dictionary.

References

Concepts

Packages