Skip to Content
Soundor Skills

Visual review

A reference of the soundor-plugin-design skill.

soundor-plugin-design reads this reference when a task needs it. Source on GitHub

Review the rendered UI, not the code. A screenshot that nobody opened proves nothing.

Capture

VST3 (needs a Debug build: npx soundor build vst3 --debug):

import { launch } from '@soundor/driver/vst3';

const plugin = await launch({ plugin: '.soundor/debug/vst3/My Plugin.vst3' });
try {
  await plugin.screenshot({ path: 'review-default.png' });
  await plugin.getByDebugId('graph').screenshot({ path: 'review-graph.png' });
  // Only a resizable editor (editor.resizable) accepts another size; a
  // fixed one fails with 'invalid-state'. It resizes in its own time:
  // wait until a screenshot has the new width before reviewing it.
  await plugin.host.resizeEditor(1600, 1000);
  await plugin.screenshot({ path: 'review-large.png' });
} finally {
  await plugin.close();
}

Run with node, or xvfb-run -a node on Linux without a display. Install @soundor/driver and @soundor/vst3-host at the project's versions. Check the Driver's documentation for the installed version's exact calls (locators, screenshot options, resizing).

Web: build (npm run build:web), serve .soundor/dist/web/, and use Playwright (npx playwright screenshot --viewport-size 1200,800 <url> out.png, or a script with page.screenshot()); add ?embed for the plugin view without the web host's controls.

Look

Open each image and go through the list. Write down what you see, with the area of the image, before changing code.

  • Clipping and overflow: text cut off, values overflowing their boxes, controls past the window edge, menus off-screen.
  • Alignment: controls of a group on one baseline and grid; equal gaps.
  • Hierarchy: the focal point is the largest and clearest element; secondary controls do not compete.
  • Typography: sizes consistent per role; values in tabular figures; no text smaller than about 11 px at 100 %.
  • Contrast: labels and values readable; inactive states distinguishable.
  • Values: each control shows its value and unit; the defaults match the config.
  • Graphs and meters: axes labelled; curves inside their area; meters at rest show silence correctly (no stray segments).
  • States: hover, focus, pressed, bypassed and disabled look different; capture after interacting (plugin.getByRole(...).click()) to check.
  • Sizes: default, minimum and maximum, and a host-imposed odd shape if fit is used.

Iterate

Fix one class of problem at a time, capture again with the same names plus a suffix, and compare the before and after images side by side. Repeat until the list is clean. For a UI that must not drift, add a screenshot test (toMatchScreenshot in @soundor/vitest-e2e), knowing images depend on the platform's text rendering.

On this page