本文へスキップ
Skillpedia
一般的なプログラミング101k · #1072

od-share-to-community

できること

このツールは、最近完成させた作業を OpenDesign のプラグインに変換します。プロジェクトの情報から必要なファイルを作成するので、すべてを改めて入力し直す必要はありません。

使う場面

  • ✓共有したいプラグインとして作品が完成したとき。
  • ✓今のプロジェクトを再利用できるプラグインにしたいとき。
  • ✓他の人が簡単に使えるように作品をまとめたいとき。

スキルのリンク

https://github.com/nexu-io/open-design/blob/main/plugins/_official/scenarios/od-share-to-community/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/nexu-io/open-design/blob/main/plugins/_official/scenarios/od-share-to-community/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“今のプロジェクトを OpenDesign のプラグインにしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

ツールはプロジェクトのファイルを読み取り、何を作ったのかを把握します。そのうえで、説明文や指示書などのプラグイン用ファイルを含むフォルダを生成し、情報を自動で入力します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

od-share-to-community (scenario)

Triggered by the post-completion "Share to OpenDesign" submission action. The user just finished a piece of work in this project and wants to ship it as a plugin. They have not been asked any questions yet.

Required outcome

Produce a folder named generated-plugin/ in the active project workspace. At minimum:

  • SKILL.md with frontmatter and clear agent instructions.
  • open-design.json with valid plugin metadata: specVersion, name, version, description, mode, task kind, inputs, plus any pipeline / context references the workflow needs.
  • plugin.repo is optional during scaffolding, but do not silently omit it: check gh --version and gh auth status, then prefer the local account login printed by auth status. Only use gh api user --jq .login as a fallback when auth status does not expose a login. If gh is missing, not logged in, rate-limited, or cannot resolve a real owner, omit plugin.repo instead of inventing an owner and explicitly report the auth problem with gh auth refresh -h github.com -s repo,workflow, gh auth login -h github.com -s repo,workflow, or od plugin publish-repo generated-plugin --owner <github-login-or-org> as recovery commands. Never write placeholder owners such as open-design-user, <vendor>, example-user, your-org, or your-username into the final manifest.
  • Optional examples/ and assets/ only when they help review or reuse.

Auto-derive from the project — do not ask the user fields the files already answer

The agent's CWD is the user's OD project root. Before generating anything, read what's already there and infer the plugin from it. Treat the project files as the source of truth; the user does not need to retype things you can see.

What to read, in this order, and what to take from each:

  1. *.artifact.json (or artifact.json) at the project root — task kind, mode, the prompt the user actually ran, the file the agent produced. This drives od.taskKind, od.mode, the default useCase.query, and the example output path.
  2. brand-spec.md / DESIGN.md if present — voice, brand name, audience. Folds into the plugin description and tags.
  3. The list of generated artifacts in the project workspace (the *.html, *.tsx, *.svg, etc. the agent wrote during this session) — pick the most recent / largest one as useCase.exampleOutputs[0].path after copying it under generated-plugin/examples/.
  4. The user's first prompt in this conversation, if surfaced via the runtime — the natural-language description of what they wanted. Folds into description and the default useCase.query.

Pick a stable plugin id from what you derived: lowercase letters, numbers, dashes, underscores, dots. Prefer something the brand-spec or artifact metadata suggests over inventing one.

If a field truly cannot be derived (e.g. no artifact.json exists, no brand-spec, the project is too sparse), only then ask the user — and emit one consolidated <question-form> block, not field-by-field prose questions. Default the answers from whatever you did manage to derive so the user can accept the proposed values directly in the rendered form. <question-form> is assistant-text markup rendered by OpenDesign, not a native tool call.

Validate the plugin locally before reporting

Run od plugin validate on the folder, then od plugin pack for a tarball, then od plugin install --source <absolute-folder-path> to confirm the install path works.

When the work above is done

Write a single summary turn covering: files created, od plugin validate status, local install / run status, and od plugin pack output. Then STOP.

Do NOT chain the publish-repo / Open-Design-PR flows yourself

Do NOT suggest follow-up CLI commands such as od plugin publish, od plugin publish --to open-design, gh repo create, git init / git remote add / git push, or any other publish / repo wiring. The plugin-folder card under Design Files already exposes three buttons whose prompts drive those flows end-to-end with the right auth gates, fallbacks, and retry rules baked in:

  • Add to My plugins — already satisfied by this turn's od plugin install --source step.
  • Publish repo — creates / updates the author's plugin.repo GitHub repo through a gh + git sequence the agent is told exactly how to run.
  • OpenDesign PR — opens a draft PR against nexu-io/open-design for the community catalog.

…

よくある質問

OpenDesign プラグインとは何ですか?

OpenDesign のような大きなプラットフォームに機能を追加する小さなプログラムのことです。ユーザーはコミュニティが作ったツールを共有して使えます。

このツールを使うために何かインストールする必要はありますか?

ツールは `gh`(GitHub CLI)など必要なツールがインストールされているかを確認し、不足している場合や設定が必要な場合は知らせてくれます。

ツールが情報を見つけられなかった場合はどうなりますか?

必要な情報がファイルから見つからない場合、ツールは不足している詳細を分かりやすく入力するよう求めます。

詳細

作者による元の説明

Package the user's just-finished work as an OpenDesign plugin without asking for fields the project files already answer, then surface the existing Add-to-My-plugins / Open-Design-PR buttons.

repo: nexu-io/open-design

人気

GitHubのスター
101k
ランキング
#1072
ライセンス
Apache-2.0
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル