univer-pro-integrate
БесплатноБез исполняемых скриптовНе проверенIntegrate current Univer Pro features into browser applications. Use for licensed Sheets, Docs, Slides, Bases, Boards, or PDFs; advanced Sheets presets…
от dream-num★ 83 звезды на GitHubОб этом скилле
Univer Pro Integrate
Add licensed Univer Pro capabilities to an existing Univer application.
Source baseline: Univer and Univer Pro
1.0.0-beta.0, synchronized with the currentdream-num/univeranddream-num/univer-prosources. Inspect the target project's installed versions first and preserve that exact release line.
Prerequisite: Use
univer-integratefor the base application, container, locale, unit creation, and ordinary Facade patterns. Useuniver-customize-themefor application palettes, dark mode, and the separate Pro Chart theme registry.
Choose the integration path
- Use
@univerjs/preset-sheets-advancedfor ordinary Pro Sheets integration. It composes the license, Pro formula, pivot table, print, chart, outline, shape, sparkline, and Sheets exchange plugins plus their Facade extensions. - Add
@univerjs/preset-sheets-collaborationfor collaboration and edit history. Register it after the Advanced preset. - Use
@univerjs/preset-docs-advancedand@univerjs/preset-docs-collaborationfor ordinary Pro Docs integration. - Use Plugin Mode only for custom loading, exact bundle composition, or hosts without a matching Pro preset, such as Slides, Bases, Boards, and PDFs.
- Never register both a preset and a plugin already owned by that preset.
In 1.0.0-beta.0, Slides, Bases, Boards, and PDFs are real Pro product hosts with their own runtime/UI packages, host /facade entry, and creation method (createPresentation, createBase, createBoard, and createPdf). They do not have unified Pro presets. Follow the product matrix and Plugin Mode chains in references/pro-features-guide.md; do not infer a preset merely because a product or Facade exists.
Version policy
- Read
package.json, the lockfile, or an installed Univer package manifest. - Keep every
@univerjs/*,@univerjs-pro/*, and@univerjs/preset-*package on the same exact Univer version. - For a new project targeting this source baseline, use
1.0.0-beta.0. - Treat a package-version mismatch as an integration error; Univer validates plugin versions at runtime.
Quick start: add Pro Sheets to the base preset
Install the Pro preset at the same version as the base preset:
npm install @univerjs/[email protected]
Extend the univer-integrate Sheets preset example with the Advanced locale, stylesheet, and preset:
import { UniverSheetsAdvancedPreset } from '@univerjs/preset-sheets-advanced';
import UniverPresetSheetsAdvancedEnUS from '@univerjs/preset-sheets-advanced/locales/en-US';
import '@univerjs/preset-sheets-advanced/lib/index.css';
declare const clientLicense: string;
const { univer, univerAPI } = createUniver({
locale: LocaleType.EN_US,
locales: {
[LocaleType.EN_US]: mergeLocales(
UniverPresetSheetsCoreEnUS,
UniverPresetSheetsAdvancedEnUS,
),
},
theme: defaultTheme,
presets: [
UniverSheetsCorePreset({ container: 'app' }),
UniverSheetsAdvancedPreset({
license: clientLicense,
universerEndpoint: 'https://your-universer.example.com',
}),
],
});
Keep the license outside source control. universerEndpoint is the Universer origin; the preset derives the upload, import, export, task, sign, and download routes from it.
Add collaboration
npm install @univerjs/[email protected]
import { UniverSheetsCollaborationPreset } from '@univerjs/preset-sheets-collaboration';
import UniverPresetSheetsCollaborationEnUS from '@univerjs/preset-sheets-collaboration/locales/en-US';
import '@univerjs/preset-sheets-collaboration/lib/index.css';
const collaborationPreset = UniverSheetsCollaborationPreset({
universerEndpoint: 'https://your-universer.example.com',
univerContainerId: 'app',
enableOfflineEditing: true,
});
Set collaboration: true in the top-level createUniver options, merge the collaboration locale, and append collaborationPreset after UniverSheetsAdvancedPreset(...). Pass collaboration: true to OSS feature presets that expose that option, such as the Drawing preset. Load a shared server unit with univerAPI.loadServerUnit(unitId, type) rather than creating a blank local workbook with the same ID.
Plugin Mode rules
Register a configured license before every Pro plugin:
import { UniverLicensePlugin } from '@univerjs-pro/license';
import { UniverSheetsPrintPlugin } from '@univerjs-pro/sheets-print';
import '@univerjs-pro/sheets-print/facade';
univer.registerPlugin(UniverLicensePlugin, { license: clientLicense });
univer.registerPlugin(UniverSheetsPrintPlugin);
Many Pro plugins declare UniverLicensePlugin as a dependency. If a dependent plugin runs first, Univer can auto-register the license plugin with default empty configuration; a later explicit registration is then a duplicate. Configure dependencies before dependents, register all plugins before creating units, and import each required /facade side-effect en
Установить univer-pro-integrate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл univer-pro-integrate?
Integrate current Univer Pro features into browser applications. Use for licensed Sheets, Docs, Slides, Bases, Boards, or PDFs; advanced Sheets presets; collaboration and edit history; Office import/export; printing; pivot tables; charts; sparklines; shapes; Pro workers; license ordering; or Pro Facade APIs.
Как установить скилл univer-pro-integrate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл univer-pro-integrate запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic