develop-wework-plugin
FreeRuns bundled scriptsNot checkedCreate, extend, and debug Wework Core DSH plugins and their optional nested Codex plugins. Use when the user asks to develop a Wework plugin, add a Wework UI…
by wecode-ai★ 897 GitHub starsAbout this skill
Develop a Wework plugin
Treat the Wework package as the outer delivery unit. It may declare a nested
Codex plugin through wework.codexPlugin; the Codex plugin must never own or
gate the Wework plugin.
Use the bundled development kit
This Skill includes the complete public Wework extension catalog, one exhaustive smoke-test plugin, three focused API references, and three product-oriented showcase plugins:
- Read references/extension-points.md before choosing a UI surface. It documents descriptor fields, component props, and the browser-module boundary.
- Inspect assets/ui-extension-demo before writing a low-level UI contribution.
- Inspect assets/reference-plugins for runnable,
independently installable examples of Composer augmentation, persistent
workflow UI, website navigation, and typed desktop-host integration. For a
left-navigation button that opens a website in the Wework built-in browser,
start from
sidebar-browser-panel-demo. Copy only the closest example into the user's writable project, then delete every contribution the plugin does not need. - Start with assets/showcase-plugins when the user wants a product-quality example. Workspace Copilot, Test Explorer, and Dev Environments represent popular AI-assistant, testing, and development-environment categories with deliberately different interaction models.
- Never edit files inside an installed plugin cache. Resolve these resources relative to this Skill, and copy examples to the active project first.
The catalog covers all public host slots:
- Navigation and apps:
wework.action,wework.app,wework.route,wework.sidebar.navigation,wework.settings.page, andwework.settings.section. - Project and workspace:
wework.plugins.action,wework.project.create.section,wework.project.work.section,wework.workspace.menu.section,wework.workspace.tab,wework.workspace.sidebar.tab,wework.workspace.toolbar.action,wework.workspace.bottom-panel.tab, andwework.runtime-profile.workspace-policy. - Composer:
wework.composer.actionandwework.composer.prediction. - Home and context:
wework.home,wework.task.status,wework.conversation.summary, andwework.board.card.status. - Shell:
wework.shell.before,wework.shell.after, andwework.shell.overlay.
It also documents the public ctx.wework.host, backend, commands,
composer, contributions, chat, testing, environments, context,
menus, keybindings, localization, configuration, storage, and
secrets services. Prefer a command-backed menu contribution when the host
already owns the button surface; use a raw UI slot when the plugin needs custom
rendering.
Understand the package boundaries
A Wework Core DSH plugin normally contains:
plugin-root/
├── package.json
├── cordis.patch.yml
├── index.js
├── client.js
└── codex-plugin/ # optional nested official Codex plugin
├── .codex-plugin/plugin.json
└── skills/<skill-name>/SKILL.md
Wework creates .wework/plugin-development.json beside the project files to
classify the local project and enable the 插件调试 tab. Treat that file as
Wework project metadata, not as part of the distributable Codex plugin.
The boundaries are strict:
package.json,cordis.patch.yml,index.js, andclient.jsbelong to the outer Wework package.- New projects contain only the outer Wework package by default. Add
wework.codexPluginand a nested Codex plugin only when the requested product capability actually includes Codex Skills, MCP servers, agents, or other official Codex plugin resources. - A nested Codex plugin uses the official
.codex-plugin/plugin.jsonformat and official Codex folders only. Do not add Wework-only keys or files to its manifest. index.jsruns in the Core DSH Node host.client.jsruns in the browser client. Share data through declared services or messages, not accidental module state or startup order.- Third-party plugins consume public Wework DSH slots and services. Never import private Wework application modules.
Inspect before editing
- Read
.wework/plugin-development.json,package.json, and the declareddsh.bundle.patch. - When
wework.codexPluginis present, read its.codex-plugin/plugin.jsonand every affected Skill or MCP entry below that directory. - Read every declared host, browser, or sidecar entry affected by the change.
- Reuse public Wework DSH slots and services. Do not import private Wework application modules from a user plugin.
- Remove duplicate loaders, watchers, compatibility paths, and generated examples that no longer serve the plugin.
Choose the smallest extension surface
Start from the user-visible outcome, then select the narrowest matching slot:
- Add a complete application with `wework.ap
Install develop-wework-plugin in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the develop-wework-plugin skill do?
Create, extend, and debug Wework Core DSH plugins and their optional nested Codex plugins. Use when the user asks to develop a Wework plugin, add a Wework UI extension, create a Skill inside that plugin, or diagnose it in the isolated plugin-development instance.
How do I install the develop-wework-plugin skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the develop-wework-plugin skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic