Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

verify-board

БесплатноЗапускает вложенные скриптыНе проверен

Prove board behavior from a fresh environment. Spins up a Vercel Sandbox (vercel-labs scope), installs this checkout (or a published board version from npm)…

vercelот vercel★ 379 звёзд на GitHub

Об этом скилле

verify-board

The surface is the vb CLI against a local board (vb serve, packages/board/src/cli/serve.ts): SQLite log and attachments under the project's .board/, a scheduler in its process, a local issuer, 127.0.0.1:4100, no sync. Everything runs in a fresh Vercel Sandbox, so nothing on this machine (your ~/.config/board, your BOARD_URL, a global vb) leaks into the result. The inspector (vb inspect --no-open) is a secondary surface; see features/README.md.

All scripts live in .claude/skills/verify-board/scripts/ and run from anywhere in the repo. Set V=.claude/skills/verify-board/scripts below.

Launch

V=.claude/skills/verify-board/scripts
S=$($V/up.sh)                     # this checkout, working tree included (uncommitted changes too)
S=$($V/up.sh --published 0.9.0)   # or: board from npm, exactly what users install

up.sh prints progress on stderr and the sandbox name (verify-board-<UTC timestamp>-<4 hex>, distinct across parallel runs) as its last stdout line. It:

  1. creates the sandbox: npx --yes [email protected] create --scope vercel-labs --name <name> --timeout 45m --vcpus 4 (VERIFY_TIMEOUT, VERIFY_VCPUS override; the image is Node 24, user ubuntu, home /vercel);
  2. source mode: tars the working tree (git ls-files --cached --others --exclude-standard), copies it in with sandbox cp, extracts to /vercel/board, then corepack pnpm install --frozen-lockfile --filter '@vercel/board...' && corepack pnpm --filter @vercel/board build; published mode: npm install @vercel/board@<version> in /vercel/cli;
  3. links /vercel/bin/vb to the CLI under test (a symlink, as npm would);
  4. in a fresh git init project at /vercel/proj, starts setsid nohup vb serve --no-inspect --no-open > /vercel/serve.log &;
  5. readiness: polls vb whoami (with BOARD_URL set to it, as every call is) every 0.5s for 30s; on success prints the serve log (serving a local board at http://127.0.0.1:4100/api/board as local:user:ubuntu, ...).

If any step fails, up.sh runs down.sh itself so nothing is stranded (VERIFY_KEEP=1 keeps the sandbox for debugging; then remove it yourself). The setup log is .verify/board/<timestamp>/up.log. The repo is private, so the sandbox can't git clone it: the tarball is the way in.

Teardown is $V/down.sh "$S" (see Cleanup).

Doctor

Read-only; changes nothing. Run it after up.sh and whenever a drive misbehaves.

$V/doctor.sh "$S"
sandbox   verify-board-20261014-205253-3f2a running
vb        0.9.0
board     http://127.0.0.1:4100/api/board as ubuntu (local:user:ubuntu)

It checks that sandbox ls --all shows the sandbox running, that the sandbox's vb --version equals the version under test (packages/board/package.json of this checkout, or the --published version), and that the board answers vb whoami. Exit 1 on any miss. A stopped sandbox hit its timeout: tear it down and launch again.

Drive

Two wrappers. Both run in /vercel/proj (the served project) with BOARD_URL set to the board, pass stdout, stderr, and the exit code through, and append each call to the transcript.

$V/vb.sh "$S" post dev "hello from a sandbox" --label kind=bug   # argv, no shell; prints the id
$V/vb.sh "$S" read dev --json
$V/sh.sh "$S" 'echo "from stdin" | vb reply 2 -'                  # a bash line, vb on PATH
$V/sh.sh "$S" '(sleep 3; vb post dev late) & vb wait dev --timeout 30s'

A worked drive, posting and threads end to end with checks that fail loudly:

$V/drive-posting.sh "$S"     # posting and threads: ok (thread #2)

Real commands to reach for (see vb help and features/ for the rest):

What Command
post, reply, edit, delete vb post dev "text" --label k=v, vb reply <id> "text", vb edit <id> "text", vb delete <id>
idempotent post vb post dev "text" --idempotency-key <key> (same id twice)
attach sh.sh 'printf x > f.txt && vb reply <id> "file" --attach f.txt', then vb download <attachment> -
read vb read dev, vb read <id>, filters --label k[=v], --by, --text, --re, --mentions, --json
react, label vb react <id> eyes [--remove], vb label <id> k=v --unset k
live vb wait dev --timeout 30s (exit 1, reason: "timeout", on timeout), timeout 6 vb tail dev
who, where vb whoami --json, vb channels, vb actors

Any other command in the sandbox: $V/sb.sh exec "$S" -- <cmd...> (not logged). Copy a file out: $V/sb.sh cp "$S:/vercel/proj/<path>" <local path>.

Never point the sandbox's vb at a remote board. Its board is the local one; the production factory board syncs to Slack and GitHub.

Evidence

Everything lands in .verify/board/<timestamp>/ in the repo (gitignored), which survives teardown:

File What
meta sandbox name, mode (source/published), version, commit, count of dirty files
up.log setup o
Полный SKILL.md на GitHub

Установить verify-board в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

features/README.mdfeatures/posting-threads.mdfeatures/reactions-labels.mdfeatures/reading-filters.mdfeatures/wait-tail.mdscripts/collect.shscripts/common.shscripts/doctor.shscripts/down.shscripts/drive-posting.shscripts/sb.shscripts/sh.shscripts/up.shscripts/vb.sh

FAQ

Что делает скилл verify-board?

Prove board behavior from a fresh environment. Spins up a Vercel Sandbox (vercel-labs scope), installs this checkout (or a published board version from npm), runs a local board with `vb serve`, and drives the `vb` CLI against it, capturing a transcript and the board's files as evidence. Use to verify a CLI or board change end to end, reproduce a bug on a clean machine, or check what users get from npm.

Как установить скилл verify-board?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл verify-board запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить verify-board с