mirror of
https://github.com/nexu-io/open-design.git
synced 2026-10-27 09:51:12 +01:00
* chore: unify product name display to OpenDesign repo-wide Rename the user-facing product name from "Open Design" to "OpenDesign" across documentation, web/desktop UI strings, i18n locales, prompts, plugin/skill/design-system content, changelogs, and specs, matching the landing-page rename already in flight. Deliberately excluded so installed-app identity stays untouched: - packages/release PRODUCT_NAME and everything derived from it (app bundle names, installer/registry identity, updater feeds) - tools/pack, tools/release, apps/packaged, landing page (PR #6983) - mocks/ recorded traces and LICENSE - test fixtures and comments that encode real on-disk install paths (Open Design.app, Program Files\Open Design, AppData paths) Validated with pnpm guard, pnpm typecheck, and targeted web/desktop/host test runs over the renamed strings. * fix(web): keep two-letter author monogram for CamelCase brand names authorInitials split words on whitespace only, so the renamed single-token author name "OpenDesign" produced a one-letter monogram. Treat lower-to-upper CamelCase boundaries as word breaks so the avatar fallback stays "OD". * fix(release): restore spaced Windows source artifact names in win.ps1 tools/pack still derives builder outputs from the unchanged PRODUCT_NAME ("Open Design"), so the asset script must look for the spaced filenames. Matches the mac/mac-intel/linux asset scripts, which were already kept on the original names. --------- Co-authored-by: Joey <236967869+joeylee12629-star@users.noreply.github.com>
3.3 KiB
3.3 KiB
OpenDesign 插件规范包
语言:English | 简体中文
这个文件夹是给 OpenDesign 插件作者使用的可共享规范包。它既适合人直接阅读,也适合交给 Claude Code、Codex、Cursor、OpenClaw、Hermes Agent 或其他兼容 Agent Skills 的编码 agent 使用。
OpenDesign 插件遵循和 Agent Skills 兼容的可移植形态:一个包含 SKILL.md 的文件夹,可选添加 assets、references、scripts 和 examples。OpenDesign 额外使用 open-design.json 作为 sidecar,让同一个文件夹可以出现在 OD 插件库里、填充首页输入框、声明 inputs 和 GenUI surfaces、运行 OD atom pipeline,并参与发布或 PR 流程。
文件夹地图
SPEC.zh-CN.md- 可移植插件规范与分类。AGENT-DEVELOPMENT.zh-CN.md- 可以直接复制给外部 agent 的开发说明。CONTRIBUTING.zh-CN.md- 遵循此规范的插件 PR 标准。PUBLISHING-REGISTRIES.zh-CN.md- 发布到 skills.sh、ClawHub、GitHub 和 OpenDesign 的策略。templates/- 空白 starter 文件。examples/- 完整示例插件文件夹和示例 marketplace index。
英文原文:
可以构建什么
工作流主类:
- Import - Figma、GitHub、代码文件夹、URL、截图、PDF、PPTX、Framer、Webflow。
- Create - 原型、幻灯片、live artifact、图像资产、视频 prompt、HyperFrames composition、音频资产。
- Export - PPTX、PDF、HTML、ZIP、Markdown、Figma handoff、Next.js、React、Vue、Svelte、Astro、Angular、Tailwind。
- Share - 公共链接、GitHub PR、Gist、Slack、Discord、Notion、Linear、Jira。
- Deploy - Vercel、Cloudflare Pages、Netlify、GitHub Pages、Fly.io、Render。
- Refine - critique、patch、tune、品牌替换、A/B variants、stakeholder review。
- Extend - 插件作者工具、marketplace 发布、内部目录自动化。
五分钟开始
- 复制
templates/到一个新的插件文件夹。 - 把文件夹名和 frontmatter
name改成小写 id,例如launch-deck。 - 在
SKILL.md里写清触发描述,格式建议是:“Use this plugin when...” - 填写
open-design.json:specVersion、title、插件version、tags、od.taskKind、od.mode、od.useCase.query、od.pipeline、inputs 和 capabilities。 - 如果插件有视觉输出,添加一个小的
examples/或preview/artifact。 - 本地校验:
pnpm guard
pnpm --filter @open-design/plugin-runtime typecheck
如果 daemon CLI 已构建:
od plugin validate ./path/to/plugin
od plugin install ./path/to/plugin
od plugin apply <plugin-id> --input key=value
兼容性承诺
包含 SKILL.md 的文件夹可以作为普通 skill 被兼容 Agent Skills 的客户端使用。添加 open-design.json 不应该降低可移植性;它只增加 OpenDesign 产品行为。
参考:
- Agent Skills overview: https://agentskills.io/home
- Agent Skills specification: https://agentskills.io/specification
- OpenDesign 插件完整 spec: ../../docs/plugins-spec.zh-CN.md