DeepSeek Harness Plugin

Duoasa/DSH-to-Figma

Stars ★ 122 Downloads (30d) 2,274 Category Tools & Capabilities Added 2026-10-19 npm dsh-to-figma

Read, create and edit native Figma UI with DSH: screenshot comparison, design references, components and variables, motion, assets and scoped recovery. Local companion by default, with official MCP connections retained. Requires Figma Desktop and the generated companion.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-to-figma

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:Duoasa/DSH-to-Figma

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

DSH to Figma

DSH to Figma

Read, create and edit Figma designs with natural language.

简体中文 · English · 日本語

Prompt installation (recommended) · npm installation · Features · Demo

Connect DeepSeek Harness to Figma. The local plugin is the default route, with official MCP connections available. Local mode does not consume official Figma MCP calls.

For Codex and other agents, use Figmote.

Install with a prompt

Prompt installation is recommended. Let DSH handle installation and guide you through the connection. Send this to DSH:

Install or update DSH to Figma for me:
https://github.com/Duoasa/DSH-to-Figma

Follow docs/setup.md using this host's CLI, profile and DSH_HOME.
Install dsh-to-figma@latest, preserve existing settings, and use local mode.
Run figma_setup, give me the local manifest.json path, and guide me through importing it into Figma.
For an existing installation, update the same directory and remind me to rerun the Figma plugin.
Finally, confirm the connection with figma_status.

Install from npm

macOS DSH Desktop — use the bundled CLI:

"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop add dsh-to-figma@latest

DSH CLI (web profile):

dsh plugin --profile web add dsh-to-figma@latest

Use dsh-to-figma@0.5.0 to pin the published stable version. No npm account is required; the DSH plugin manager installs and activates the package.

  1. Enable DSH to Figma in DSH and run figma_setup to generate the companion.
  2. In Figma Desktop, choose Plugins → Development → Import plugin from manifest… and select the returned manifest.json.
  3. Run the plugin in the target file, keep its window open, and ask DSH to confirm the connection with figma_status.

To update, repeat the installation command, run figma_setup, then close and rerun the Figma plugin.

Features

New in 0.5.0

  • Batch screenshots and retries — Select frames or components and preview each one in the Figma panel, or ask DSH for a batch of PNGs by node ID. The panel identifies missing images so you can fix the target and retry just those items. Successful results stay in the list.
  • Current operation — The panel shows when DSH is reading or writing the canvas, taking screenshots or exporting. It shows screenshot progress and identifies team library read timeouts.
  • Components and variables — Use $fig to build layouts, components and variants in batches, fill instance slots, bind variables and import published library components, styles and variables by key.
  • 3D and shaders — Where the editor supports them, set rotation on three axes, Z translation and parent perspective, read motion tracks that can be expressed in CSS, and preview nodes that use shaders at 1× and 2×.
  • Web and code — Import inline SVGs and accessible raster images from webpages, index SwiftUI views in a workspace and generate local Code Connect templates for React components.
  • FigJam and Slides — Where supported, clone a FigJam page with its connectors, edit or duplicate a slide by ID, and update speaker notes.

Other features

Documentation and contributions

Setup and troubleshooting · Capabilities · Changelog · Issues

Thanks to heeq666 and miztizm for feedback and contributions.

MIT · Copyright © 2026 Duoasa.

Demo

DSH to Figma 0.4.1 — UI creation and motion in Figma (X article, Chinese) ↗

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.