recipe-create-doc-from-template
它能做什么
这个工具可以复制一个 Google 文档模板,填入你的信息,然后分享给其他人。它非常适合快速创建格式统一的文档。
适用场景
- ✓基于已有模板创建新文档时。
- ✓与团队分享文档、共同协作时。
- ✓自动化创建重复性文档时。
技能链接
https://github.com/googleworkspace/cli/blob/main/skills/recipe-create-doc-from-template/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“基于 '项目简报' 模板创建一份项目简报文档,并分享给市场团队。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会先复制一份你的模板文档,然后加入你指定的文字内容,最后把编辑权限授予你选择的人。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Create a Google Doc from a Template
PREREQUISITE: Load the following skills to execute this recipe:
gws-drive,gws-docs
Copy a Google Docs template, fill in content, and share with collaborators.
Steps
- Copy the template:
gws drive files copy --params '{"fileId": "TEMPLATE_DOC_ID"}' --json '{"name": "Project Brief - Q2 Launch"}' - Get the new doc ID from the response
- Add content: `gws docs +write --document-id NEW_DOC_ID --text '## Project: Q2 Launch
Objective
Launch the new feature by end of Q2.'4. Share with team:gws drive permissions create --params '{"fileId": "NEW_DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "team@company.com"}'`
常见问题
什么是“模板文档”?
模板文档是你用来创建其他文档的基础文件,它已经包含了你想要的格式和基本内容。
我需要安装 Google 文档吗?
不需要,你只要有一个 Google 账号,并能访问你的文档就可以了。
可以分享给任何人吗?
可以,只要对方有电子邮件地址,并且你拥有相应的权限,就能分享给他。
详情
作者的原始描述
Copy a Google Docs template, fill in content, and share with collaborators.
repo: googleworkspace/cli
热度
- GitHub 星标
- 32k
- 排名
- #9214
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/6
评论
- …