od-plugin-contribute-open-design
它能做什么
这个工具可以帮你把新的设计插件提交到 OpenDesign 社区目录。它会检查你的插件,并生成一份供审核的提案。
适用场景
- ✓当你做好了一个新插件,想要分享出去时。
- ✓当你想把插件加入官方 OpenDesign 目录时。
- ✓当你需要把插件提交给社区时。
技能链接
https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/od-plugin-contribute-open-design/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想把我的设计插件“MyCoolPlugin”添加到 OpenDesign 目录中。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会读取插件的信息,比如它的主文件和示例。然后,它会使用一条专用命令把你的插件提交到目录中,生成一份供其他人审核的提案。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Contribute Plugin to OpenDesign
Use this workflow when the active project contains a copied plugin folder and the user wants to propose it for the OpenDesign community catalog.
Workflow
- Read the active plugin inputs.
plugin_context_pathis the copied plugin folder relative to the project working directory. - Inspect the copied plugin's manifest, skill instructions, examples, and compatibility metadata.
- Call the local daemon endpoint instead of hand-rolling GitHub commands:
curl -sS -X POST "$OD_DAEMON_URL/api/projects/$OD_PROJECT_ID/plugins/contribute-open-design" -H 'content-type: application/json' -d '{"path":"<plugin_context_path>"}' - Read the JSON response. If
okis true, report the PR URL, branch name when present in the log, and any useful validation summary. - If the endpoint fails, report its
message,code, and useful log lines. When authentication is missing, tell the user to rungh auth login --hostname github.com.
Keep the pull request focused. Do not modify unrelated OpenDesign files unless a manifest validation issue requires a tiny supporting change.
常见问题
什么是“pull request”?
pull request(拉取请求)是一种请求,用来把你的改动(这里指你的插件)合并到一个更大的项目(这里指 OpenDesign 目录)中。
如果我的插件没有通过审核怎么办?
工具会显示错误或未通过的原因,你可以修改插件后再次尝试。
我需要 GitHub 账号吗?
需要。你必须登录 GitHub,工具才能提交你的提案。
详情
作者的原始描述
Open a pull request adding a local OpenDesign plugin to the OpenDesign community catalog using gh CLI.
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #1036
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …