Skip to main content

od-plugin-publish-github

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

来源信息

仓库
nexu-io/open-design
最近来源活动
2026年8月18日 07:09
检测到的 SKILL.md 语言
英语
星标
98,525
分支
11,424

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
od-plugin-publish-github
description
Publish a local OpenDesign plugin to a new public GitHub repository using gh CLI.
triggers
["publish plugin","github repo","open source plugin"]
od
{"mode":"utility","platform":"desktop","scenario":"plugin-sharing"}
# 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.
在 GitHub 查看