DN

dream-num/skills

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

79 stars 质量 70 趋势 28Apache-2.0

Univer Skill使AI工具能够直接与电子表格、Excel工作簿和CSV文件协作。由Univer CLI驱动,它为电子表格带来了类似Git的差异、审核、审批和回滚功能......

概览

官方大学技能,涵盖SDK集成、Pro产品、插件和主题开发、后端处理以及CLI操作。 SDK Skills 跟踪当前的 Univer OSS 和 Pro 源代码,涵盖表格、文档、幻灯片、底座、板子和 PDF。保留现有应用的精确安装包版本,并在使用源代码新 API 前检查其导出和外观声明。 这两个 CLI 技能是独立的发现条目,而非核心/变体对:univer-cli 运行本地 .univer 文件,univer-workspace-cli 运行远程 Workspace 文件。它们从已安装的 CLI 加载版本匹配的操作技能: 只有当任务运行该应用程序时,才安装匹配的CLI: - 节点。

概述(AI 翻译)

语言:英语 |简体中文

一个用于用Univer Office SDK构建应用程序的代理技能。 build-with-univer 告诉你的编码代理哪个 Univer SDK 符合工作需求、从哪里开始、避免什么,这样就不会从陈旧的训练数据中猜测。

它涵盖的内容

你正在构建 SDK
嵌入式电子表格、文档或幻灯片编辑器 Web SDK
实时协作,支持自己的认证和存储,Office 导入/导出 服务器 SDK
一个CLI或工具,允许代理读取和编辑Office内容 AI SDK
一个绑定到实时Sheet数据的纯HTML页面 装订SDK

该技能在构建时解析包版本,绝不会阻碍对缺失的概念验证 并列出模型仍建议的已替换服务器、包和API名称。

安装

添加 -g 以实现用户级安装,或添加 -a claude-code -a codex -a opencode 以选择代理。 重新运行更新命令。

手动安装

将skills/build-with-univer复制到你的经纪人的技能目录中:

示例提示

你不需要命名Univer或技能;当任务匹配时,代理会加载它。

要求

  • Node.js和NPM
  • 访问“文档”的网络访问。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Build with Univer

Languages: English | 简体中文

An agent skill for building applications with the Univer Office SDK. build-with-univer tells your coding agent which Univer SDK fits the job, where to start, and what to avoid, so it stops guessing from stale training data.

What it covers

You are building SDK
An embedded spreadsheet, document, or slide editor Web SDK
Real-time collaboration on your own auth and storage, Office import/export Server SDK
A CLI or tool that lets agents read and edit Office content AI SDK
A plain HTML page bound to live Sheet data Binding SDK

The skill resolves package versions at build time, never blocks a proof of concept on a missing license, and lists the superseded servers, packages and API names that models still suggest.

Install

npx skills add dream-num/skills --skill build-with-univer

Add -g for a user-level install, or -a claude-code -a codex -a opencode to pick agents. Re-run the command to update.

Manual installation

Copy skills/build-with-univer into your agent’s skills directory:

git clone https://github.com/dream-num/skills.git && cd skills
mkdir -p ~/.claude/skills && cp -R skills/build-with-univer ~/.claude/skills/              # Claude Code
mkdir -p ~/.agents/skills && cp -R skills/build-with-univer ~/.agents/skills/              # Codex
mkdir -p ~/.config/opencode/skills && cp -R skills/build-with-univer ~/.config/opencode/skills/   # OpenCode
mkdir -p ~/.cursor/skills && cp -R skills/build-with-univer ~/.cursor/skills/              # Cursor

Example prompts

Embed a spreadsheet editor in this React app and read and write cells from code.
Let several people edit one spreadsheet in real time, with our own login and database.
Build a CLI my coding agent can use to inspect and edit spreadsheets and slides.
Add xlsx import and export endpoints to this Node API. We have no license yet.
Make a plain HTML dashboard that charts and edits cells in our team's spreadsheet.

You do not need to name Univer or the skill; the agent loads it when the task matches.

Requirements

  • Node.js and npm
  • Network access to docs.univer.ai and the npm registry, which the skill uses for current docs and versions

Contributing

  • The skill lives in skills/build-with-univer: SKILL.md routes, references/ holds one page per SDK plus versions and what to avoid.
  • Keep SKILL.md under 500 lines, pin no versions in the text, and run npm run validate before publishing changes.

License

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add dream-num/skills
新手?先看 mcpskill.org 教程 →