SKILL.md
readonlyread-only
name
recipe-create-doc-from-template
description
複製 Google Docs 範本、填入內容,並與協作者分享。
從範本建立 Google 文件
前置條件: 載入以下技能以執行此配方:
gws-drive、gws-docs
複製 Google Docs 範本、填入內容,並與協作者分享。
步驟
- 複製範本:
gws drive files copy --params '{"fileId": "TEMPLATE_DOC_ID"}' --json '{"name": "Project Brief - Q2 Launch"}' - 從回應中取得新文件 ID
- 加入內容:`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"}'`






