Preface¶
When using DeepSeek Harness (DSH) to have models write web pages, App interfaces, or posters, a common practice is to repeatedly describe changes in the dialogue (e.g., “change the button to orange”) and then cross-reference the HTML in a browser to locate elements. Previewing and revising are often split across multiple windows; multi-screen side-by-side layouts, version comparison, and exporting display images all require assembling your own workflow.
dsh-design-studio (displayed as “Design Workbench” on the DSH plugin page) embeds the preview into the right sidebar of DSH: the screens generated by the model are arranged on a canvas fitted with device frames. Clicking an element writes structured information into the input box. Combined with the built-in ui-design skill, versioning, exporting, and mobile QR code previewing, it consolidates the “Look—Point—Change” loop into a single session. Below is an introduction to what it is, how to install it, typical usage, and the security and permissions to note before installation.
What is this¶
dsh-design-studio is a DSH client plugin maintained by OrderG-X (MIT License). Its positioning is: when the model performs interface design, the right-side “Design Workbench” displays the generated results in real-time—web pages, apps, posters, slides, emails, etc., are fitted with frames based on their type. After clicking an element or dragging a region to select it, the information is organized into text and inserted into the input box. Simply add a sentence describing the modification intent and send it to the model, which will modify the source code accordingly, with changes highlighted in the preview.
The plugin is triggered via the preview_page tool, auto-discovery (writing HTML, starting dev servers, etc.), or the <meta name="dsh-design"> tag in the page. Pages written for non-design tasks will not automatically pop up the sidebar; instead, a blue dot will appear on the “Design Workbench” button in the title bar, allowing the preview to be opened manually.
Community Directory Page: dsh-design-studio on skillhub.cn. Source Code & Docs: GitHub OrderG-X/dsh-design-studio.
Core Features¶
Canvas & Multi-screen¶
Multiple HTML files in the same directory are arranged in a grid based on generation order. They can be dragged and zoomed (two-finger pan with a trackpad, pinch or ⌘ scroll to zoom). Single-click to select a screen; double-click to view a single screen. The toolbar allows switching between “Canvas” and “Single Page”. In dev server scenarios, the model can specify multiple routes side-by-side via the screens parameter of preview_page.
During model generation, a placeholder first occupies the right side. Once new screens are written out, elements appear sequentially. While the current turn is still generating new screens, a “Generating…” placeholder is retained at the end of the canvas.
Types & Frames¶
Supports web (browser window), app (phone frame including Dynamic Island), tablet, poster (default 1080×1350), slides (16:9), email. The type can be specified by the model via the kind parameter in the tool, or written in the page:
<meta name="dsh-design" content="app">
Dimensions can also be included, e.g., poster 1080x1920; the “Type” menu in the toolbar allows switching at any time.
Real-time Refresh & Change Highlighting¶
When files in the local HTML directory change, the background loads the new frame first and then fades it in to replace the old one (scroll position is preserved). When using dev servers like Vite or Next, hot updates and WebSockets work as usual. The plugin compares the page “fingerprint” before and after the refresh; elements that have been modified or added will flash and sweep with light in the preview. A hint appears at the bottom, e.g., “index.html updated · 1 change”. When shared CSS changes, all screens will update; if only a specific screen’s HTML is changed, other screens remain unaffected.
Click-to-Input Box¶
In “Select” mode on the toolbar: hover to outline elements; single-click to select a single element; drag a rectangle to select major elements within the area (up to 10); Esc to cancel. Selected content is organized into a paragraph of text and inserted into the input box (or copied to the clipboard if insertion fails). The example format includes element label, file path, DOM path, HTML snippet, and size/style; React / Vue / Svelte dev modes also include component names and source code locations.
Design Specs & Variables¶
Built-in DSH skill ui-design: Can be loaded before the model creates the interface. It establishes conventions such as defining type and aspect ratio first, writing tokens.css first, and keeping one screen per file. You can also manually load it by executing /ui-design in the input box. The toolbar palette opens the design spec panel, listing :root design variables (colors, fonts, font sizes, spacing, border radius, shadows, etc.). Clicking an item inserts it into the input box, facilitating global canvas synchronization where the model only changes variables.
Versions, Export & Collaboration Features¶
- Versions: Automatically saves versions at the start and end of each conversation turn (only design-related files); the toolbar clock allows listing, single-screen viewing, left-right drag comparison, and reverting to a specific version (current state is saved before rollback). Limit is approximately 40 versions.
- Export: Single screen (with frame or pure image), long image, multi-screen composite display image; outputs to the design directory
exports/and copies to clipboard. - Two More Versions: Select a screen to allow the model to generate
*-b.htmland*-c.htmlas two alternatives, displayed side-by-side on the canvas. - View on Phone: Scan a QR code to open in a real device browser on the same Wi-Fi; the phone follows the computer’s screen switch; closes automatically after 30 minutes of no access by default; requires actively enabling the LAN entry.
- Clickable Prototype: Links between screens via
<a href>ordata-hrefshow jump arrows on the canvas; in play mode, clicks in the preview animate the transition. - Multi-size Side-by-side: The same screen is displayed side-by-side at mobile / tablet / desktop widths to check small screen layouts.
- Edit Text: Edit text in-place in the preview; writes back to the source file for local HTML and records a version; converts to input box instructions for the model when using a dev server or when source code cannot be found.
- Reference Images: Drag or paste images to extract main colors and lightness/darkness, guiding the model to update
tokens.cssetc. based on the reference.
preview_page tool parameters (from source documentation): target (path / port / address), kind, size (optional), screens (optional, for multi-route dev servers).
What Can Be Previewed¶
| Input | Method |
|---|---|
Local HTML / Directory / file:// |
Plugin starts a local static service for the directory and pushes updates on change |
Port, localhost |
Proxies to dev server, passes through hot updates |
| External URL | Not supported |
Installation & Activation¶
Installation command (from the repo README):
dsh plugin add https://github.com/OrderG-X/dsh-design-studio/releases/latest/download/dsh-design-studio.tgz
After installation, restart DSH (the client bundles at startup). It appears as “Design Workbench” in the DSH “Plugins” page.
For local development, you can link to the directory (logic related to lib/picker.js is served live every time, but other client changes still require a restart):
dsh plugin --profile desktop add link:/path/to/dsh-design-studio
Typical Usage¶
- Ask the model to perform interface design in DSH (e.g., a multi-screen App). The model loads
ui-design, createstokens.cssand split-screen HTML, or callspreview_pagespecifying thekind. - The Design Workbench opens automatically on the right; if it does not open automatically, click “Design Workbench” in the session title bar.
- View each screen on the canvas; if something is incorrect, use “Select” to click the element, add a sentence in the input box like “Change main color to deep sea blue” or “Make it orange” and send it. The model modifies the source code, and the preview highlights the differences.
- Use the version panel to compare when backtracking is needed; use export to
exports/when presenting externally; click the QR code icon to view on a real device (note: do not casually share the link within the same Wi-Fi network).
To have a page recognized as a design task, in addition to the skill and preview_page, you can add the following to the HTML:
<meta name="dsh-design" content="web">
Use Cases & Notes¶
Suitable for: Front-end or product design collaboration workflows where models iterate on web / App prototypes, posters, and slide sketches within DSH; requires multi-screen canvas, click-to-edit, design tokens, version comparison, and export display images.
Permissions & Security: The plugin runs with the current dsh process privileges. Please read the GitHub Source Code and the MIT License before installation to confirm compliance with your environment policy.
Summary of security points noted in the documentation:
- Each preview target uses an independent
127.0.0.1random port, isolated from DSH origin; directory access is restricted to the real path, refusing../and out-of-bounds symbolic links. - Preview iframes and the right sidebar communicate via
postMessagewith specified origins; when accessing the web version of DSH via reverse proxy or domain, you must configuretrustedHostsindsh-client-connection, otherwise clicking, text editing, exporting, etc. may fail. - “View on Phone” opens a port on the LAN only after the user clicks, and the link includes a one-time passcode; anyone with the link within the same Wi-Fi can access it, so do not post it in public chats.
- When proxying a dev server,
X-Frame-Optionsand CSP are removed on the preview side; this only applies to the preview port.
The DSH ecosystem emphasizes “Everything is a plugin”; community directories like SkillHub are independent sites and have no official affiliation with DeepSeek / High-Flyer.
Conclusion¶
dsh-design-studio transforms “model writes interface” from a pure text exchange into a visual iteration on the right sidebar canvas: device frames, click-to-input, design variables, versioning and export, and QR code real-device preview are all attached to the same session. If you are already using DSH for front-end or visual mockups, you can install the release package using the command above and confirm that “Design Workbench” is enabled on the plugin page after restarting.
- Directory Page: https://www.skillhub.cn/plugins/OrderG-X/dsh-design-studio
- GitHub: https://github.com/OrderG-X/dsh-design-studio