Clear test plugins from public Codex marketplace
Constraint: Public marketplace should only expose production-ready plugins while KeyInfo now publishes internal skills explicitly. Rejected: Keeping eapil-prefixed test plugins | They conflict with future KeyInfo-published skills and confuse plugin identity. Confidence: high Scope-risk: narrow Directive: Keep plugin IDs stable and avoid eapil-prefixed test fixtures in the public market. Tested: python scripts/validate_marketplace.py; CODEX_HOME temp codex plugin marketplace add .; CODEX_HOME temp codex plugin add docx@eapil-skill-market Not-tested: Remote Codex Desktop install after push.
This commit is contained in:
@@ -19,14 +19,11 @@
|
||||
|
||||
插件目录:
|
||||
|
||||
- `plugins/codex/plugins/eapil-pdf`
|
||||
- `plugins/codex/plugins/eapil-pptx`
|
||||
- `plugins/codex/plugins/eapil-xlsx`
|
||||
- `plugins/codex/plugins/eapil-threejs`
|
||||
- `plugins/codex/plugins/docx`
|
||||
- `plugins/codex/plugins/superpowers`
|
||||
- `plugins/codex/plugins/ui-ux-pro-max`
|
||||
|
||||
Three.js 相关 skill 统一放在 `eapil-threejs` 一个插件内,不再拆成多个 `eapil-threejs-*` 插件。这样用户只需要安装一个 Three.js 技能包,安装后 Codex 仍然可以在包内按具体 skill 选择场景、材质、灯光、交互、动画等工作流。
|
||||
当前市场只保留正式公开插件。历史测试插件不应继续出现在 marketplace 或 `plugins/codex/plugins/` 下,下一次发布或同步时也应移除未被索引的测试目录,避免用户安装到过期能力。
|
||||
|
||||
## 第三方 skill 引入流程
|
||||
|
||||
@@ -64,8 +61,8 @@ powershell -ExecutionPolicy Bypass -File .\scripts\sync_external_plugins.ps1 -On
|
||||
|
||||
新增自制 skill 时优先判断分发粒度:
|
||||
|
||||
- 如果它是独立领域能力,创建一个新插件,例如 `eapil-pdf`。
|
||||
- 如果它是某个已有领域的一部分,放进已有插件的 `skills/` 下,例如 Three.js 的新增材质、加载、调试类能力放进 `eapil-threejs`。
|
||||
- 如果它是独立领域能力,创建一个新插件,例如 `docx` 或新的英文 kebab-case 插件名。
|
||||
- 如果它是某个已有领域的一部分,放进已有插件的 `skills/` 下。一个目录下有多个相关 skill 时仍视为一个插件,用户安装和卸载以插件为单位。
|
||||
|
||||
自制插件最低结构:
|
||||
|
||||
@@ -105,10 +102,10 @@ python C:\Users\cmx27\.codex\skills\.system\plugin-creator\scripts\validate_plug
|
||||
需要验证 Codex 安装行为时:
|
||||
|
||||
```powershell
|
||||
codex plugin marketplace add . --json
|
||||
codex plugin list --marketplace eapil-skill-market --available --json
|
||||
codex plugin add <plugin-name>@eapil-skill-market --json
|
||||
codex plugin remove <plugin-name>@eapil-skill-market --json
|
||||
codex plugin marketplace add .
|
||||
codex plugin list --marketplace eapil-skill-market
|
||||
codex plugin add <plugin-name>@eapil-skill-market
|
||||
codex plugin remove <plugin-name>@eapil-skill-market
|
||||
```
|
||||
|
||||
本地测试安装后记得移除测试插件,避免 Codex Desktop 显示为已启用而误判为市场默认安装。
|
||||
|
||||
Reference in New Issue
Block a user