跳到正文
Skillpedia
写作32k · #9242

recipe-share-doc-and-notify

它能做什么

这个工具可以把 Google 文档分享给其他人,并授予他们编辑权限,同时还会通过邮件把文档链接发给他们。

适用场景

  • ✓想和朋友一起编辑一份菜谱时。
  • ✓和同事协作处理工作文档时。
  • ✓分享一份文字草稿,请大家提出修改意见时。

技能链接

https://github.com/googleworkspace/cli/blob/main/skills/recipe-share-doc-and-notify/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/googleworkspace/cli/blob/main/skills/recipe-share-doc-and-notify/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“把“BBQ Ideas”文档分享给我的朋友 John,并给他发一封带链接的邮件。”

每周 5 个新技能,1 分钟读完。

工作原理

首先,这个工具会找到你指定的文档。然后,它把编辑权限授予你指定的人。最后,它发送一封包含链接的邮件,让大家都能打开文档。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Share a Google Doc and Notify Collaborators

PREREQUISITE: Load the following skills to execute this recipe: gws-drive, gws-docs, gws-gmail

Share a Google Docs document with edit access and email collaborators the link.

Steps

  1. Find the doc: gws drive files list --params '{"q": "name contains '\''Project Brief'\'' and mimeType = '\''application/vnd.google-apps.document'\''"}'
  2. Share with editor access: gws drive permissions create --params '{"fileId": "DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "reviewer@company.com"}'
  3. Email the link: gws gmail +send --to reviewer@company.com --subject 'Please review: Project Brief' --body 'I have shared the project brief with you: https://docs.google.com/document/d/DOC_ID'
常见问题

我需要安装 Google 文档吗?

不需要。你只需要一个 Google 账号,并且文档要保存在你的 Google 云端硬盘中。

我可以只给对方查看权限吗?

这个工具授予的是编辑权限。如果只想让对方查看,需要使用另外的命令。

如果对方没有 Google 邮箱会怎样?

工具会把邮件发到你提供的地址。只要地址有效,无论对方用哪家邮箱服务,都能收到链接。

详情

作者的原始描述

Share a Google Docs document with edit access and email collaborators the link.

repo: googleworkspace/cli

热度

GitHub 星标
32k
排名
#9242
许可证
Apache-2.0
更新时间
2026/10/6

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能