Langsung ke konten
Skillpedia
Pemrograman umum101k ยท #1072

od-share-to-community

Fungsinya

Tool ini mengubah pekerjaan Anda yang baru selesai menjadi plugin untuk OpenDesign. Tool ini mengambil informasi dari proyek Anda dan membuat file yang diperlukan agar hasil kerja Anda dapat digunakan sebagai plugin, tanpa Anda perlu mengetik ulang semuanya.

Kapan dipakai

  • โœ“Setelah menyelesaikan sesuatu yang ingin Anda bagikan sebagai plugin.
  • โœ“Saat Anda ingin mengubah proyek yang sedang dikerjakan menjadi plugin yang bisa digunakan ulang.
  • โœ“Untuk mengemas hasil kerja Anda agar orang lain bisa menggunakannya dengan mudah.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/nexu-io/open-design/blob/main/plugins/_official/scenarios/od-share-to-community/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œUbah proyek saya saat ini menjadi plugin OpenDesign.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Tool ini membaca file proyek Anda untuk memahami apa yang sudah Anda buat. Setelah itu, tool ini membuat folder berisi file plugin, seperti deskripsi dan instruksi, dengan mengisi informasinya secara otomatis.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.

โ€ฆ

Pertanyaan umum

Apa itu plugin OpenDesign?

Plugin OpenDesign adalah program kecil yang menambahkan fungsi ke platform yang lebih besar, seperti OpenDesign, sehingga pengguna dapat berbagi dan memakai alat yang dibuat oleh komunitas.

Apakah saya perlu memasang sesuatu untuk menggunakan tool ini?

Tool ini akan memeriksa apakah Anda sudah memasang alat yang diperlukan, seperti 'gh' (GitHub CLI), dan akan memberi tahu Anda jika ada yang kurang atau perlu diatur.

Apa yang terjadi jika tool tidak dapat menemukan sebagian informasi?

Jika informasi penting tidak ditemukan di file Anda, tool akan meminta Anda memberikan detail yang kurang dengan jelas.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
101k
Peringkat
#1072
Lisensi
Apache-2.0
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa