verify-configurator
БесплатноЗапускает вложенные скриптыНе проверенVerify a configurator CLI change end to end against the shared Saleor Cloud sandbox: build the checkout, seed a run-prefixed store slice, drive introspect…
от saleor★ 31 звезда на GitHubОб этом скилле
verify-configurator
H=.claude/skills/verify-configurator/scripts/verify-configurator
$H login --check || $H login # once per sandbox; the user signs in in the helper's Chrome
$H up [--from] # lock the host, build, seed; --from serves the newest npm release
$H doctor
$H cli -- deploy --config=seed.yml --plan
$H gql '{ product(slug: "<prefix>-tee") { name } }' --feature deploy
$H record --name diff --feature diff -- diff --config=seed.yml
$H scenario deploy-update passed --feature deploy --evidence <transcript>,<read>
$H report
$H down
Follow references/verification-rules.md on every run. The feature map is in features/.
Configuration
- Target: the Cloud sandbox in
~/.config/verify-saleor/config.json, shared with the otherverify-*skills. When the file is missing, the helper stops; ask the user for the sandbox's GraphQL URL and write the file it prints. For a local Saleor, add"local": { "saleorApiUrl": "http://localhost:8000/graphql/" }and passup --target localor set"target": "local". - The sandbox is disposable (V2). Deploy, create and delete data, and create apps there without asking. Nothing else: the helper injects the sandbox URL and token and refuses
--urland--token. - Credentials.
logincaptures the signed-in staff user's token from the Dashboard and creates a sandbox app namedverify-configuratorwith every permission that user can grant. Its token lives in~/.config/verify-configurator/credentials.json(mode 600), keyed by host. The CLI authenticates as that app, as users with an app token do.
What the run is
| Piece | Where | Owner |
|---|---|---|
| Shared sandbox config | ~/.config/verify-saleor/config.json |
user |
| App token | ~/.config/verify-configurator/credentials.json |
helper (login) |
| Browser profile, Playwright runtime | ~/.cache/verify-configurator/ |
helper; drives system Google Chrome |
| Store lock | ~/.cache/verify-saleor/locks/<host>--store.json |
helper (up, down) |
Run dir: state, work/ (CLI cwd), evidence/, scenarios.json |
/tmp/verify-configurator/<run id>/ |
helper |
| Checkout CLI | bin/cli.mjs + dist/ from pnpm build |
up |
| Previous release | <run dir>/release-<version>/ from npm |
up --from |
| Base ref for red/green | a detached git worktree in the run dir | up --from <ref> |
| Seed slice | objects named vc-<run id>… on the sandbox |
up, down |
Launch
login --check. If it exits 2, runloginin the background and ask the user for that one step: sign in to the sandbox Dashboard in the helper's Chrome window.upbuilds the checkout, records identity (app permissions, Saleor version, the targeted schema), and deploys the seed (work/seed.yml) through the served CLI. Make code changes beforeup;doctorfails on a stale build.up --fromwhendoctorsays the upgrade check is required (V6), orup --from <base ref>to show a bug red first (V12). With--from, the seed is deployed by the old CLI, so the store holds what that release writes. Such a run serves two builds, socliandrecordneed--as checkoutor--as from.
Doctor
Read-only. Checks the token, the build against HEAD and source changes (V4), the served CLI's version, other live runs on the host (V3), leftovers from other runs, and whether the diff touches the storage paths (V6). Fix every FAIL before driving.
Drive
- Non-interactive:
cli -- <command> [flags]runs inwork/withCI=true, like a pipe or GitHub Action. In this mode the CLI prints one JSON envelope (command,version,exitCode,result,logs): a clean diff isresult.summary.totalChanges: 0, an idempotent deploy isresult.status: "no-changes", and warnings live inlogs. The JSON lists changed field names only;recordthe same command to see values. Every run saves a transcript underevidence/, token masked, and exits with the CLI's exit code. Helper flags go before the command;--before the command is optional. - Interactive:
record --name <n> -- <command> [flags]types the command into a real terminal with vhs, with--keys "Sleep 3s,y,Enter,{url},Enter,{token},Enter"for prompts or--tape <file>for longer scripts.--line '<shell line>'types a line as is instead, e.g.--line 'configurator diff --text | grep -v Unchanged'. The CLI reads the URL and token from the terminal's environment. It saves a gif and a png (the last frame). The token appears only as$SALEOR_TOKENor a masked prompt. - Own objects: name everything a feature creates with the run prefix (printed by
up, instate.json), sodownremoves it. - Upgrade: after
up --from,upgraderuns V6's sequence and recordsupgrade-*scenarios. Then drive the affected features on that data before creating new data. - Reads:
gql '<query>' [--vars json] --feature <id>reads with the app toke
Установить verify-configurator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл verify-configurator?
Verify a configurator CLI change end to end against the shared Saleor Cloud sandbox: build the checkout, seed a run-prefixed store slice, drive introspect, deploy, diff, validate, schema, recipe and the interactive start the way a user does, prove every result with an independent GraphQL read, and check that config files and store state from the previous npm release still work. Use to prove a change works before a PR, to reproduce a bug red then green, or when asked to verify, E2E test or demo the CLI.
Как установить скилл verify-configurator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл verify-configurator запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic