dream-num/univer-cli-examples/univer-content
- community
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-contentSKILL.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
- If the user provides an
.xlsx,.docx, or.pptxfile, import it; otherwise create a Sheet,
Doc, or Slide. Then run univer-example-cli worktree create --unit <unitId> and retain both IDs.
- Inspect the Worktree with
inspect workbookfor Sheet,inspect documentfor Doc, or
inspect presentation for Slide. Pass --unit <unitId> --worktree <worktreeId>. Use --trunk only when a baseline or final trunk view is useful.
- 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().
- 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.
- When the returned JSON contains
commit: "confirmed", retain its revision and continue. For any
other result, stop and return that result.
- 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.
- 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>.
- When the user requests an Office file, export the draft with
univer-example-cli export <file> --unit <unitId> --worktree <worktreeId>.
- Run
univer-example-cli worktree ready <worktreeId>, then
univer-example-cli open --unit <unitId> --worktree <worktreeId> --no-launch.
- 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
- SKILL.md in the repositoryCheckingexamples/04-worktree/skills/univer-content/SKILL.md
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
[](https://verified-skill.com/skills/dream-num/univer-cli-examples/univer-content)