跳到正文
Skillpedia
通用编程101k · #1036

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/od-plugin-contribute-open-design/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. Read the active plugin inputs. plugin_context_path is the copied plugin folder relative to the project working directory.
  2. Inspect the copied plugin's manifest, skill instructions, examples, and compatibility metadata.
  3. 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>"}'
  4. Read the JSON response. If ok is true, report the PR URL, branch name when present in the log, and any useful validation summary.
  5. If the endpoint fails, report its message, code, and useful log lines. When authentication is missing, tell the user to run gh 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能