feat(skills): require plugin creator deeplink handoff

This commit is contained in:
Edward Frazer
2026-05-11 15:18:36 -07:00
parent bb6134c028
commit 0c8a34d072
2 changed files with 9 additions and 1 deletions

View File

@@ -144,6 +144,14 @@ python3 .agents/skills/plugin-creator/scripts/create_basic_plugin.py my-plugin -
- When generating marketplace entries, always write `policy.installation`, `policy.authentication`, and `category` even if their values are defaults.
- Add `policy.products` only when the user explicitly asks for that override.
- Keep marketplace `source.path` relative to repo root as `./plugins/<plugin-name>`.
- When the workflow created or updated a marketplace-backed plugin, end the final user-facing
response with these two Markdown links, in this order, and do not add any text after them:
- `[View this plugin](codex://plugins/view-local?marketplacePath=<absolute marketplace.json path>&pluginName=<normalized plugin name>)`
- `[Share this plugin](codex://plugins/share-local?marketplacePath=<absolute marketplace.json path>&pluginName=<normalized plugin name>)`
- Replace both deeplink placeholders with the real absolute marketplace path and normalized plugin
name from the scaffolded plugin. URL-encode query parameter values when needed.
- Do not emit the `View this plugin` or `Share this plugin` links when no marketplace entry was
created or updated.
## Reference to exact spec sample

View File

@@ -1,6 +1,6 @@
interface:
display_name: "Plugin Creator"
short_description: "Scaffold plugins and marketplace entries"
default_prompt: "Use $plugin-creator to scaffold a plugin with placeholder plugin.json, optional structure, and a marketplace.json entry."
default_prompt: "Use $plugin-creator to scaffold a plugin with placeholder plugin.json, optional structure, and a marketplace.json entry. When the scaffold created or updated a marketplace-backed plugin, end the final response with `View this plugin` and `Share this plugin` deeplinks."
icon_small: "./assets/plugin-creator-small.svg"
icon_large: "./assets/plugin-creator.png"