nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
amainoyo/Poster-Studio
Natural-language poster studio plugin for DeepSeek Harness — a floating design panel plus chat tools: say what you want (改标题、换背景、调色、删层、导出 PNG) in any session, or edit visually. Site shader backdrop, CN/EN fonts, layer system, palettes, version history.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:amainoyo/Poster-Studio
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
作者 Author: Oyang · License: MIT · Requires DSH ≥ 0.2.0
官方模板库 · Official templates
DeepSeek Harness 桌面版插件:浮动海报设计面板(可拖动 / 缩放 / 关闭,不占用对话主列), 官网着色器背景 + 中英文字体,全部设计要素可视化编辑,也可在任意会话用自然语言直接驱动。
exports/,供 poster_export 工具在会话里直接交付poster_design(自然语言改设计)、poster_export(交付最近导出)、poster_preview(把当前画布渲染成图片交给视觉模型亲眼自检、迭代调稿)面板由宿主侧 poster_design / poster_export / poster_preview 三个工具驱动,描述含中英触发词,中文会话直接说即可:
方式 A(免构建,推荐):从 Releases 下载 oyang-dsh-poster-studio-<version>.tgz 并解包,在 DSH 插件管理执行 install_bundle 指向解包目录,重启 DSH。
方式 B(源码):
git clone https://github.com/amainoyo/Poster-Studio
cd Poster-Studio
npm run build # 产物 client.js 不入库;改过模板/资源必须重建
然后在 DSH 插件管理执行 install_bundle 指向本目录,重启 DSH。
热更语义(开发时):Client 改动(改模板后重新 build)刷新 DSH 窗口即生效;Host 改动(index.js)需重启桌面应用——工具与路由在启动时注册。
~/.dsh/poster-studio/)| 文件 | 内容 |
|---|---|
| spec.json | 当前设计(宿主内存为准,客户端 3s 轮询同步) |
| versions.json | 历史版本索引(名称 / 时间 / 128px 缩略图,≤50) |
| versions/{id}.json | 版本快照本体(回滚数据源;面板删除按钮会连索引一起清) |
| palettes.json | 自定义配色(≤24 套) |
| exports/ | 面板导出回流的 PNG(≤20 个,poster_export 工具取最新) |
index.js Host:poster_design / poster_export 工具、/poster-studio/* 路由、spec/版本/配色持久化
src/client.template.js Client 完整源码(工作台 UI、三层画布着色器渲染器)
build.cjs 构建:内联字体 base64、二维码库、内置预设、vendored React UMD 对
assets/ 内联字体(DM Sans / Montserrat,SIL OFL,见 NOTICE)
presets/ 内置预设(路由不可达时的面板兜底;格式=导出模板格式)
scripts/ 测试脚本(host-api-smoke.mjs 冒烟 / patch-semantics.test.mjs 语义单测)
locale/ 插件界面词条(管理页摘要取 meta.description)
ctx.inject(['connection','webServer'], …) 延迟挂载(服务未就绪时一次性读取会静默跳过注册)window.prompt/alert/confirm 是 no-op,一律面板内自绘对话框var(--dsw-alias-label-primary, #e8e8ee)(部分 token 运行时缺失)node scripts/host-api-smoke.mjs(临时 profile,ALL PASS)+ node scripts/patch-semantics.test.mjsA poster-design plugin for DeepSeek Harness desktop: a floating studio panel (draggable, resizable, never in the way) with the official-site animated shader backdrop and CN/EN typography — every design element is editable visually, or driven in plain language from any chat session.
poster_export chat tool can deliver itposter_design (edit the design in plain language), poster_export (deliver the latest export), poster_preview (render the live canvas to an image so a vision model can see it and iterate)Three host tools (poster_design, poster_export, poster_preview) are registered globally; their descriptions carry Chinese and English trigger words. Just say:
background.image: "" drops the backdrop)Option A (no build, recommended): download oyang-dsh-poster-studio-<version>.tgz from Releases, extract it, then run install_bundle <extracted directory> in the DSH plugin manager and restart DSH.
Option B (from source):
git clone https://github.com/amainoyo/Poster-Studio
cd Poster-Studio
npm run build
Then install_bundle <this directory> in the plugin manager and restart DSH. During development, client-side changes only need a window refresh after npm run build; host-side changes (index.js) require an app restart because tools and routes register at boot.
node scripts/host-api-smoke.mjs # HTTP routes against a throwaway profile — expect ALL PASS
node scripts/patch-semantics.test.mjs # layer-patch semantics unit tests
MIT (see LICENSE). Bundled third-party assets keep their own licenses as listed in NOTICE — notably the DM Sans and Montserrat fonts under the SIL Open Font License.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: ai-agent。