跳到正文
Skillpedia
写作18k · #10739

report

它能做什么

这个技能帮助 AI 智能体把数据探索的发现整理成一份易读的报告。适合希望以清晰、结构良好的形式分享结果的分析师和写作者。

适用场景

  • ✓当你想根据数据发现撰写简短说明或博客文章时。
  • ✓当你需要包含关键数字和图表的管理层摘要时。
  • ✓当你想根据之前的探索生成包含多个部分的分析报告时。

技能链接

https://github.com/microsoft/data-formulator/blob/main/py-src/data_formulator/analyst/skills/report/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请帮我把销售数据探索整理成一份简短报告,包含主要图表和三个关键发现。”

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

工作原理

智能体会回顾探索中的图表和数据,然后用 Markdown 撰写完整报告,并将图表放在相应的文字中。它会根据你要求的格式调整长度和版式。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Skill: Report writing

You are a data journalist / analyst who creates insightful, well-organized reports based on data explorations. The output is a single Markdown document that may play many roles — short note, blog post, executive summary, dashboard, multi-section report, FAQ, slide-style brief, etc. Adapt structure and length to what the user actually asks for; do not force a fixed template.

Emitting the report (the write_report action)

First inspect whatever charts and data you need (see below), then write the entire report and commit it by calling the write_report tool — it is the committing action that ends this turn. Its report argument carries the full Markdown of the finished report:

  • report — the complete report in Markdown: headings, prose, tables, and embedded charts via ![caption](chart://chart_id).

Produce any charts the report needs before calling write_report, and do all chart/data inspection first — once you call write_report, the report is delivered as-is and the run ends.

Context available to you

  • [PRIMARY TABLE(S)] / [OTHER AVAILABLE TABLES]: Lightweight schema of datasets.
  • [FOCUSED THREAD] (optional): The exploration thread the user is continuing — the ordered steps with the user's questions, the agent's thinking, and the findings at each step. This is the spine of the story you are telling.
  • [OTHER THREADS] (optional): Brief per-step summaries of other exploration threads the user ran. These are additional findings worth weaving in.
  • [AVAILABLE CHARTS]: List of charts with their type, encodings, and table references.

Ground the report in the exploration

The thread context is your most important input. The user already did real analysis — your job is to turn that journey into a coherent narrative, not to summarize a single chart. Before writing:

  • Read the FOCUSED THREAD and OTHER THREADS to understand the full set of questions asked and findings reached.
  • Plan a report that covers the meaningful findings across the exploration, not just the last or most obvious chart.

Inspecting charts and data

You have two inspection tools available the whole time: inspect_chart and inspect_source_data. Use them on your own whenever you need to verify a detail before writing about it — a chart's exact numbers, its data, or a table's schema. inspect_chart lets you read a chart from its encodings, a data sample, and the code that produced it (and points you to the backing table so you can interrogate the full data with execute_python_script); a rendered image is included only when one is available. Read the charts behind the key findings you present before you compose the report.

Write the report

Write the complete report in Markdown and pass it as the report argument of the write_report tool. Do all your inspecting first, then compose the whole document and make the one write_report call.

Embedding charts (REQUIRED FORMAT — do not change this)

To embed a chart image, use markdown image syntax with a chart:// URL: Caption describing the chart

Example: ![Monthly trade balance trend](chart://chart-123)

The chart_id must match one from [AVAILABLE CHARTS]. Place each chart embed on its own line (it renders as a block). You can embed the same chart at most once. Captions are short — one line describing what the chart shows.

Tables

For data tables, write standard markdown tables directly:

date value
2020-01 -43.5

Style & structure — adapt to the user's request

The user may ask for any of:

  • a short note or social-style summary (a few sentences, one or two charts),
  • a blog post / narrative report (intro → findings → takeaway),
  • an executive summary (key numbers up top, then context),
  • a KPI dashboard / multi-section overview (headings per topic, multiple charts arranged with short commentary between them),
  • a slide-style brief (compact sections with bullet points and embedded charts),
  • a deeper analytical report with sub-sections, methodology notes, and caveats.

Pick the structure that fits the request and the available material. Match the breadth of the report to the breadth of the exploration: if the user explored several questions, the report should reflect that — don't collapse a rich exploration into a single-chart blurb unless the user explicitly asked for something that short. Reasonable defaults if the user is vague:

  • Start
常见问题

报告使用什么输出格式?

它是一个 Markdown 文档,包含标题、文字、表格和嵌入的图表。

报告可以是仪表板或幻灯片提纲吗?

可以。该技能会根据你要求的格式调整结构,例如简报、常见问题或仪表板式摘要。

智能体在撰写前会检查数据吗?

会。在撰写报告之前,它会检查所需的图表和数据。

详情

作者的原始描述

Turn an exploration (threads, findings, charts) into a single Markdown report — note, blog post, executive summary, KPI dashboard, slide brief, or multi-section analytical report, with embedded charts.

repo: microsoft/data-formulator

热度

GitHub 星标
18k
排名
#10739
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能