Coding & Refactoringlow risk
od-plugin-contribute-open-design
Open a pull request adding a local Open Design plugin to the Open Design community catalog using gh CLI.
nexu-io/open-design·plugins/_official/examples/od-plugin-contribute-open-design/SKILL.md
58/ 100推荐值
导入这个 Skill
选择你的 coding agent,复制项目级或个人级安装命令。
导入当前项目.agents/skills/od-plugin-contribute-open-design
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/examples/od-plugin-contribute-open-design -a codex -y导入个人环境~/.agents/skills/od-plugin-contribute-open-design
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/examples/od-plugin-contribute-open-design -a codex -g -y导入当前项目.claude/skills/od-plugin-contribute-open-design
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/examples/od-plugin-contribute-open-design -a claude-code -y导入个人环境~/.claude/skills/od-plugin-contribute-open-design
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/examples/od-plugin-contribute-open-design -a claude-code -g -y导入当前项目.agents/skills/od-plugin-contribute-open-design
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/examples/od-plugin-contribute-open-design -a github-copilot -y导入个人环境~/.copilot/skills/od-plugin-contribute-open-design
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/examples/od-plugin-contribute-open-design -a github-copilot -g -y导入当前项目.agents/skills/od-plugin-contribute-open-design
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/examples/od-plugin-contribute-open-design -a cursor -y导入个人环境~/.cursor/skills/od-plugin-contribute-open-design
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/examples/od-plugin-contribute-open-design -a cursor -g -y导入当前项目.agents/skills/od-plugin-contribute-open-design
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/examples/od-plugin-contribute-open-design -a gemini-cli -y导入个人环境~/.gemini/skills/od-plugin-contribute-open-design
npx skills add https://github.com/nexu-io/open-design/tree/7533db3f4342d09b27368fa5d907ebd3cdb93b75/plugins/_official/examples/od-plugin-contribute-open-design -a gemini-cli -g -yNative Gemini CLI
gemini skills install https://github.com/nexu-io/open-design.git --scope workspace --path plugins/_official/examples/od-plugin-contribute-open-design⚠ 安装命令使用开源 skills CLI。执行前请检查来源、脚本和权限。
Skill 指令
在 GitHub 查看原始文件 ↗# Contribute Plugin to Open Design
Use this workflow when the active project contains a copied plugin folder and the user wants to propose it for the Open Design 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 Open Design files unless a manifest validation issue requires a tiny supporting change.