← ClaudeAtlas

globalize-now-cli-uselisted

Manage Globalize translation resources using the CLI. Use this skill when the user asks to create a translation project, add or remove languages, connect a GitHub or GitLab repository, manage glossaries or style guides, invite team members, manage API keys, or perform any Globalize platform operation. Also use when the user mentions managing translations, translation workflow, or wants to "set up translations for this repo." This skill assumes the CLI is already installed and authenticated — run globalize-now-account-setup first if not.
globalize-now/globalize-skills · ★ 3 · Web & Frontend · score 67
Install: claude install-skill globalize-now/globalize-skills
# Globalize CLI Usage This skill guides you through managing translation resources on the [Globalize](https://globalize.now) platform using the CLI (`globalise-now-cli`). **Always use `--json`** when running commands programmatically. Parse JSON output to extract IDs for subsequent commands. Many operations require UUIDs returned from prior steps. All examples use `npx @globalize-now/cli-client`. If the CLI is installed globally, replace with `globalise-now-cli`. --- ## Step 1: Prerequisite Check Verify authentication is configured: ```bash npx @globalize-now/cli-client auth status --json ``` If this fails or reports no credentials, run the `globalize-now-account-setup` skill first. --- ## Step 2: Common Workflow — Create a Project and Connect a Repository This is the most common end-to-end workflow. Follow these sub-steps in order: ### 2a. Fetch and match available languages Projects must be created using **language IDs** returned from the languages API. Before creating a project, fetch the catalog and match the user's desired languages against it. 1. **Fetch the language catalog:** ```bash npx @globalize-now/cli-client languages list --json ``` This returns an array of language objects, each with `id` (UUID), `name`, and `locale` (BCP 47 code). 2. **Match desired languages against the catalog.** Compare the user's source and target locale codes (e.g., `en`, `fr`, `de`, `ja`) against the `locale` field in the returned list. Extract the corresponding `id` for