univer-plugin-dev
Univer Plugin Development
Build plugins against the APIs exported by the target application's installed Univer packages.
Compatibility: The checked source baseline is Univer and Univer Pro
1.0.0-beta.0. Keep release-train packages such as@univerjs/core,@univerjs/sheets,@univerjs/ui, and@univerjs-pro/*on that same exact version. Independently versioned packages such as@univerjs/iconsmust follow the target manifest instead. If the target project differs, inspect its manifests and source exports before copying an example.
Scaffold a Sheet UI plugin
Run the bundled generator:
npx tsx <skills-repo>/skills/univer-plugin-dev/scripts/scaffold-plugin.ts my-plugin --path ./packages
It creates a buildable Sheet UI plugin package. For docs, slides, bases, boards, or PDFs, first choose the product type and official core/UI plugin family in plugin-architecture.md, then adapt the generated dependencies and UniverInstanceType.