Skip to Content
Soundor Skills

soundor-plugin-design

Designs professional, accessible interfaces for Soundor audio plugins.

pnpm dlx skills add soundor/skills --skill soundor-plugin-design

SKILL.md on GitHub

When an agent uses it

Designs professional, accessible interfaces for Soundor audio plugins. Covers layout and hierarchy, the right control for each parameter, labels, values and units, fine adjustment and reset, response graphs, spectra, meters and envelope editors, resizing and high-DPI, keyboard navigation, screen readers and themes, using Soundor Components and Soundor Icons and checked with real screenshots. Use when designing, building, restyling or reviewing a plugin UI in src/, or choosing how a control or display should look and behave.

Instructions

A plugin UI is a tool used for hours, beside other plugins, often at a glance and mid-session. Good ones make the signal flow obvious, show exact values, respond to every input a user expects from audio software, and stay legible at any size. Give each plugin its own character; keep the conventions users rely on.

Start from what exists

  1. Read the installed versions (npm ls --depth=0) and look for bundled skills (find node_modules/@soundor -name SKILL.md; none ship yet). Take APIs from the packages' .d.ts files and their docs: https://components.soundor.dev/docs, https://icons.soundor.dev/docs, https://soundor.dev/docs/react.
  2. Use Soundor Components (@soundor/components) for controls, menus, meters, plots and layout before drawing your own: they bind to parameters (range, mapping, text, reset value, host gestures, undo), and already handle keyboard, fine adjustment and screen readers. Check that its peerDependencies accept the installed @soundor/react.
  3. Use Soundor Icons (@soundor/icons/<collection>, for example import { Play } from '@soundor/icons/lucide') for icons; keep to one collection per plugin.
  4. Look at real plugins: Soundor Prism (https://github.com/soundor/prism, an equalizer around a response graph) and Soundor Orbit (https://github.com/soundor/orbit, a delay with an echo map) show both libraries in shipping designs.

Design the layout

  • Follow the signal: input on the left or top, output on the right or bottom; global controls (bypass, presets, undo) in a header bar.
  • Give the plugin one focal point (the graph of an EQ, the drive of a distortion) and size it accordingly; secondary controls are smaller and grouped.
  • Group by function in Panels and ControlGroups with short titles; align controls to a grid with consistent spacing.
  • Use one size per control role (sm, md, lg sizes exist on Components controls) and consistent label placement.

Layout and visual hierarchy covers spacing, typography, color and contrast.

Pick the right control

ParameterControl
Continuous, set by feelKnob; Slider/Fader for levels and mixes
Continuous, needs an exact valuethe above plus a ValueField, or a ValueField alone
Bipolar (pan, gain ±, tilt)a range control with its fill starting at the centre (origin)
On/offToggle
2 to 5 optionsSegmentedControl
More optionsSelect
Two linked valuesXYPad, or a draggable Plot marker
EnvelopeEnvelopeEditor
An action (load, reset, A/B)Button; secondary actions in a DropdownMenu/ContextMenu

Bind each to its parameter (<Knob parameter={parameters.drive} />) so automation moves it, gestures reach the host, and the label, unit, text and reset come from the config. Every control shows its name and current value with unit. Controls covers conventions: fine adjustment, reset, typing values, context menus and gestures.

Displays

Graphs, spectra and meters update up to 60 times a second from native streams. Draw them without a React render per frame: Components' Plot, LevelMeter and Spectrogram take live data, or subscribe to the stream in an effect and draw into a canvas. Visualizations covers axes, scales, ballistics and performance.

Size, input and accessibility

  • Set editor in soundor.config.ts: a dense, position-based layout scales (resize: 'scale', as Prism and Orbit do); a layout that can reflow uses resize: 'layout'. Add a ResizeGrip when resizable.
  • Every control works from the keyboard and has an accessible name; a custom control gets an accessibilityRole, label and value.
  • Contrast: text and value readouts at least 4.5:1 against their background; meters and graph lines distinguishable without color alone.

Resizing, accessibility and themes has the details.

Look at it

Do not judge a UI from its source. Capture the real rendering, open the image, and review it against the visual review; fix, capture again, and compare. In VST3, capture with Soundor Driver (plugin.screenshot() from @soundor/driver/vst3, under xvfb-run -a on a headless Linux); in the web build, with Playwright. Check at the default size, the minimum and the maximum.

Before you finish

  • Every parameter is reachable, labelled, and shows its value and unit.
  • Controls are Soundor Components bound to parameters, or custom controls with the same keyboard, reset and accessibility behavior.
  • Displays draw from streams without re-rendering React every frame.
  • Screenshots at the default, minimum and maximum sizes were looked at and show no clipping, overlap or unreadable text.
  • Keyboard alone can reach and change every control.
  • UI tests find controls by role and name (the soundor-testing skill).

References

The skill reads these when a task needs them:

On this page