build-with-univer
Installation
SKILL.md
Build with Univer
Univer Office SDK is a family of npm packages, not a single library. Pick the SDK by what you are building, then follow its example repository where one exists. Do not guess APIs from memory: Univer changes quickly and older material is widely mis-remembered.
Pick the SDK
| You are building | SDK | Packages | Start from |
|---|---|---|---|
| An embedded spreadsheet, document, or slide editor in a web app | Web SDK | @univerjs/*, @univerjs-pro/* |
references/web-sdk.md |
| Generate or modify Sheet or Doc data, or calculate formulas in Node.js | Headless Web SDK | @univerjs/* without editor UI |
references/web-sdk.md |
| Real-time multi-user editing with your own auth and storage | Server SDK + Web SDK client | @univerjs-pro/collaboration-* |
references/server-sdk.md, quick-start example |
| Server-side Office import/export (xlsx, docx, pptx) | Server SDK | @univerjs-pro/exchange-node |
references/server-sdk.md, exchange example |
| Your own CLI or tool that lets agents read and edit Office content | AI SDK | @univer-cli/* |
references/ai-sdk.md, 01-content-operations example |
| A plain HTML/CSS/JS page showing or editing live Sheet cells | Binding SDK | @univerjs-labs/* |
references/binding-sdk.md (installed packages' docs) |