技能 效率工具 创建文档模板

创建文档模板

v20260401
recipe-create-doc-from-template
自动复制 Google 文档模板,填充项目内容并通过 Drive 权限与协作者共享,快速生成项目简报。
获取技能
97 次下载
概览

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

  1. Copy the template: gws drive files copy --params '{"fileId": "TEMPLATE_DOC_ID"}' --json '{"name": "Project Brief - Q2 Launch"}'
  2. Get the new doc ID from the response
  3. Add content: `gws docs +write --document-id NEWDOCID --text '## Project: Q2 Launch

Objective

Launch the new feature by end of Q2.'`

  1. Share with team: gws drive permissions create --params '{"fileId": "NEW_DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "team@company.com"}'
信息
分类 效率工具
名称 recipe-create-doc-from-template
版本 v20260401
大小 1KB
更新时间 2026-04-08
语言