Command Palette

Search for a command to run...

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

verify-dsh

БесплатноБез исполняемых скриптовНе проверен

Launch, check, drive and capture evidence from a scratch DeepSeek Harness (DSH) with `dshx dev up|doctor|open|shot|down`, then clean it up. Use to prove a…

astahmerот astahmer★ 21 звезда на GitHub

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

Verify in a scratch DSH

The DSH instance of verification-skill: the lever is dshx dev, the feature map is the reach field of each plugins/@dshfiles/*/dshx.features.json. Build, import-check and HMR/restart rules stay in dsh-plugin-verify; run that first when the change is a plugin.

dshx() { fnm exec --using="$(cat .node-version)" node "$PWD/tooling/dshx/packages/dshx/dist/cli/bin.js" "$@"; }   # from the repo root

A fresh JJ workspace has no node_modules and no dshx build. Prepare it once (and rebuild dshx after changing it):

pnpm install --frozen-lockfile --prefer-offline
pnpm exec turbo run build --filter=@dshfiles/dshx --filter=@dshfiles/plugin-ui --output-logs=errors-only

dev up builds the bundles it loads itself. The core it starts is the checkout's node_modules/.bin/dsh (before dsh on PATH), so a prepared workspace needs no DSHX_DSH_EXECUTABLE.

Launch

Set DSHX_DSH_EXECUTABLE only to run another core than the checkout's (or when it has none): the absolute executable file of an installed stock core, never a personal launcher that rewrites HOME. Scratch dev, boot checks and E2E use it for both composition and startup while keeping isolated HOME/DSH_HOME. If bundled Chromium is unavailable (for example on NixOS), set DSHX_CHROMIUM_EXECUTABLE to an absolute installed Chrome/Chromium executable; scratch, Chromium boot checks and E2E keep their isolated profiles and headless options, while actual browser compatibility still requires a successful live pass.

dshx dev up --plugin @dshfiles/jj-integration --plugin @dshfiles/workspace-nav --json

Builds the named bundles (plus the client bundles they load), installs a scratch profile in a temp DSH_HOME, seeds a jj project sample with a main bookmark, starts dsh on a free port and a headless Chromium. Without --plugin it loads every owned bundle profiles/web depends on (slow); opt-in bundles the seed leaves out (tool-search, which defers non-core global tools behind tool_search) load only when named. Treat any pending entry as a real failure; diagnose its provider/composition and activation contract instead of relaxing doctor. An absent owned provider is not a Host gap. --skip-build reuses dist/; --project <dir> registers a real folder instead (kept on down); --name runs another instance beside it. ThreadSidebar's local-draft UI needs the cooperating owned SessionController, RichComposer and Chat bundles; its remote/repository queries also need MultiHost and JjIntegration. A reach using Search threads, Open command palette or a palette command also loads @dshfiles/command-palette, which owns the overlay/event listener; importing its API does not activate that provider. Declare those providers in the scratch composition, not just their imported module dependencies.

Takes ~20 s for three bundles. up first runs down on every instance under the state root whose lease expired or whose dsh exited, and names each one.

Doctor

dshx dev doctor          # exit 1 on any failed check; each failure prints its fix

Isolation, both processes alive and still ours, the auto-stop watchdog running, URL authenticates, every plugin entry active and every bundle under test loaded, no error lines in the host log. DSH's boot "N entries did not activate" warning counts only while an entry it names is still not active: dependents of a service registered after an async start (the owned session search) activate a moment later and are reported as such.

Drive

dshx dev open jj-integration/thread-destination
dshx dev open jj-integration/rebase
dshx dev open jj-integration/thread-workspaces-panel
dshx dev open workspace-nav/new-thread-composer
dshx dev open --narrow memory/memory-panel   # 390 × 844, walks reachNarrow (else reach)

Goes to the app root, dismisses Preview Notice and the provider-setup dialog, then runs the feature's reach steps. A seed step first creates state no short UI path does (fake-provider threads, shared workspaces, a rebase-ready thread, synthetic OTLP traces, …); each seed's needs and the attach, hover and at <x>,<y> step syntax are in REFERENCE.md. The browser keeps its page between commands, so shot captures where open stopped. --narrow walks a phone-width page with the feature's reachNarrow steps (falling back to reach); the page stays narrow for shot until an open without it. A failing step exits 1 with a screenshot: decide drift vs regression with maintain-verify-dsh. To drive something ad hoc, add reach to its catalog entry rather than scripting Playwright.

Evidence

dshx dev shot --label thread-destination --json

PNG plus a JSON summary in $TMPDIR/dshx-dev/<name>/evidence/ (kept by down): console errors, page errors, failed requests and HTTP >= 400, grouped and redacted. Report the paths and the counts, not the raw log.

Cleanup


Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

REFERENCE.md

FAQ

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

Launch, check, drive and capture evidence from a scratch DeepSeek Harness (DSH) with `dshx dev up|doctor|open|shot|down`, then clean it up. Use to prove a plugin or UI change works in the real Web UI, to reach a catalog feature as a user would, or to screenshot DSH without touching the live installation.

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

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