od-plugin-contribute-open-design
Open a pull request adding a local OpenDesign plugin to the OpenDesign community catalog using gh CLI.
Install
Copy this folder into your Claude Code project (needs Node.js):
npx degit nexu-io/open-design/plugins/_official/examples/od-plugin-contribute-open-design .claude/skills/od-plugin-contribute-open-designOr install it for every project:
npx degit nexu-io/open-design/plugins/_official/examples/od-plugin-contribute-open-design ~/.claude/skills/od-plugin-contribute-open-designFile content
Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗
---
name: od-plugin-contribute-open-design
description: Open a pull request adding a local OpenDesign plugin to the OpenDesign community catalog using gh CLI.
triggers:
- contribute plugin
- open design pr
- github pull request
od:
mode: utility
platform: desktop
scenario: plugin-sharing
---
# Contribute Plugin to OpenDesign
Use this workflow when the active project contains a copied plugin folder and the user wants to propose it for the OpenDesign 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 OpenDesign files unless a manifest validation issue requires a tiny supporting change.