UX and product-design principles for dense, expert engineering UIs inside VS Code webviews - information design for signals and frames, states, keyboard interaction, accessibility (WCAG 2.2 AA), terminology, safe bus-affecting actions, copy. Use when designing or reviewing screens in the DBC editor, Signal Lab or any webview.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ux For Engineering Tools?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/afri-bit-ux-for-engineering-tools)
---
name: ux-for-engineering-tools
description: UX and product-design principles for dense, expert engineering UIs inside VS Code webviews - information design for signals and frames, states, keyboard interaction, accessibility (WCAG 2.2 AA), terminology, safe bus-affecting actions, copy. Use when designing or reviewing screens in the DBC editor, Signal Lab or any webview.
---
# UX for engineering tools
## Principles
1. **Show system state** - connected/virtual/replay/disconnected, active database, recording, partial data. Always visible, always textual (not colour only).
2. **Density with hierarchy** - experts want many rows; use alignment, monospace for IDs/bytes, units adjacent to values, and consistent number formats (hex IDs `0x123`, raw hex bytes, physical values with units).
3. **Keyboard first** - every action reachable; shortcuts discoverable; `Ctrl/Cmd+F` filters tables; arrow-key navigation in grids; no focus traps.
4. **Prevent and recover** - confirmation or undo for overwrite, delete, transmit; dry-run/preview for merges; never lose edits.
5. **Honest feedback** - say when data is missing, partial, undecoded, truncated or late. Never display a plausible-looking number that is not valid.
6. **Progressive disclosure** - common fields first, advanced behind "more"; defaults safe.
7. **Consistency with VS Code** - theme tokens, codicons, native controls, command palette entry for each command.
## States to design for every view
Empty (why + next action) - Loading/busy (progress) - Error (what, why, what now) - Partial/stale - Large (1e6 rows) - Read-only/replay - No permission/hardware.
## Components
- **Tables**: virtualised, sortable, column resize, sticky header, copy cell/row, selection that survives refresh.
- **Bit layout grid**: MSB left; Intel/Motorola cues; hover shows bit number and signal; overlap marked by pattern as well as colour.
- **Charts**: unit axes, cursor read-out, extrema-preserving decimation, pause/follow modes, colour-blind-safe palette with direct labels.
- **Forms**: inline validation next to the field using the same validation rules as the host; disabled states explain why.
## Accessibility (WCAG 2.2 AA)
Contrast >= 4.5:1 text, 3:1 UI; focus visible (2.4.11/2.4.13); target size >= 24 px (2.5.8); no drag-only interactions (2.5.7); labels and roles (`aria-label`, `role="grid"`); live regions for status updates (`aria-live="polite"`); respect reduced motion and high-contrast themes.
## Copy
Sentence case, verb-first buttons, errors as "<what failed>: <why>. <what to do>." Use glossary terms: *message* (frame definition), *frame* (instance on the bus), *signal*, *node/ECU*, *value table*, *transmitter*. Never "invalid" alone - say which rule.
## Review heuristics
Nielsen's 10 + error prevention + recoverability + state visibility; run a keyboard-only pass and a screen-reader pass before sign-off; test at 200 % zoom and in light, dark and high-contrast themes.