dream-num/univer-workspace/base
- community
Checking that the SKILL.md file is still in the repository.
Create, edit, inspect, verify, open, screenshot, import, and export remote Workspace Base Units, tables, fields, records, and views.
Install
npx vskill@latest install dream-num/univer-workspace/baseSKILL.md
Workspace Base
Load core first and use one explicit draft Worktree and Base Unit ID throughout the task.
Model
A Base is one Univer Unit:
- Resolve
FBaseby stable Unit ID. Tables own fields, records, and views; views add filter, sort,
group, visibility, and type-specific presentation over the same records.
- The primary field is the record's visible identity for links, cards, and details. Define it with
insertTable(..., { primaryFieldName }) instead of adding a duplicate label field.
- Use stable Unit/Table/Field/Record/View IDs in Facade relationships and user-facing names for
display. Record values and view config normally refer to Field IDs.
table.getFormulaName()is the structured-reference name used in formulas; it may differ from the
table's display name.
Workspace entry
Create an empty Base or stage an existing Base Resource in the task Worktree:
Creation returns server-owned unitId, resourceId, and nodeId. Use the returned unitId for every Base content command. For original-file preservation without an editable Base Unit, read the Blob Skill. Blob Resources have no unitId and cannot use this Skill's commands.
Base authoring uses the shared execute transaction. Workspace execution injects the selected FBase as base, together with univerAPI and alias api; do not redeclare them:
Do not call createBase() after unit create merely to obtain a handle. A new Base already contains Table 1 with a primary Name field and Grid; insertTable() also creates a Grid. Run inspect base first, then deliberately reuse, rename, or delete defaults.
Exact API
Use focused discovery such as uvw api find recordLink --unit base. Follow every referenced child type: if a result says card?: ICardLayoutConfig, run api show ICardLayoutConfig instead of guessing its shape.
Core contracts
- Add fields one at a time with
FBaseTable.addField(...); there is noaddFieldsmethod. - Single/MultiSelect options use
{ id, name, color? }; records store option IDs, not labels. - Progress values follow the configured range: with
{ start: 0, end: 100 }, 75% is75, not
0.75.
- Money uses
BaseFieldType.Currencyand numeric values; Number is not a semantic substitute. - RecordLink config targets a Table ID and stores target Record IDs. Prefer its dedicated Facade
methods when editing links.
- View config uses Field IDs. Kanban/Gallery card title and fields follow
ICardLayoutConfig;
fieldSettings does not replace the card contract.
Verification
After the last write, check:
uvw inspect base --worktree <worktree-id> --unit <base-id> --jsonfor tables,
primary fields, field types and config, record counts, and view types. It is read-only and accepts no selector.
- In a fresh read-only
execute, explicitlyreturnrecord values plusview.getConfig()and
view.getProjection() for stored IDs and view bindings.
- Review the required rendered views for blank labels, exposed IDs, implausible dates or
percentages, missing card fields, and empty defaults.
Base screenshots accept only common screenshot options; do not pass Sheet ranges or Slide page selectors.
Formula fields
Run uvw skills get base --full and follow references/formulas.md. Formula fields use exact Excel structured references. Await calculation and read back computed record values; stored formula text alone is not correctness evidence.
Image attachments
Create an Attachment field, add or select a record, and use record.setAttachments(). For a local image, put its data URI in source and declare sourceType: api.Enum.ImageSourceType.BASE64:
Read back record.getValues()[field.getId()] in a later execution.
Base participates in the existing Workspace Office import/export matrix. Complete calculation, structured inspection, readback, and visual verification before export. Keep merge and discard user-authorized as described by core.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingapps/cli/skill-data/base/SKILL.md
Popularity
- 7-day trend score
- 0
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-workspace/base)