dream-num/univer-cli-examples/univer-content

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Import or create, edit, verify, and export a collaborative Univer Sheet, Doc, or Slide in an isolated Worktree when the user asks for content that should be handed off for review.

Install

npx vskill@latest install dream-num/univer-cli-examples/univer-content

SKILL.md

Work with Univer Content

Use univer-example-cli <command>. The user starts the Server separately with pnpm start-server from the current 04-worktree directory.

Workflow

  1. If the user provides an .xlsx, .docx, or .pptx file, import it; otherwise create a Sheet,

Doc, or Slide. Then run univer-example-cli worktree create --unit <unitId> and retain both IDs.

  1. Inspect the Worktree with inspect workbook for Sheet, inspect document for Doc, or

inspect presentation for Slide. Pass --unit <unitId> --worktree <worktreeId>. Use --trunk only when a baseline or final trunk view is useful.

  1. Before using an unfamiliar Facade API, query univer-example-cli api find <term> and

univer-example-cli api show <symbol>. Execution code uses the provided workbook for a Sheet, doc for a Doc, or presentation for a Slide. These binding names are reserved; use them directly. Sheet code starts with const sheet = workbook.getActiveSheet().

  1. One-shot boundary: run the complete trusted change exactly once with

univer-example-cli execute --unit <unitId> --worktree <worktreeId> --code <javascript> or --file <path>. Successful execution commits automatically.

  1. When the returned JSON contains commit: "confirmed", retain its revision and continue. For any

other result, stop and return that result.

  1. Inspect the changed content in the Worktree with --json. For a Sheet range, run

univer-example-cli inspect range <range> --worksheet index:1 --unit <unitId> --worktree <worktreeId> --json.

  1. When the user requests visual verification, capture with

univer-example-cli screenshot --unit <unitId> --worktree <worktreeId> --out output and read the PNG with image input. For a Slide, also run lint --unit <unitId> --worktree <worktreeId>.

  1. When the user requests an Office file, export the draft with

univer-example-cli export <file> --unit <unitId> --worktree <worktreeId>.

  1. Run univer-example-cli worktree ready <worktreeId>, then

univer-example-cli open --unit <unitId> --worktree <worktreeId> --no-launch.

  1. Return the Unit type, name, Unit ID, Worktree ID, revision, screenshot and exported paths when

present, and review URL. Open the browser only when the user asks.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
7-day trend score
12

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dream-num/univer-cli-examples/univer-content/badge)](https://verified-skill.com/skills/dream-num/univer-cli-examples/univer-content)

Something wrong with this skill or its page? Tell us.