globalize-now-cli-uselisted
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