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
آخر نشاط في المصدر
١٨ أغسطس ٢٠٢٦ في ٠٧:٠٩
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٩٨٬٥٢٥
التفرعات
١١٬٤٢٤

خيارات التثبيت

يُحدَّد 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