od-share-to-community
Skill này làm gì
Công cụ này biến công việc bạn vừa hoàn thành thành một plugin OpenDesign. Nó lấy thông tin từ dự án và tạo các tệp cần thiết để công việc của bạn dùng được như một plugin, mà không cần bạn nhập lại mọi thứ.
Khi nào nên dùng
- ✓Khi bạn vừa hoàn thành điều gì đó muốn chia sẻ dưới dạng plugin.
- ✓Khi bạn muốn biến dự án hiện tại thành một plugin dùng lại được.
- ✓Khi bạn muốn đóng gói công việc để người khác dùng dễ dàng.
Liên kết skill
https://github.com/nexu-io/open-design/blob/main/plugins/_official/scenarios/od-share-to-community/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Biến dự án hiện tại của tôi thành một plugin OpenDesign.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ đọc các tệp dự án của bạn để hiểu những gì bạn đã tạo. Sau đó, nó tạo một thư mục chứa các tệp plugin, như mô tả và hướng dẫn, và tự điền thông tin.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.mdwith frontmatter and clear agent instructions.open-design.jsonwith valid plugin metadata:specVersion,name,version,description, mode, task kind, inputs, plus any pipeline / context references the workflow needs.plugin.repois optional during scaffolding, but do not silently omit it: checkgh --versionandgh auth status, then prefer the local account login printed by auth status. Only usegh api user --jq .loginas a fallback when auth status does not expose a login. Ifghis missing, not logged in, rate-limited, or cannot resolve a real owner, omitplugin.repoinstead of inventing an owner and explicitly report the auth problem withgh auth refresh -h github.com -s repo,workflow,gh auth login -h github.com -s repo,workflow, orod plugin publish-repo generated-plugin --owner <github-login-or-org>as recovery commands. Never write placeholder owners such asopen-design-user,<vendor>,example-user,your-org, oryour-usernameinto the final manifest.- Optional
examples/andassets/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:
*.artifact.json(orartifact.json) at the project root — task kind, mode, the prompt the user actually ran, the file the agent produced. This drivesod.taskKind,od.mode, the defaultuseCase.query, and the example output path.brand-spec.md/DESIGN.mdif present — voice, brand name, audience. Folds into the plugin description and tags.- 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 asuseCase.exampleOutputs[0].pathafter copying it undergenerated-plugin/examples/. - The user's first prompt in this conversation, if surfaced via the runtime — the natural-language description of what they wanted. Folds into
descriptionand the defaultuseCase.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 --sourcestep. - Publish repo — creates / updates the author's
plugin.repoGitHub repo through a gh + git sequence the agent is told exactly how to run. - OpenDesign PR — opens a draft PR against
nexu-io/open-designfor the community catalog.
…
Câu hỏi thường gặp
OpenDesign plugin là gì?
Đó là một chương trình nhỏ thêm chức năng cho một nền tảng lớn như OpenDesign, cho phép người dùng chia sẻ và dùng các công cụ do cộng đồng tạo ra.
Tôi có cần cài đặt gì để dùng công cụ này không?
Công cụ kiểm tra xem bạn đã có các công cụ cần thiết chưa, như “gh” (GitHub CLI), và thông báo nếu thiếu hoặc cần cấu hình.
Điều gì xảy ra nếu công cụ không tìm thấy thông tin?
Nếu không tìm thấy thông tin thiết yếu trong các tệp của bạn, công cụ sẽ yêu cầu bạn cung cấp rõ ràng các chi tiết còn thiếu.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 101k
- Vị trí xếp hạng
- #1072
- Giấy phép
- Apache-2.0
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
sample-plugin
101kGiúp agent của bạn tạo một tệp metadata cho các bài kiểm thử. Nó giúp đảm bảo mã nguồn chạy đúng trong nhiều tình huống khác nhau.
aster-atelier
101kGiúp agent của bạn tạo một website nghệ thuật theo phong cách cổ điển. Nó dùng hình ảnh tinh tế, bầu trời xanh và phông chữ serif để tạo cảm giác điện ảnh.
audio-jingle
101kGiúp agent của bạn tạo âm thanh như nhạc hiệu và hiệu ứng âm thanh. Nó có thể tạo nhạc và giọng nói, rồi lưu kết quả thành tệp âm thanh.
blog-post
101kGiúp agent của bạn viết bài báo dài hoặc bài blog. Có chỗ dành cho hình ảnh, trích dẫn và thông tin tác giả.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.