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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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
- Ensure the user already has a fork of
Wox-launcher/Wox, or create one. - Read the current plugin (packaged repo, or the single-file
.js/.pyheader) before touching the store repo. - 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.
- Clone the user's fork into a temporary directory and add
upstreamforhttps://github.com/Wox-launcher/Wox. - Check upstream
store-plugin.jsonfor the current plugin ID. - Stop and tell the user not to submit when the ID already exists.
- Add the new store entry when the ID is absent.
- 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:
- Check whether the user already has a fork and reuse it when present.
- If
ghis available and authenticated, create the fork from the CLI. - If
ghis 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
originand the official repo asupstream
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.jsonpackage.jsonwhen 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 NameAuthorVersionMinWoxVersionRuntimeDescriptionWebsite(gist HTML URL, or GitHub repository URL)DownloadUrl(gist raw.js/.pyURL, or.woxrelease 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
.jsor.py - a packaged plugin has no public repository URL or no installable
.woxrelease asset - there is no screenshot,
ScreenshotUrlswould 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
评论
- …