Skip to content

recipe-create-doc-from-template

Template-based Google Doc creation with automated content population and team sharing.

— (0 ratings) 32.5K downloads googleworkspace
$ npx skills add https://github.com/googleworkspace/cli --skill recipe-create-doc-from-template

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Template-based Google Doc creation with automated content population and team sharing.

  • Requires gws-drive and gws-docs skills; uses Google Workspace APIs for file operations and document editing
  • Workflow: copy a template doc, populate it with structured content via the docs API, then grant collaborator access through drive permissions
  • Supports markdown-style content insertion and granular permission assignment (writer, editor roles, user/group targeting)

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 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"}'`


Installs: 32.5K | GitHub stars: 32.6K | First seen: Mar 4, 2026

Related skills

New

Testing

grill-with-docs

Relentless design interrogation that stress-tests plans against your domain model and sharpens terminology inline.

New • 1.4M
New

Writing & content

setup-matt-pocock-skills

Configuration scaffold for engineering skills to locate issue tracker, triage labels, and domain documentation.

New • 1.2M
New

AI & LLMs

domain-modeling

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

New • 1M