Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

develop-wework-plugin

FreeRuns bundled scriptsNot checked

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…

wecode-aiby wecode-ai★ 897 GitHub stars

About 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, and wework.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, and wework.runtime-profile.workspace-policy.
  • Composer: wework.composer.action and wework.composer.prediction.
  • Home and context: wework.home, wework.task.status, wework.conversation.summary, and wework.board.card.status.
  • Shell: wework.shell.before, wework.shell.after, and wework.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, and client.js belong to the outer Wework package.
  • New projects contain only the outer Wework package by default. Add wework.codexPlugin and 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.json format and official Codex folders only. Do not add Wework-only keys or files to its manifest.
  • index.js runs in the Core DSH Node host. client.js runs 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

  1. Read .wework/plugin-development.json, package.json, and the declared dsh.bundle.patch.
  2. When wework.codexPlugin is present, read its .codex-plugin/plugin.json and every affected Skill or MCP entry below that directory.
  3. Read every declared host, browser, or sidecar entry affected by the change.
  4. Reuse public Wework DSH slots and services. Do not import private Wework application modules from a user plugin.
  5. 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
Full SKILL.md on GitHub

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
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

assets/reference-plugins/README.mdassets/reference-plugins/endpoint-watch-demo/README.mdassets/reference-plugins/endpoint-watch-demo/client.jsassets/reference-plugins/endpoint-watch-demo/cordis.patch.ymlassets/reference-plugins/endpoint-watch-demo/index.jsassets/reference-plugins/endpoint-watch-demo/package.jsonassets/reference-plugins/focus-board-demo/README.mdassets/reference-plugins/focus-board-demo/client.jsassets/reference-plugins/focus-board-demo/cordis.patch.ymlassets/reference-plugins/focus-board-demo/index.jsassets/reference-plugins/focus-board-demo/package.jsonassets/reference-plugins/prompt-library-demo/README.mdassets/reference-plugins/prompt-library-demo/client.jsassets/reference-plugins/prompt-library-demo/cordis.patch.ymlassets/reference-plugins/prompt-library-demo/index.jsassets/reference-plugins/prompt-library-demo/package.jsonassets/reference-plugins/reference-plugins.test.mjsassets/reference-plugins/sidebar-browser-panel-demo/README.mdassets/reference-plugins/sidebar-browser-panel-demo/client.jsassets/reference-plugins/sidebar-browser-panel-demo/cordis.patch.ymlassets/reference-plugins/sidebar-browser-panel-demo/index.jsassets/reference-plugins/sidebar-browser-panel-demo/package.jsonassets/showcase-plugins/README.mdassets/showcase-plugins/quality-guardian-demo/README.mdassets/showcase-plugins/quality-guardian-demo/client.jsassets/showcase-plugins/quality-guardian-demo/cordis.patch.ymlassets/showcase-plugins/quality-guardian-demo/index.jsassets/showcase-plugins/quality-guardian-demo/package.jsonassets/showcase-plugins/runtime-doctor-demo/README.mdassets/showcase-plugins/runtime-doctor-demo/client.jsassets/showcase-plugins/runtime-doctor-demo/cordis.patch.ymlassets/showcase-plugins/runtime-doctor-demo/index.jsassets/showcase-plugins/runtime-doctor-demo/package.jsonassets/showcase-plugins/showcase-plugins.test.mjsassets/showcase-plugins/workspace-copilot-demo/README.mdassets/showcase-plugins/workspace-copilot-demo/client.jsassets/showcase-plugins/workspace-copilot-demo/cordis.patch.ymlassets/showcase-plugins/workspace-copilot-demo/index.jsassets/showcase-plugins/workspace-copilot-demo/package.jsonassets/ui-extension-demo/README.en.md

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

Compare develop-wework-plugin with