dshelperplugin
by snak10
Figma 桌面端 Development Import 插件(经 manifest.json 手动安装的个人工具)
1. Open Figma Desktop app 2. Open any file 3. Right-click on the canvas 4. Select Development Import plugin from manifest 5. Navigate to the plugin folder 6. Select manifest.json
安装
dsh plugin --profile web add github:snak10/dshelperpluginGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
- Open Figma Desktop app
- Open any file
- Right-click on the canvas
- Select Development > Import plugin from manifest
- Navigate to the plugin folder
- Select manifest.json
Features:
- Vue
- Typescript
- figma-plugin-ds integration
- Message handler helper functions to simplify communication between the main code and the UI code
How to use?
- Install dependencies with
npm i. - Run
npm run devand a folder nameddistwill be created. - In the Figma desktop app, click on Create new plugin / Link existing plugin and point it to the
manifest.jsonin this project. - Now you can edit the main Figma code from
src/code.tsand the UI code fromsrc/ui.vue. Hitting save will auto-reload the build so you can see your changes right away. - When you're ready to publish the plugin, run
npm run buildto create a production build.
Message handlers
To communicate between the main code and the UI code, you can use the dispatch and handleEvent functions to send and listen to messages between the two environments.
Sending a message from the main code to UI code:
dispatch('eventName', data)
Handling messages from the UI code to the main code:
handleEvent('eventName', data => {
// Do something with the data
})
Note that data is optional so you could simply send a message by dispatch('eventName').
In the vue UI code, dispatch can be called anywhere, but handleEvent functions should be called in mounted() so they would only be called first and only once.
This project template shows an example of a UI button sending a message to the main code to create a rectangle node. The main code then sends back the created node ID to be displayed in the UI.
原始 README: https://github.com/snak10/DSHelperPlugin/blob/master/README.md ↗
同类插件
查看全部 →
dsh-anchored-standard
两阶段 DeepSeek Harness 预设:先 Minimal 对齐的 bootstrap,再切完整 Standard 工具(Project2 98/99)

PicGo-Core
极致的图片上传引擎,CLI 与 API 双支持

awesome-deepseek-harness
DeepSeek Harness(DSH)及其优秀社区插件的精选指南。

awesome-deepseek-harness
DeepSeek Harness (DSH)生态系统:来自dsh-external/hub和公共dsh-plugin主题的精选插件、工具和基础设施。

AI-Novel-Writer
本地优先 AI 小说创作工作台,提供 Windows/macOS 桌面版与 DeepSeek Harness 插件开发预览,支持角色、大纲、章节蓝图、审稿修稿和本地模型。

mcp-for-stata
MCP-for-Stata:把 Stata 集成进你的 agent