E2E Test Thinker
UniClipboard/UniClipboard
Analyze the current branch's diff against main and determine which changes are testable via CLI-based end-to-end tests.
Adds a new end-to-end (e2e) test suite for the Crowdin CLI under tests/e2e/suites/, exercising real CLI commands against a freshly-created Crowdin project.
$ npx skills add crowdin/crowdin-cli --skill add-e2e-test-suite -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install crowdin/crowdin-cli add-e2e-test-suite --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/crowdin/crowdin-cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/add-e2e-test-suite .claude/skills/add-e2e-test-suite && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "add-e2e-test-suite" agent skill from https://github.com/crowdin/crowdin-cli/tree/main/.agents/skills/add-e2e-test-suite into .claude/skills/add-e2e-test-suite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-e2e-test-suite", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/crowdin/crowdin-cli/tree/main/.agents/skills/add-e2e-test-suiteType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add crowdin/crowdin-cli --skill add-e2e-test-suite -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install crowdin/crowdin-cli add-e2e-test-suite --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/crowdin/crowdin-cli.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/add-e2e-test-suite .agents/skills/add-e2e-test-suite && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-e2e-test-suite" agent skill from https://github.com/crowdin/crowdin-cli/tree/main/.agents/skills/add-e2e-test-suite into .agents/skills/add-e2e-test-suite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-e2e-test-suite", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add crowdin/crowdin-cli --skill add-e2e-test-suite -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install crowdin/crowdin-cli add-e2e-test-suite --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/crowdin/crowdin-cli.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/add-e2e-test-suite .cursor/skills/add-e2e-test-suite && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "add-e2e-test-suite" agent skill from https://github.com/crowdin/crowdin-cli/tree/main/.agents/skills/add-e2e-test-suite into .cursor/skills/add-e2e-test-suite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-e2e-test-suite", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/crowdin/crowdin-cli.git --path .agents/skills/add-e2e-test-suite--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add crowdin/crowdin-cli --skill add-e2e-test-suite -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install crowdin/crowdin-cli add-e2e-test-suite --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/crowdin/crowdin-cli.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/add-e2e-test-suite .gemini/skills/add-e2e-test-suite && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "add-e2e-test-suite" agent skill from https://github.com/crowdin/crowdin-cli/tree/main/.agents/skills/add-e2e-test-suite into .gemini/skills/add-e2e-test-suite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-e2e-test-suite", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install crowdin/crowdin-cli add-e2e-test-suiteInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add crowdin/crowdin-cli --skill add-e2e-test-suite -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/crowdin/crowdin-cli.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/add-e2e-test-suite .github/skills/add-e2e-test-suite && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "add-e2e-test-suite" agent skill from https://github.com/crowdin/crowdin-cli/tree/main/.agents/skills/add-e2e-test-suite into .github/skills/add-e2e-test-suite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-e2e-test-suite", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add crowdin/crowdin-cli --skill add-e2e-test-suite -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install crowdin/crowdin-cli add-e2e-test-suite --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/crowdin/crowdin-cli.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/add-e2e-test-suite .opencode/skills/add-e2e-test-suite && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "add-e2e-test-suite" agent skill from https://github.com/crowdin/crowdin-cli/tree/main/.agents/skills/add-e2e-test-suite into .opencode/skills/add-e2e-test-suite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-e2e-test-suite", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
add-e2e-test-suiteAdds a new end-to-end (e2e) test suite for the Crowdin CLI under tests/e2e/suites/, exercising real CLI commands against a freshly-created Crowdin project.
Add E2E Test Suite is an agent skill from crowdin/crowdin-cli. Adds a new end-to-end (e2e) test suite for the Crowdin CLI under tests/e2e/suites/, exercising real CLI commands against a freshly-created Crowdin project. Covers fixtures, the setupSuite/teardownSuite lifecycle, running the CLI, output normalization, snapshot generation, and file assertions. Use whenever asked to add, write, scaffold, or extend an e2e/integration test suite for the CLI — including new command coverage like upload, download, branch, glossary, or TM — even if the user just says "add an e2e test…
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering End-to-end testing and Test generation. The repository describes itself as: A command-line client for the Crowdin API. The licence is MIT.
Read from SKILL.md and the folder at commit 1522c9b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bunFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
CROWDIN_E2E_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Add E2E Test Suite loads about 2.4k tokens when it runs. Until then it costs about 136 tokens; SKILL.md has 879 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from crowdin/crowdin-cli at commit 1522c9b, republished under its MIT licence (© crowdin). 879 words, ~2,365 tokens.
.claude/skills/add-e2e-test-suite/SKILL.md (or your agent's skills folder).The framework runs bun src-next/cli.ts against a real, freshly-created Crowdin project, asserts on normalized output / exit codes / produced files, then tears everything down. Each suite is one file owning one project: beforeAll provisions, test()s run in declaration order, afterAll tears down. See tests/e2e/README.md.
You can't reliably predict the CLI's exact output or where the server lands files — hand-written snapshots are usually wrong and waste a review cycle.
You almost certainly don't have CROWDIN_E2E_TOKEN (it lives in the user's/CI env). So don't run the suite yourself with a fabricated token. Instead, write the suite, then ask the user to run it and report back:
# user runs this (token already in their env):
bun test tests/e2e/suites/<suite>.test.ts --update-snapshotsThen read the committed .snap to sanity-check it's real output, not an error/empty build.
Same for any server behavior (locale folder names, file layout): observe it, don't assume. Ask the user to run once with a throwaway console.log(await (await import('node:fs/promises')).readdir(ctx.workspace, { recursive: true })) after the run (or CROWDIN_E2E_KEEP=1 bun run test:e2e, which skips teardown and logs the kept workspace path), and paste the result.
1. Fixtures — tests/e2e/fixtures/<suite>/config/crowdin.yml (template) + input files (e.g. sources/*.md). {{projectId}} / {{token}} / {{baseUrl}} are always available ({{baseUrl}} is CROWDIN_E2E_BASE_URL, so never hardcode api.crowdin.com); any other {{name}} must be supplied by the caller (see switchConfig below) or renderConfig throws. Everything except the top-level config/ dir is copied into the workspace, so alt-configs/ and expected/ land there too.
project_id: "{{projectId}}"
api_token: "{{token}}"
base_path: "."
base_url: "{{baseUrl}}"
preserve_hierarchy: true
files:
- source: "sources/*.md"
translation: "translations/%locale%/%original_file_name%"2. Suite — tests/e2e/suites/<suite>.test.ts:
import { afterAll, beforeAll, describe, expect, test } from 'bun:test';
import { expectFailure } from '../helpers/cli.ts';
import { expectFilesExist } from '../helpers/files.ts';
import { normalize } from '../helpers/normalize.ts';
import { type SuiteContext, setupSuite, teardownSuite } from '../helpers/suite.ts';
describe('<human-readable suite name>', () => {
let ctx: SuiteContext;
// targetLanguageIds optional (defaults to ['it', 'uk']).
beforeAll(async () => { ctx = await setupSuite('<suite>', { targetLanguageIds: ['uk', 'it'] }); });
afterAll(async () => { await teardownSuite(ctx); });
test('uploads sources', async () => {
const result = await ctx.runner.run(['upload', 'sources']);
expect(result).toMatchObject({ exitCode: 0 });
expect(normalize(result.stdout)).toMatchSnapshot();
});
test('downloads translations', async () => {
const result = await ctx.runner.run(['download', 'translations']);
expect(result).toMatchObject({ exitCode: 0 });
expect(normalize(result.stdout)).toMatchSnapshot();
// Files land where the config's `translation:` pattern resolves — assert the layout you observed.
await expectFilesExist(ctx.workspace, 'translations/it-IT/alpha.md', 'translations/uk-UA/alpha.md');
});
test('rejects an unknown language', async () => {
const result = await ctx.runner.run(['download', 'translations', '-l', 'xx']);
expectFailure(result, 1, "Language 'xx' doesn't exist in the project");
});
});3. Have the user run the suite with --update-snapshots (see iron rule), then read the generated .snap before committing it.
No registry to edit (suites are discovered by file). No file cleanup to write (teardownSuite wipes the whole workspace).
ctx.runner.run(args) auto-appends -c <config> --no-progress --no-colors — pass only what follows crowdin. Returns { stdout, stderr, exitCode, timedOut }. Always assert the exit code and the snapshot.expect(result).toMatchObject({ exitCode: 0 }); a failing command is expectFailure(result, <code>, ...stderrSubstrings). Don't reintroduce expect(result.exitCode).toBe(...).normalize() gathers every status line (●, ▲, ◆) into one block, markers in order of first appearance and sorted within each — their interleaving is a race, so position is not preserved. Other lines are still sorted only within contiguous same-token runs (which keeps table rows inside their own table). It also masks ids (#123 → #id, a bare leading id → <id>, (ID: 123) → (ID: <project>)), durations, the workspace root, the per-run project name, collapses repeated poll-progress lines, and drops the update-check banner. Assert load-bearing facts (exit code, files, counts) explicitly; don't add per-suite normalize config.translation: pattern IS applied on download — the CLI resolves each archive entry to the local path that pattern names, so translation: "translations/%locale%/%original_file_name%" lands translations/it-IT/alpha.md (see basic-upload-download). The layout follows the pattern and its placeholders, so assert what you observed for the pattern under test.describe() name — renaming it orphans existing entries; update the .snap or regenerate.'translations/it-IT/alpha.md') over paths derived from the API/config — clearer and obviously correct.setupSuite throws without CROWDIN_E2E_TOKEN. Suites run via bun run test:e2e; the network-free helper unit tests run in the regular bun test.test:e2e passes --parallel=4). Tests inside one file still run in order, but another suite is running against the same account — so never assert on account-wide listings (every glossary, every project) without filtering to this suite's own names.tests/e2e/helpers/)Lifecycle (suite.ts)
setupSuite(suite, { sourceLanguageId?, targetLanguageIds?, stringsBased?, withoutProject? }) → SuiteContext { suite, env, client, workspace, project, runner, extraProjects }. Provisions workspace + fixtures + project + rendered config; rolls back the project if a later setup step fails. ctx.client is a @crowdin/crowdin-api-client Client for direct API setup/assertions.teardownSuite(ctx) — deletes the project and every createExtraProject one, removes the workspace; honors CROWDIN_E2E_KEEP=1; logs, never throws.createExtraProject(ctx, opts) → id of a second project (e.g. a strings-based one to fire a guard against); torn down with the rest. Don't hand-roll a delete in afterAll.switchConfig(ctx, name, vars?) — swap in alt-configs/<name>.yml, rendered with the project id, token and any vars. Values go in as-is when they are strings and JSON-encoded otherwise, so an array renders as a YAML flow sequence: switchConfig(ctx, 'ignore', { ignore: ['/**/?.xml'] }) against a template line ignore: {{ignore}}. Prefer this over building YAML from string arrays in the test.restoreConfig(ctx) — put the suite's own config/crowdin.yml back. Don't add an alt-config that just duplicates it.renderFixture(ctx, from, to?, vars?) — render any workspace fixture, not just crowdin.yml (e.g. an --identity file).runJson<T>(ctx, args, opts?) — run with --output json, assert exit 0, return the parsed stdout.Assertions
expectFailure(result, exitCode, ...stderrSubstrings) (cli.ts).files.ts: expectFilesExist(workspace, ...paths), expectFilesMatch(workspace, actualDir, expectedDir, ...paths) (compares a download against expected/ fixtures and names every file that differs), clearDir(workspace, ...paths) (clear a download destination so a stale file can't masquerade as a fresh one), captureAndClear / expectRestored / capturedContent, listFilesRecursively(root).lookup.ts: projectFilePaths(ctx), findStringId, findBranch, findFileId, findCommentId, findGlossaryId, findTmId, translationCount. Reach for these before writing another list-find-or-throw by hand.normalize(output) — see the rules above.Compare against fixtures, not against the CLI's own code. init used to build its expected YAML with the CLI's own generator, so a generator regression rewrote both sides and passed. Check in an expected/ file captured from a real run instead.
© crowdin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/add-e2e-test-suite of crowdin/crowdin-cli.
Open the folder on GitHubat commit 1522c9b
Add E2E Test Suite next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Add E2E Test Suite this skillcrowdin/crowdin-cli | 319 | — | ~2.4k | Automated safety check: Pass | MIT | |
| E2E Test ThinkerUniClipboard/UniClipboard | 1.8k | — | ~1.7k | Automated safety check: Pass | AGPL-3.0 | |
| Migrate E2E To Integrationopenshift/oc-mirror | 124 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Verifying ChangesMr-Quin/danmaku-anywhere | 547 | — | ~1.1k | Automated safety check: Pass | Custom licence | |
| Test Scenariosphuryn/pm-skills | 27k | — | ~866 | Automated safety check: Pass | MIT | |
| Memmesh Test IntegrationThinkfleetAI/memmesh | 419 | — | ~621 | Automated safety check: Pass | Apache-2.0 |
UniClipboard/UniClipboard
Analyze the current branch's diff against main and determine which changes are testable via CLI-based end-to-end tests.
openshift/oc-mirror
Migrate an oc-mirror e2e test case to the integration test suite, translating framework, registry, invocation, and assertion patterns
Mr-Quin/danmaku-anywhere
Use after changing extension code, to prove it works: which test tier to run, the red-before-green rule, and what to record in the PR test plan.
phuryn/pm-skills
Create comprehensive test scenarios from user stories with test objectives, starting conditions, user roles, step-by-step actions, and expected outcomes.
ThinkfleetAI/memmesh
Verify a MemMesh integration produced by memmesh-integrate. An agent skill from ThinkfleetAI/memmesh.
ItamarZand88/CLI-Anything-WEB
Writes and documents the test suite for a generated cli-web- CLI (Phase 3): unit tests with mocked HTTP, live E2E tests, subprocess tests via resolvecli, and the TEST.md plan/results record.
crowdin/crowdin-cli
A skill your agent uses when implementing, refactoring, or reviewing @crowdin/crowdin-api-client usage in any JavaScript or TypeScript project, especially for endpoint selection, request/response…
crowdin/crowdin-cli
Validates CLI commands against live environments with safe setup and cleanup.
crowdin/crowdin-cli
A skill your agent uses when adding or changing what a CLI command prints - creating or editing views (views.ts), list/item/grid/table rendering, deciding what --output plain, json, or toon emit…
Categories
Adds a new end-to-end (e2e) test suite for the Crowdin CLI under tests/e2e/suites/, exercising real CLI commands against a freshly-created Crowdin project. Add E2E Test Suite is an agent skill from crowdin/crowdin-cli. Adds a new end-to-end (e2e) test suite for the Crowdin CLI under tests/e2e/suites/, exercising real CLI commands against a freshly-created Crowdin project.
Add E2E Test Suite fits situations like: extend an e2e/integration test suite for the CLI — including new command coverage like upload; TM — even if the user just says add an e2e test for X.
Run `npx skills add crowdin/crowdin-cli --skill add-e2e-test-suite -a claude-code`. Or copy the skill folder (.agents/skills/add-e2e-test-suite in crowdin/crowdin-cli) into .claude/skills/add-e2e-test-suite in your project. Claude Code loads it when a task matches its description.
Run `npx skills add crowdin/crowdin-cli --skill add-e2e-test-suite -a codex`. Or copy the skill folder (.agents/skills/add-e2e-test-suite in crowdin/crowdin-cli) into .agents/skills/add-e2e-test-suite in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add crowdin/crowdin-cli --skill add-e2e-test-suite -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-e2e-test-suite, .gemini/skills/add-e2e-test-suite, .github/skills/add-e2e-test-suite and .opencode/skills/add-e2e-test-suite in your project.
Going by SKILL.md and its folder, Add E2E Test Suite needs the command-line tools its instructions call (bun) and credentials named CROWDIN_E2E_TOKEN. Our summary lists: A credential in CROWDIN_E2E_TOKEN.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Add E2E Test Suite is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Add E2E Test Suite: E2E Test Thinker (UniClipboard/UniClipboard, 1.8k stars), Migrate E2E To Integration (openshift/oc-mirror, 124 stars), Verifying Changes (Mr-Quin/danmaku-anywhere, 547 stars) and Test Scenarios (phuryn/pm-skills, 27k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
crowdin (a GitHub organization) maintains it in crowdin/crowdin-cli, which has 319 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 6, 2026.
Source: crowdin/crowdin-cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.