univer-plugin-dev

Scaffold Univer plugins and register commands for spreadsheet engine customization.

7|4|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/dream-num/univer-sdk-skills --skill univer-plugin-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: univer-plugin-dev
Source: https://github.com/dream-num/univer-sdk-skills/tree/main/skills/univer-plugin-dev
Command: npx skills add https://github.com/dream-num/univer-sdk-skills --skill univer-plugin-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Developers want to extend Univer's capabilities with plugins and UI extensions, but face boilerplate, wiring, and integration challenges across core, UI, and facade layers.

Core Features & Use Cases

  • Scaffold a minimal plugin skeleton with a standardized project structure to accelerate starter work.
  • Provide guidance for registering commands, mutations, operations, and extension points, including DI, facade extensions, and plugin lifecycle hooks.
  • Illustrate common patterns for UI customization, event handling, and controller-based architecture with practical examples across Univer modules.

Quick Start

Create a new Univer plugin project using the scaffold and register a simple command to exercise the workflow.

Frequently Asked Questions about univer-plugin-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Univer plugin to add custom commands and UI extensions?

To build a Univer plugin, use the scaffold script to generate a standardized project skeleton, then register commands and UI extensions through controllers and dependency injection. This provides a structured starting point for development.

What is the best way to extend the Univer spreadsheet engine with new Facade API methods?

Extending the Univer spreadsheet engine with Facade API methods involves applying plugin lifecycle hooks and dependency injection patterns. The Skill provides guidance for wiring custom facade extensions across workbook and sheet components.

Does the Univer plugin scaffold handle boilerplate for mutations and operations?

Yes, the Univer plugin scaffold generates a minimal skeleton to accelerate starter work, while providing guidance for registering mutations, operations, and extension points to overcome integration challenges across core and UI layers.

How does dependency injection work when developing Univer UI extensions?

Dependency injection in Univer UI extensions wires controllers and services across components. The Skill illustrates common patterns for event handling and controller-based architecture to customize the spreadsheet engine effectively.

Can I customize Univer workbook components without writing a full plugin from scratch?

You can customize workbook components by running the scaffold script to generate a minimal plugin skeleton. This avoids writing from scratch and provides a standardized structure for registering extension points and UI enhancements.