lov-codeex-creator
БесплатноЗапускает вложенные скриптыНе проверен为 Codeex 创建、验证和迭代本地运行时插件,覆盖 renderer、launch、control hooks、原生 UI 复用、分层重载与原子安装卸载。Use when users say“开发 Codeex 插件”or “create a Codeex plugin”.
от lovstudio★ 72 звезды на GitHubОб этом скилле
Codeex 插件工坊 · Codeex Plugin Studio
Deliver one self-contained Codeex runtime plugin whose source, permissions, hooks, desired install state, active runtime state, and rollback path are all auditable. Keep every plugin independently installable and uninstallable; never patch another plugin to make the new one work.
Triggers
Activate when
- 用户说“开发一个 Codeex 插件”“把这个能力做成 Codeex plugin”或“原子安装/卸载这个插件”。
- 用户要新增或修改
plugins/<plugin-id>/plugin.json、transformWebview、beforeLaunch、handleControlRequest或 Codeex 插件权限。 - The user asks to “create a Codeex plugin”, “add a Codeex runtime hook”, or “make this Codeex feature independently installable”.
Do not activate when
- 用户要创建 Codex marketplace 的
.codex-plugin/plugin.json、Skill、MCP 或 App;使用 Codexplugin-creator,不要套用 Codeex 运行时契约。 - 用户只要把 Lovinsp 接入普通前端项目;使用
lov-integrate-lovinsp。 - 用户只要修复 Electron/Tauri 的通用 relaunch 行为,而没有 Codeex 插件交付物;使用
lov-electron-app-relaunch。 - 用户只要求启用或停用一个已经存在的插件,且不涉及开发或验证;直接使用 Codeex 插件中心或项目 CLI。
Runtime Context and Profile
Read skill.yaml and resolve the Codeex repository in this order:
- The current request or an explicit
--project-root. - Current project context when it satisfies the Codeex contract.
CODEEX_PROJECT_ROOT.workspace.codeex_rootorskills.lov-codeex-creator.records.codeex_rootfrom the shared Profile.- The current directory when it passes the contract check.
Do not save an inferred path. If the user explicitly says a Codeex root should
be reused in future sessions, persist it with scripts/profile_store.py record --skill-id lov-codeex-creator --path records.codeex_root --value <json-string> --confirm and report the canonical Profile path without echoing private data.
Read references/skill-composition.md before invoking adjacent capabilities.
External Skills are optional artifact handoffs, never runtime dependencies.
Proceed without a question when the repository, plugin boundary, and safe verification path are discoverable. Use AskUserQuestion at most once when a material choice cannot be recovered locally, especially authorization to restart the active Codeex instance or a destructive source-removal request.
Codeex Plugin Contract
Before editing, read these references completely:
references/plugin-contract.mdfor manifests, hooks, and authoritative Codeex files.references/atomic-lifecycle.mdfor source, desired-state, runtime, and rollback semantics.references/verification.mdfor the risk-based evidence matrix.references/development-loop.mdfor native UI reuse, reload boundaries, and packaged-runtime readback.
Re-audit the target repository when its contract files differ from the reference. Current source code is authoritative; this Skill must not freeze a stale private API.
Workflow (MANDATORY)
Step 1: Define the plugin boundary
Record:
- one plugin ID in lower-case kebab-case;
- the user-visible outcome and one independently removable capability;
- whether it needs
transformWebview,beforeLaunch,handleControlRequest, or a combination; - every permission and why it is necessary;
- whether activation requires a renderer rebuild, a managed runtime restart, a launcher/control-service reload, or a combination;
- a rollback that leaves the currently running Codeex usable.
Reject a design that reaches into another plugin directory, mutates shared state outside declared hooks, or requires deleting user data during uninstall.
Step 2: Inspect the live contract
Verify the repository contains:
plugins/catalog.mjs
plugins/state.mjs
scripts/plugins-cli.mjs
scripts/build-webview.mjs
scripts/start.mjs
scripts/control-server.mjs
scripts/launcher-server.mjs
scripts/verify.mjs
Inspect the current hook call sites and context objects. Search existing plugins for the closest contract example, but do not copy feature-specific permissions, ports, paths, or lifecycle behavior.
Step 3: Scaffold or update the source
For a new plugin, use the staged creator:
python3 "$SKILL_DIR/scripts/codeex_plugin.py" scaffold <plugin-id> \
--project-root "$CODEEX_ROOT" \
--name "<display name>" \
--description "<concrete user-visible outcome>" \
--hook webview \
--control-route
Infer --hook webview, before-launch, or both from the requested behavior.
Use --hook control for a control-only plugin, or add --control-route when a
webview or launch plugin also owns authenticated local API routes.
Use repeated --permission "Label:Detail" only for capabilities the plugin
actually exercises. The scaffold is created beside the final target and
renamed into place only after validation; an occupied target is rejected.
For an existing plugin, edit only its own directory plus focused shared tests or contract code that is genuinely required. Never overwrite its directory with the scaffold command.
Step 4: Implement through declared hooks
transformWebview(context)may change only the staged render
Установить lov-codeex-creator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл lov-codeex-creator?
为 Codeex 创建、验证和迭代本地运行时插件,覆盖 renderer、launch、control hooks、原生 UI 复用、分层重载与原子安装卸载。Use when users say“开发 Codeex 插件”or “create a Codeex plugin”.
Как установить скилл lov-codeex-creator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lov-codeex-creator запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic