build-with-univer
БесплатноБез исполняемых скриптовНе проверенBuild applications with Univer Office SDK, covering the Web SDK (browser Office editors, headless Sheets and Docs in Node), Server SDK (self-hosted OT…
от dream-num★ 83 звезды на GitHubОб этом скилле
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) |
Real products often combine them. A collaborative editor is Web SDK in the browser plus Server SDK behind it. An HTML dashboard over shared data is Binding SDK on top of a Server SDK backend. Running in Node does not by itself select Server SDK or AI SDK: use Headless Web SDK for document processing, Server SDK for collaboration/storage or Office import/export, and AI SDK for agent tools.
The four SDKs
- Web SDK is the engine. It runs in the browser or headless in Node and covers six products: Sheets and Docs (open source), Slides, Boards, Bases and PDFs (Pro). Choose the runtime before assembling plugins: browser editors need UI; headless Node processes document data without an editor UI. Follow each product's runtime guide rather than assuming Node support. For new Web SDK integrations, default to plugin mode; preserve existing presets or an explicit request for them. All programmatic control goes through the Facade API.
- Server SDK is a set of Node.js packages you assemble inside your own backend: transport, endpoint, service and a database adapter, with an OT collaboration engine and history, comment and Worktree services. Your application owns users, permissions, storage and deployment.
- AI SDK builds Office CLIs for agents. Your app owns the Commander program and its commands; the SDK supplies headless runtimes, content inspection and execution, offline Facade API search, rendering and layout lint, and Worktree-based review.
- Binding SDK connects ordinary HTML pages to Sheet data with
data-univer-*attributes. Pages render in a sandboxed iframe connected to a host, and need a Server SDK collaboration backend.
Working principles
- Read the target project first: framework, package manager, and the installed
@univerjs/*,@univerjs-pro/*and@univer-cli/*versions. Preserve what is installed unless asked to upgrade. - For anything new, read in this order and then implement: the relevant docs page, the matching
example repository in full (where the SDK has one), then the README of each package you import.
Never invent APIs; if an export is not in the installed declarations or the docs, it does not
exist. Clone example repositories into a git-ignored directory inside the project (for example
.ref/) and remove it before you finish. If a repository is not reachable, the installed packages'README.mdanddocs/are the reference. - Pick versions at build time, not from memory: check the project's lockfile, then npm dist-tags.
Keep every package in one release group on the same exact version. See
references/versions-and-license.md, which also covers the
@univerjs-labsregistry and license wiring. - Copy an example's wiring rather than recombining packages from scratch. Then replace its demo shortcuts (fixed user, always-allow authorization, in-memory storage) with real ones.
- Verify in proportion to the change: build, run, and for collaboration open two independent browser contexts. Run headless examples in plain Node. Before declaring a feature unsupported or adding a workaround, check the runtime's installed packages, plugin registrations and Facade imports, then verify the native API. A Facade method can exist without its feature plugin.
- A missing license never blocks a proof of concept. Everything still runs; Pro surfaces show watermarks or restrict some operations. Build first, add the license when one is av
Установить build-with-univer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл build-with-univer?
Build applications with Univer Office SDK, covering the Web SDK (browser Office editors, headless Sheets and Docs in Node), Server SDK (self-hosted OT collaboration, storage, auth, Office import/export), AI SDK (agent-operated Office CLIs, reviewable Worktrees), and Binding SDK (plain HTML pages bound to live Sheet data). Use when starting or designing any Univer-based app or choosing Univer packages, including when the user describes a spreadsheet, document, collaboration, or AI-office need without naming a Univer package.
Как установить скилл build-with-univer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл build-with-univer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic