跳到正文
Skillpedia
通用编程28k · #9943

wox-plugin-submit2store

它能做什么

这项技能通过拉取请求,为 Wox 插件上架官方商店做准备。适合希望其他 Wox 用户能安装其插件的插件作者。

适用场景

  • ✓当你已完成一个 Wox 插件,并希望将其上架官方商店的时候。
  • ✓当你需要帮助复刻 Wox 仓库并准备商店拉取请求的时候。
  • ✓当你想检查插件是否具备商店条目所需的详细信息和截图的时候。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Wox-launcher/Wox/blob/master/.agents/skills/wox-plugin-submit2store/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我把我已完成的 Wox 插件提交到官方商店。”

每周 5 个新技能,1 分钟读完。

工作原理

你的智能体检查你的复刻仓库,阅读插件详细信息,确认插件尚未上架,添加商店条目,并准备拉取请求。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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

常见问题

我需要截图吗?

需要。商店条目至少需要一张公开的插件在 Wox 中运行的截图。

如何托管单文件插件?

该技能推荐使用公开的 GitHub gist,这是向商店提供插件最简单的方式。

如果我的插件已经上架怎么办?

当商店中已存在该插件 ID 时,该技能会停止,并告诉你不要再次提交。

详情

作者的原始描述

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

热度

GitHub 星标
28k
排名
#9943
许可证
GPL-3.0
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能