File contents 一键创建在线文档
一键创建在线文档技能支持快速新建各类文档并自动填充内容。
本技能依赖 kdocs 技能的基础文档操作能力(认证、文件管理等),请确保已安装该技能。详见 references/core/ 目录。
能力范围
详细参考
文档类型
参考文件
说明
智能文档(otl)
references/otl_references.md
页面、文本、标题、待办等元素操作
在线文字(wps)
references/wps_references.md
Word 文档创建、导出与内容操作
表格文档/智能表格(xlsx & ksheet)
references/sheet_references.md
工作表管理、范围数据获取、批量更新
演示文稿(pptx / wpp)
references/pptx_references.md
PPT 创建与读写、字体与配色设置、下载、导出
PDF 文档(pdf)
references/pdf_references.md
PDF 创建与内容读取
多维表格(dbt)
references/dbsheet_references.md
数据表/视图/字段/记录与附件
操作指南
通用操作路由
意图
路由
读取文档内容
read_file(统一入口,按后缀自动返回 Markdown 或结构化数据)
创建/写入
create_file_with_content(统一入口,新建文档并写入内容,返回 link_url)
局部更新
改块/改段/改单元格,已有目标文档上的修改 → 按「支持的文档类型」→ 对应 reference
类型专属能力
条件格式、导出转换、翻译、PDF 拆分、幻灯片主题、数据校验
获取文件标识指南
必读 references/file-locating-guide.md
高频流程指引
创建/写入
用户意图
工具
适用后缀
对话中已有要写的内容
create_file_with_content
.otl .docx .pdf .xlsx .ksheet .dbt
上传本地已有文件
upload_file
.doc .docx .xls .xlsx .ppt .pptx .pdf .md .txt
新建空白文档(不写内容)
create_file
.doc .docx .otl .dbt .xlsx .xls .ksheet .pptx .ppt
AI 生成 PPT
aippt.execute
.pptx
后缀不确定时默认 .otl。指定文件夹时先按 references/file-locating-guide.md 取 drive_id、parent_id。
选定工具后,阅读 references/drive/create_and_upload.md 对应章节获取参数约束(aippt.execute 见 references/aippt.md)。
风险控制
以下工具不可逆,调用前必须向用户确认(详细约束见各工具参考文档的「操作约束」区):
otl.block_delete、cancel_share
工具组合速查
用户需求
推荐工具组合
创建/写入
create_file_with_content
1 --- 2 name: create-doc 3 description: 一键创建在线文档 4 --- 5 6 # 一键创建在线文档 7 8 一键创建在线文档技能支持快速新建各类文档并自动填充内容。 9 10 > 本技能依赖 `kdocs` 技能的基础文档操作能力(认证、文件管理等),请确保已安装该技能。详见 `references/core/` 目录。 11 12 --- 13 14 ## 能力范围 15 16 17 ### 详细参考 18 19 | 文档类型 | 参考文件 | 说明 | 20 |----------|----------|------| 21 | 智能文档(otl) | `references/otl_references.md` | 页面、文本、标题、待办等元素操作 | 22 | 在线文字(wps) | `references/wps_references.md` | Word 文档创建、导出与内容操作 | 23 | 表格文档/智能表格(xlsx & ksheet) | `references/sheet_references.md` | 工作表管理、范围数据获取、批量更新 | 24 | 演示文稿(pptx / wpp) | `references/pptx_references.md` | PPT 创建与读写、字体与配色设置、下载、导出 | 25 | PDF 文档(pdf) | `references/pdf_references.md` | PDF 创建与内容读取 | 26 | 多维表格(dbt) | `references/dbsheet_references.md` | 数据表/视图/字段/记录与附件 | 27 28 --- 29 30 ## 操作指南 31 32 ### 通用操作路由 33 34 | 意图 | 路由 | 35 |------|------| 36 | 读取文档内容 | `read_file`(统一入口,按后缀自动返回 Markdown 或结构化数据) | 37 | 创建/写入 | `create_file_with_content`(统一入口,新建文档并写入内容,返回 link_url) | 38 | 局部更新 | 改块/改段/改单元格,已有目标文档上的修改 → 按「支持的文档类型」→ 对应 reference | 39 | 类型专属能力 | 条件格式、导出转换、翻译、PDF 拆分、幻灯片主题、数据校验 | 按「支持的文档类型」→ 对应 reference 中的专属功能章节 | 40 | 获取文件标识指南 | **必读** `references/file-locating-guide.md` | 41 42 ### 高频流程指引 43 44 #### 创建/写入 45 46 | 用户意图 | 工具 | 适用后缀 | 47 |----------|------|----------| 48 | 对话中已有要写的内容 | `create_file_with_content` | .otl .docx .pdf .xlsx .ksheet .dbt | 49 | 上传本地已有文件 | `upload_file` | .doc .docx .xls .xlsx .ppt .pptx .pdf .md .txt | 50 | 新建空白文档(不写内容) | `create_file` | .doc .docx .otl .dbt .xlsx .xls .ksheet .pptx .ppt | 51 | AI 生成 PPT | `aippt.execute` | .pptx | 52 53 后缀不确定时默认 `.otl`。指定文件夹时先按 `references/file-locating-guide.md` 取 `drive_id`、`parent_id`。 54 55 选定工具后,阅读 `references/drive/create_and_upload.md` 对应章节获取参数约束(`aippt.execute` 见 `references/aippt.md`)。 56 57 --- 58 ## 风险控制 59 60 以下工具不可逆,调用前必须向用户确认(详细约束见各工具参考文档的「操作约束」区): 61 62 `otl.block_delete`、`cancel_share` 63 64 --- 65 66 ## 工具组合速查 67 68 | 用户需求 | 推荐工具组合 | 69 |----------|-------------| 70 | 创建/写入 | `create_file_with_content` |
infometa/workbuddyskills/tree/main/experts/kdocs-doc-butler/skills/create-doc commit 7b5a52e9d7
Frequently asked questions How do I install the Create Doc skill? Run npx skillmds@latest add infometa/create-doc in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Create Doc skill do? 一键创建在线文档 It is listed under Coding & Dev Tools on SkillMD.
Is Create Doc safe to use? This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Create Doc? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Create Doc free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Create Doc? infometa (@infometa) published this skill. Their other Agent Skills are listed on their SkillMD profile.