Office Lab

A GitHub-style collaboration workflow for Office content: connect requirements, Issues, pull requests, native review, prototypes and delivery plans in one Workspace repository.

Office Lab brings the repository workflow to everyday product work. Built on Univer Office SDK through Workspace’s Repo mode, it puts requirements, spreadsheets, interactive prototypes, Issues and pull requests into one shared project. A teammate can see what was requested, what changed, and what is ready to use.

Picture a product manager and an engineer shaping a team invitation flow. Their agents prepare and inspect the material; the people discuss behavior, review the changes and decide what to deliver. The working context stays with the project as the conversation moves forward.

One project, two perspectives · Turn a finding into an actionable Issue · Review the content with Worktree and Compare · Generate, publish and manage the Web App · Try Office Lab

The screenshots were captured in the live cloud Workspace with fictional English case data. They illustrate the repository workflow; the two named agents are a suggested collaboration setup.

One project, two perspectives

The Team Invitations case starts with a small, recognizable problem: invite a teammate, select a role and understand whether the invitation succeeded. A duplicate pending email becomes the improvement that connects the prototype, acceptance criteria, analytics and delivery schedule.

RoleAgent of their choiceContribution
Maya · ProductCodex, for exampleDefine the experience, requirements, acceptance criteria and tracking plan; review the result.
Alex · EngineeringClaude Code, for exampleInspect the requirements and prototype, raise an Issue, prepare revisions and verify behavior.
Project materialWhat it contributes
Product brief · DocPurpose, invitation rules, acceptance criteria and release gate.
Tracking plan · DocEvent triggers, properties and measurement rules.
Event catalog · SheetA structured inventory of events, owners and readiness.
Delivery schedule · SheetWorkstreams, owners, dates, progress and estimates.
Invite Prototype / Team Access Console · Web AppA working invitation form that the team can try directly.
100%

Browse the repository and its working material

Open the Team Space in Repo mode. Code brings the editable documents and application files together; search, preview a file, or return to the project without losing its context. Issues, Pull requests, Pages and Settings are next to the material they concern.

Repo mode is another view of the same Workspace Space, using its content and permissions. The repository homepage can also preview a selected Web App, so the project opens with something the team can use as well as read.

Turn a finding into an actionable Issue

Alex tries the prototype and identifies an unclear duplicate-invitation path. Prevent duplicate invitations records the expected message, the blocked-invite event and the QA follow-up. Linked files bring the product brief, tracking plan, event catalog and schedule into the discussion.

Use descriptions, comments, assignees and labels to make the next action clear. Issues belong to Team Spaces. An agent can read the same task and its linked material through Workspace CLI, then return with a concrete proposal. Feedback stays in the Issue or on the relevant document.

Propose a change through a pull request

A PR presents a Workspace Worktree as a reviewable proposal. Create a task draft, add the existing documents it needs, make the changes and mark it Ready. The proposal has its own title, summary, author, state and changed-file list; shared content remains available while the draft is refined.

The captured PR adds invite_duplicate_blocked to the event catalog and extends QA in the delivery schedule. Its summary references Issue #1. Product and engineering can work in separate drafts, make them visible to permitted reviewers and use the same source material to check each other’s work.

Review the content with Worktree and Compare

Start with the summary, then open Files changed. View shows the editable-content result in a read-only review; Compare shows the official version alongside the proposed revision with a navigable change list. Inspect the event name, trigger, owner and scheduling impact in their native Office context.

Worktree isolates the task’s changes; Compare exposes differences using the content model, snapshots and changesets. A person can request a revision or confirm the merge when authorized. In this captured example, the two-file PR remains Ready and unmerged.

Review the delivery impact too

The same PR extends Usability and QA from November 9 to November 10 and increases its estimate from two to three days. Review the owner, dates and status alongside the event change, so the acceptance decision includes the work needed to ship it.

Generate, publish and manage the Web App

The prototype is a live HTML View. Open Pages to find the project’s published Web Apps, visit the page, copy its address or choose the homepage preview. The selected default page is a preference of the current browser. File organization and access stay with Workspace.

The invitation prototype grows into Team Access Console: a member and role directory, status filters, search, invitation and cancellation, recent activity, acceptance criteria and session event counters in one page. A new sample email updates both the list and pending count; duplicate invitations are blocked. Data stays in memory, with no email or analytics requests. A product manager can test the behavior and turn a finding into an Issue.

Native Office changes go through Worktree review and merge. HTML View publication uses its own save and authorization flow; this example publishes the prototype separately from the pending document PR. To connect a Web App to live Office data, explore Binding, which is experimental.

Try the interactive prototype

Give the team a clear collaboration boundary

Settings brings the repository name, description and visibility together with collaborator management and Trash. Owners and administrators organize access; file editing, review and merge actions follow the current user’s effective permissions. A project link respects those permissions.

Keep the release decision explicit: the product manager checks the experience and acceptance criteria; engineering checks implementation and measurement; an authorized person merges the Office changes, verifies the published prototype and closes the Issue when the work is complete.

Try Office Lab

  1. Sign in to the cloud Workspace, or open your private deployment. Create or open a Team Space.
  2. Open Application settings → Page theme → Repository (experimental). This changes the view of the same Space; the preference is saved only in this browser.
  3. Browse documents in Code, follow work in Issues, review changes in Pull requests, and open published Web Apps in Pages.

To work with your own agent, follow the Workspace CLI setup. Each agent uses its user's authorized account. The tasks below give you a workflow to reproduce.

1. Product: establish the shared context

text
In the Team Invitations Team Space, prepare an English product brief, tracking plan, event catalog and delivery schedule. Create an interactive invitation prototype as a Web App preview. Include owners, dates and clear acceptance criteria. Keep native Office changes in a Worktree, verify the content and return review links. Ask before merging or publishing the prototype.

2. Engineering: propose a focused improvement

text
Read the Team Invitations requirements, event catalog, schedule and prototype. Inspect duplicate pending invitations. Create an Issue with reproduction steps and expected behavior. Propose the native document changes in a separate Worktree and prepare the prototype update using its own publication flow. Verify the result, reference the Issue in the PR summary, and wait for human review.

3. Product review: connect the changes to acceptance

text
Review the proposed Team Invitations PR and inspect the native changes with Compare. Check the duplicate-invite event, acceptance criteria and QA schedule; try the prototype. Record any missing behavior in the Issue and ask the author to revise. Summarize what is ready and what is pending. Do not merge or publish until I approve.

Build on the same SDK and Skills

Both agents can use the same version-matched Workspace CLI Skills: core for discovery and Worktrees, doc and sheet for requirements and plans, and html-view for the prototype. Each agent can read the other’s accessible material and Issue feedback; people retain the final delivery decision.

Web SDK supplies the content models, editors and Headless operations; Server SDK supports collaboration, versions and Worktrees; AI SDK supplies content operations and inspection. Workspace adds the project, identity, Issues, repository views and publishing workflow. Reuse that composition to build a product lab, research workspace or internal delivery hub.

Explore Workspace · Source repository · All examples

How is this guide?

© 2026 DreamNum Co., Ltd.