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

recipe-generate-report-from-sheet

它能做什么

这个工具可以把 Google Sheets 中的信息整理成格式规范的 Google Docs 文档。就像把表格里的数据复制出来,粘贴进一份漂亮的报告里。

适用场景

  • ✓当你需要把原始的表格数据变成美观的报告时。
  • ✓当你要制作销售汇总、任务列表,或者任何需要清晰呈现的信息时。
  • ✓当你要与没有表格访问权限的人分享重要数据时。

技能链接

https://github.com/googleworkspace/cli/blob/main/skills/recipe-generate-report-from-sheet/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“根据我的“Q1 销售”表格生成一份销售报告,并保存为“Q1 报告”。”

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

工作原理

工具会先读取指定表格中的数据,然后在 Google Docs 中新建一份文档,把读取到的数据插入进去,并排版成报告的样式。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Generate a Google Docs Report from Sheet Data

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

Read data from a Google Sheet and create a formatted Google Docs report.

Steps

  1. Read the data: gws sheets +read --spreadsheet SHEET_ID --range "Sales!A1:D"
  2. Create the report doc: gws docs documents create --json '{"title": "Sales Report - January 2025"}'
  3. Write the report: `gws docs +write --document-id DOC_ID --text '## Sales Report - January 2025

Summary

Total deals: 45 Revenue: $125,000

Top Deals

  1. Acme Corp - $25,000
  2. Widget Inc - $18,000'`
  3. Share with stakeholders: gws drive permissions create --params '{"fileId": "DOC_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "cfo@company.com"}'
常见问题

表格里的数据需要是特定格式吗?

不需要。工具可以读取任何 Google Sheets 中的数据。你只需要确保要放进报告的数据位于表格的某个特定区域即可。

我可以选择报告中数据的位置吗?

可以。你可以指定要读取表格中的哪些数据,以及它们在报告中如何呈现。

报告生成之后会怎样?

报告会保存在你的 Google Drive 中,你可以分享给同事或经理等人。

详情

作者的原始描述

Read data from a Google Sheet and create a formatted Google Docs report.

repo: googleworkspace/cli

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能