dsh-web-design
其他 活跃维护

dsh-web-design

zhang-guo-wen/dsh-web-design

直接在侧边栏预览HTML元素效果,点击即可编辑标签属性与内联样式,改动即时生效,所见即所得地调整页面布局,省去频繁刷新与视图切换

0
Stars 标星
1
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
Apache-2.0
开源协议
1.1 MB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:zhang-guo-wen/dsh-web-design
git clone https://github.com/zhang-guo-wen/dsh-web-design.git
git clone git@github.com:zhang-guo-wen/dsh-web-design.git
README.md master

dsh-web-design

English | 中文

What problem does it solve?

AI-generated prototype pages often include descriptions and sections you never asked for. Removing them can take repeated back-and-forth with the AI.

This DeepSeek Harness plugin lets you delete sections and edit text directly in the HTML preview, adjust styles and positions, and save the changes to the HTML file—without asking the AI to make each change.

In the plugin list, display names and descriptions follow the Harness language setting in English or Chinese (English is the default fallback); English names use the package name without its npm scope, Chinese names describe the purpose, and installation still uses the unchanged real package name.

Screenshots

Sidebar page preview

Element editor dialog

Install

npx @deepseek-ai/dsh plugin --profile web add @guowenzhang/dsh-web-design

Restart DSH after installation. Open an .html or .htm file in the Sidebar, switch to Edit, click to select an element, and double-click to open its editor. After editing, click Save to file.

Notes

  • The HTML source changes only when you click Save to file. Preview edits are stored in <filename>.design.json beside the HTML file until then.
  • To change text, select the specific text element. Elements with multiple direct text runs cannot be replaced directly.
  • Elements generated by scripts or not uniquely locatable in the source are skipped when saving. Use unique, stable id values for editable elements and check the result after saving.
  • Relative CSS, JavaScript, image, and font references may not load in the preview. Single-file prototypes with inline styles and scripts are recommended.

License

Apache-2.0; see also NOTICE. The runtime dependencies parse5 and @deepseek-ai/dsh-atomic-write are both MIT-licensed.