{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "zai-org-zcode--build-ui-plugin-from-excalidraw-example",
 "repo": "zai-org/ZCode",
 "repo_url": "https://github.com/zai-org/ZCode",
 "repo_slug": "zai-org-zcode",
 "title": "Build a UI plugin from the Excalidraw example",
 "page_title": "How to build a UI plugin from the Excalidraw example with ZCode",
 "summary": "Follow the UI Plugin guide to start a plugin from the Excalidraw canvas example.",
 "who": "A developer who wants to add a custom page or panel to the ZCode interface.",
 "problem": "Plugin APIs and the install and update flow are documented separately from the code, so a guided start saves time.",
 "outcome": "A working UI plugin tested in the web dev server and prepared for a zcode-plugins pull request.",
 "steps": [
  "Read UI_PLUGIN.md for plugin capabilities, the page API, install and update steps and host debugging entry points.",
  "Start from the Excalidraw canvas collaboration example described in that guide.",
  "Run `pnpm dev:web` and open `http://localhost:5173` to check the plugin page in the browser.",
  "Before opening a PR to zcode-plugins, declare whether it is a UI Plugin and enter the plugin name in the PR template."
 ],
 "agent_prompt": "In the zai-org/ZCode repo, read UI_PLUGIN.md and build a plugin named <plugin-name> following the Excalidraw example. Report the files created and confirm that the plugin page loads at http://localhost:5173 under `pnpm dev:web`.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "120 minutes",
 "basis": "readme",
 "caveat": "The README only links to UI_PLUGIN.md, so the exact plugin API details must be taken from that file rather than from this README.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Git",
  "Node.js 24.14.0 and pnpm 10.33.2, as pinned in mise.toml",
  "Clone of the zai-org/ZCode repository",
  "A local project folder to point the agent at"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/zai-org-zcode/build-ui-plugin-from-excalidraw-example/",
 "md": "https://dedupedai.com/use-cases/zai-org-zcode/build-ui-plugin-from-excalidraw-example/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/zai-org-zcode--build-ui-plugin-from-excalidraw-example.json",
 "api_version": "v1"
}
