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

od-plugin-publish-github

它能做什么

这个工具可以帮你把 OpenDesign 插件项目放到 GitHub 上。它会为你的插件新建一个公开仓库,并把文件上传到那里。

适用场景

  • ✓当你完成插件创建,想要分享它时。
  • ✓当你想把插件备份到安全的地方时。
  • ✓当你想和别人一起协作开发这个插件时。

技能链接

https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/od-plugin-publish-github/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

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

可以这样问 AI

“把我的插件发布到 GitHub 上。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会先检查你的插件文件,然后使用一条特定命令在 GitHub 上创建仓库。如果名称已经存在,它会建议你换一个新名称。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Publish Plugin to GitHub

Use this workflow when the active project contains a copied plugin folder and the user wants it published as a new public GitHub repository.

Workflow

  1. Read the active plugin inputs. plugin_context_path is the copied plugin folder relative to the project working directory.
  2. Inspect open-design.json, SKILL.md, and any compatibility metadata in the copied folder.
  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/publish-github" -H 'content-type: application/json' -d '{"path":"<plugin_context_path>"}'
  4. Read the JSON response. If ok is true, report the final repository URL and any useful log/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.

Prefer the manifest name as the repository slug. If that repository already exists, choose the next clear slug and mention the rename.

常见问题

什么是 OpenDesign?

OpenDesign 是一个用于创建和分享插件的平台。

什么是 GitHub?

GitHub 是一个开发者用来存储和分享项目代码的网站。

使用这个工具需要会编程吗?

不需要。这个工具设计得很简单易用,即使没有编程经验也能上手。

详情

作者的原始描述

Publish a local OpenDesign plugin to a new public GitHub repository using gh CLI.

repo: nexu-io/open-design

热度

GitHub 星标
101k
排名
#1037
许可证
Apache-2.0
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能