Chuyển đến nội dung
Skillpedia
Lập trình chung28k · #9943

wox-plugin-submit2store

Skill này làm gì

Skill này chuẩn bị một plugin Wox để đưa lên cửa hàng Wox chính thức qua pull request. Skill dành cho tác giả plugin muốn người dùng Wox khác có thể cài đặt plugin của họ.

Khi nào nên dùng

  • ✓Khi bạn đã hoàn thiện một plugin Wox và muốn đưa nó vào cửa hàng chính thức.
  • ✓Khi bạn cần giúp fork kho Wox và chuẩn bị pull request gửi lên cửa hàng.
  • ✓Khi bạn muốn kiểm tra plugin có đủ thông tin và ảnh chụp màn hình mà một mục cửa hàng cần.

Liên kết skill

https://github.com/Wox-launcher/Wox/blob/master/.agents/skills/wox-plugin-submit2store/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/Wox-launcher/Wox/blob/master/.agents/skills/wox-plugin-submit2store/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Giúp tôi gửi plugin Wox đã hoàn thiện lên cửa hàng chính thức.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent của bạn kiểm tra bản fork, đọc thông tin plugin, xác nhận plugin chưa có trong cửa hàng, thêm mục cửa hàng và chuẩn bị pull request.

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.

Wox Plugin Submit2store

Overview

Submit a plugin to the Wox store through a PR against Wox-launcher/Wox. Ensure a reusable fork exists first, read local plugin metadata, refuse duplicate submissions, and only modify store-plugin.json when the plugin ID is not already present. A store entry requires at least one public screenshot. Do not submit with an empty or omitted ScreenshotUrls, and do not open a PR that says a screenshot will be added later.

For single-file SDK plugins, host the plugin on a public GitHub gist. That is the simplest store delivery. Do not require a GitHub repository, plugin.json, or a .wox package. Example: https://gist.github.com/qianlifeng/04a9609de66eaa582a473f5852450ede

Workflow

  1. Ensure the user already has a fork of Wox-launcher/Wox, or create one.
  2. Read the current plugin (packaged repo, or the single-file .js/.py header) before touching the store repo.
  3. Validate that the plugin has enough public metadata and release assets for a store entry, including at least one public screenshot of the plugin running in Wox.
  4. Clone the user's fork into a temporary directory and add upstream for https://github.com/Wox-launcher/Wox.
  5. Check upstream store-plugin.json for the current plugin ID.
  6. Stop and tell the user not to submit when the ID already exists.
  7. Add the new store entry when the ID is absent.
  8. Commit on a branch in the fork and open a PR to Wox-launcher/Wox.

Ensure A Fork Exists First

Treat fork setup as the first gate. Do not clone or edit a working copy until one of these is true:

  • the user already has a fork of Wox-launcher/Wox
  • the current authenticated GitHub user can create one now

Use this order:

  1. Check whether the user already has a fork and reuse it when present.
  2. If gh is available and authenticated, create the fork from the CLI.
  3. If gh is unavailable, unauthenticated, or fails, send the user to the web fork flow and continue only after the fork exists.

For CLI-driven fork handling:

  • prefer reusing an existing fork instead of creating a new one
  • if a fork is missing, create it with GitHub CLI
  • after the fork exists, treat the fork as origin and the official repo as upstream

For web fallback:

  • direct the user to https://github.com/Wox-launcher/Wox/fork
  • wait for the user to confirm the fork is ready
  • continue by cloning the fork repository, not the upstream repository

When the user has direct write access to Wox-launcher/Wox, a fork is not required. Otherwise, do not assume direct push access.

Read Local Metadata First

For a single-file SDK plugin, read the JSON metadata header in the live .js or .py file (usually ~/.wox/wox-user/plugins/single-file/Wox.Plugin.<Name>.js). Prefer a public gist as Website / DownloadUrl. Upload the screenshot and icon to GitHub and use https://gist.github.com/user-attachments/assets/<id> URLs for IconUrl and ScreenshotUrls.

For a packaged SDK plugin, read at least:

  • plugin.json
  • package.json when version information needs confirmation
  • local screenshots or icon files when URLs need to be derived
  • git remotes to determine the GitHub repository URL

Extract or derive these values:

  • plugin Id
  • Name
  • Author
  • Version
  • MinWoxVersion
  • Runtime
  • Description
  • Website (gist HTML URL, or GitHub repository URL)
  • DownloadUrl (gist raw .js/.py URL, or .wox release asset)
  • public icon URL
  • required screenshot URLs: at least one public image of the plugin running in Wox
  • supported operating systems

Stop and ask the user to fix the source first when any of these conditions hold:

  • metadata still contains template placeholders such as {{.Id}} or {{.Name}}
  • a single-file plugin has no public gist whose raw URL path ends with .js or .py
  • a packaged plugin has no public repository URL or no installable .wox release asset
  • there is no screenshot, ScreenshotUrls would be empty or omitted, or the only screenshot is local and has no stable public URL
  • the icon is only local and no stable public URL can be formed

Clone The Fork And Check For Duplicates

Clone the user's fork into a temporary directory instead of modifying the current plugin workspace. Add the official repository as upstream so the branch and PR target remain Wox-launcher/Wox.

Inspect store-plugin.json from the current upstream default branch and search by the exact plugin ID from the local metadata.

When the ID al

Câu hỏi thường gặp

Tôi có cần ảnh chụp màn hình không?

Có. Một mục cửa hàng cần ít nhất một ảnh chụp công khai của plugin đang chạy trong Wox.

Làm sao để lưu trữ plugin một file?

Skill khuyến nghị dùng một gist công khai trên GitHub, đây là cách đơn giản nhất để đưa plugin lên cửa hàng.

Nếu plugin đã có trong cửa hàng thì sao?

Skill sẽ dừng lại và báo bạn không nên gửi lại khi ID plugin đã tồn tại trong cửa hàng.

Chi tiết

Mô tả gốc của tác giả

Submit a Wox plugin to the official store by ensuring the user has a reusable fork of Wox-launcher/Wox, checking whether the plugin ID already exists in store-plugin.json, adding a new store entry when missing, and preparing a pull request to Wox-launcher/Wox. Single-file SDK plugins should be hosted on a public GitHub gist. Do not open the store pull request unless ScreenshotUrls contains at least one public screenshot of the plugin running in Wox. Use when the user wants to publish a Wox plugin to the store, verify whether it has already been listed, or have Codex run the store submission PR

repo: Wox-launcher/Wox

Độ phổ biến

Sao GitHub
28k
Vị trí xếp hạng
#9943
Giấy phép
GPL-3.0
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự