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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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
- Read the active plugin inputs.
plugin_context_pathis the copied plugin folder relative to the project working directory. - Inspect
open-design.json,SKILL.md, and any compatibility metadata in the copied folder. - 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>"}' - Read the JSON response. If
okis true, report the final repository URL and any useful log/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.
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
评论
- …