返回目录
界面增强 插件

dsh-ui-spec

yumimanji/dsh-ui-spec

DeepSeek Harness plugin: turn UI screenshots into structured, implementation-grade web frontend specs. Deterministic geometry (sharp) + optional vision-model semantics, merged into one JSON + Markdown spec.

Stars
2
Forks
0
Issues
1
更新
3 个月前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:yumimanji/dsh-ui-spec

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-ui-spec

English | 简体中文

Version License DeepSeek Harness

Turn UI screenshots into implementation-oriented structured specifications that help a text-only DeepSeek model recreate responsive web interfaces. The plugin uses Windows native OCR and supplies layout, visual-detail, interaction, and browser-verification constraints.

Showcase

This example comes from the Desktop/8 test. The page on the right was implemented autonomously from the plugin output.

Reference DeepSeek implementation
Desktop 8 personal growth UI reference Page implemented by DeepSeek from ui-spec output

Install

Install from npm:

dsh plugin --profile web add dsh-ui-spec

Installing the current GitHub version with pnpm 11 requires allowing its source-package build script. Add this to the DSH profile's pnpm-workspace.yaml:

allowBuilds:
  "dsh-ui-spec@git+https://github.com/yumimanji/dsh-ui-spec.git": true

Then install:

dsh plugin --profile web add github:yumimanji/dsh-ui-spec

Use the npm release when the DSH profile cannot configure allowBuilds.

Use

Ask the model in DSH:

Use ui-spec to analyze the two images in the current directory and recreate them as responsive web interfaces. After implementation, validate the pages with manage_ui_browser and close only the browser session created by that tool.

For one image:

Use ui-spec to analyze C:\path\to\reference.png and implement the responsive web UI.

Installation Troubleshooting

ERR_PNPM_UNEXPECTED_STORE means the DSH profile's existing node_modules uses a different pnpm store. Rebuild that profile's dependencies, then retry installation:

cd $env:USERPROFILE\.dsh\profiles\web
Rename-Item node_modules node_modules.store-mismatch-backup
pnpm install
dsh plugin --profile web add dsh-ui-spec

Remove the backup only after DSH starts normally.

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类界面增强
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: ui。