本文へ移動
cccskills
無料GitHub で公開

univer-cli

Use when installing or operating Univer CLI for .univer files, spreadsheets, documents, slides, Base databases, Board canvases, cross-Unit embedding, worktrees, Facade authoring, inspection, verification, import/export, screenshots, or viewer handoff.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Univer CLI

Terminal-native authoring and inspection for multi-Unit .univer files. The CLI provides isolated worktrees, version-matched Facade guidance, model readback, and browser review.

Install:

npm install -g univer-cli
univer doctor

Keep the CLI current

Use these commands to compare the installed CLI with the latest public release:

univer --version
npm view univer-cli@latest version --registry=https://registry.npmjs.org/

When a newer version is available, complete the current Univer task before updating:

univer update
univer doctor --json
univer skills get core

If univer update reports that the shared daemon must stop, rerun it with --force after confirming that stopping the daemon is safe. Reload core and the target Unit Skill after every update.

Start here

This file is the discovery entry, not the operational guide. Before using Univer commands for a task, load the complete core Skill from the installed CLI:

univer skills get core          # shared model, workflow, evidence, and handoff
univer skills get core --full   # include direct references and templates

Runtime Skills ship with the CLI so their commands and Facade APIs match the installed version.

Core Model

  • A .univer path is the authoritative multi-Unit target. Always address the file explicitly.
  • A Unit is a top-level Sheet, Doc, Slide, Base, or Board identified by unitId; sheet names, pages, tables, ranges, shapes, and records live inside that Unit.
  • trunk is the reviewed main line. A worktree is an isolated scope for agent changes; there is no implicit current worktree.
  • Command success is not correctness evidence. Read back the target model, verify task-specific assertions, and inspect rendered output when appearance matters.

Use public CLI and Facade surfaces. The worktree commit path is the durable write boundary, and merge remains an explicit review decision.

Unit Skills

After core, load the Skill matching the target top-level Unit before authoring:

univer skills get sheet
univer skills get doc
univer skills get slide
univer skills get base
univer skills get board

Use univer skills list to discover the installed set. Each Unit Skill owns its creation recipe, Facade entrypoints, readback guidance, and visual verification requirements.

For cross-Unit composition, load the additional Topic Skill after the host and child Unit Skills:

univer skills get embed

For a cross-Unit formula in a Sheet cell or formula-driven Shape, load its Topic Skill after the Host and Sheet or Base Source Unit Skills:

univer skills get cross-unit-formula

Task Routing

TaskLoad and use
Inspect or edit spreadsheet values, formulas, formatting, charts, or tablescore + sheet
Create or refine document paragraphs, rich text, tables, charts, or page layoutcore + doc
Build or review presentation pages, shapes, text, or imagescore + slide
Create or edit structured Base tables, fields, records, or viewscore + base
Create or edit a Board canvas, charts, and other elementscore + board
Embed one Unit inside another Unitcore + host Unit + child Unit + embed
Read a Sheet range or Base table column from a Sheet cell or formula-driven Shapecore + Host Unit + Source Unit + cross-unit-formula

Why Univer CLI

  • One .univer target can contain Sheet, Doc, Slide, Base, and Board Units addressed by unitId.
  • Worktrees isolate agent changes until review and merge.
  • Offline api show / api find resolves exact Facade symbols for the installed SDK.
  • Runtime readback and the viewer verify the stored model and rendered result.
  • Import/export and screenshots use the product runtime rather than unrelated file writers.

Do not edit .univer storage directly or substitute unrelated writers. Follow the loaded core and Unit Skills for the supported path.

Diagnose

univer --help
univer doctor
univer skills list
univer skills path

Use univer help <command> for exact syntax. If the CLI is unavailable or doctor reports a blocking runtime failure, stop and report the diagnostic instead of switching tools.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Customize Univer color themes, branded palettes, dark mode, and theme-aware plugin styles across Sheets, Docs, Slides, Bases, Boards, and PDFs. Use when setting an initial or runtime Theme, consuming ThemeService or --univer-* CSS variables, keeping custom UI or canvas code theme-aware, registering a separate Univer Pro chart theme, or migrating theme code from Univer 0.25.0 to current 1.0 source.

日本語の概要は準備中です。原文の説明を表示しています。

dream-num/skills772026年10月11日 更新

Integrate Univer Sheets, Docs, or Slides into React, Vue 3, HTML, or Node.js projects. Use when embedding Univer, choosing preset or plugin mode, initializing instances, configuring themes/locales/workers, or manipulating workbooks, worksheets, ranges, formulas, permissions, and events through the Facade API.

日本語の概要は準備中です。原文の説明を表示しています。

dream-num/skills772026年10月11日 更新

Run Univer Sheets, Docs, Slides, Bases, Boards, or PDFs in Node.js without browser UI. Use for server-side or backend Univer, OSS Sheets or Docs Node presets, Pro product Facades and collaboration, JSON snapshot processing, formula or Base child-process workers, or automated unit manipulation with @univerjs/rpc-node.

日本語の概要は準備中です。原文の説明を表示しています。

dream-num/skills772026年10月11日 更新

Develop custom plugins for Univer sheets, docs, slides, bases, boards, and PDFs. Use when implementing a Plugin lifecycle, dependency injection, commands/mutations/operations, undo/redo, Facade extensions or custom events, toolbar/context-menu items, shortcuts, icons, popups, or when diagnosing plugin API and registration errors.

日本語の概要は準備中です。原文の説明を表示しています。

dream-num/skills772026年10月11日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

dream-num/skills772026年10月11日 更新

Use when installing or operating the independent Univer Workspace CLI application (`univer-workspace-cli`) for remote Workspace files, Personal or Team Spaces, task Worktrees, Sheet/Doc/Slide/Base/Board Units, Facade authoring, inspection, verification, import/export, screenshots, or review handoff. Do not use for local targets handled by `univer`.

日本語の概要は準備中です。原文の説明を表示しています。

dream-num/skills772026年10月11日 更新

dream-num のスキルをすべて見る

このスキルの問題を報告する