recipe-create-doc-from-template

recipe-create-doc-from-template

熱門

複製 Google Docs 範本、填入內容,並與協作者分享。

2.7萬星標
1669分支
更新於 2026/3/31
SKILL.md
readonlyread-only
name
recipe-create-doc-from-template
description

複製 Google Docs 範本、填入內容,並與協作者分享。

從範本建立 Google 文件

前置條件: 載入以下技能以執行此配方:gws-drivegws-docs

複製 Google Docs 範本、填入內容,並與協作者分享。

步驟

  1. 複製範本:gws drive files copy --params '{"fileId": "TEMPLATE_DOC_ID"}' --json '{"name": "Project Brief - Q2 Launch"}'
  2. 從回應中取得新文件 ID
  3. 加入內容:`gws docs +write --document-id NEW_DOC_ID --text '## Project: Q2 Launch

Objective

Launch the new feature by end of Q2.' 4. 與團隊分享:gws drive permissions create --params '{"fileId": "NEW_DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "team@company.com"}'`