Chuyển đến nội dung
Skillpedia
Viết lách18k · #10739

report

Skill này làm gì

Skill này giúp agent AI viết lại các phát hiện từ một lần khám phá dữ liệu thành một báo cáo dễ đọc. Skill dành cho nhà phân tích và người viết muốn kết quả được chia sẻ dưới dạng rõ ràng, có tổ chức.

Khi nào nên dùng

  • ✓Khi bạn muốn một ghi chú ngắn hoặc bài blog dựa trên các phát hiện từ dữ liệu.
  • ✓Khi bạn cần một bản tóm tắt điều hành với các con số chính và biểu đồ.
  • ✓Khi bạn muốn một báo cáo phân tích nhiều phần được xây dựng từ một lần khám phá trước đó.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/microsoft/data-formulator/blob/main/py-src/data_formulator/analyst/skills/report/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể biến phân tích doanh số của chúng tôi thành một báo cáo ngắn với các biểu đồ chính và ba phát hiện quan trọng không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent xem lại các biểu đồ và dữ liệu từ lần khám phá, rồi viết toàn bộ báo cáo bằng Markdown với biểu đồ được đặt trong văn bản. Nó điều chỉnh độ dài và bố cục theo định dạng bạn yêu cầu.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Báo cáo dùng định dạng đầu ra nào?

Đó là một tài liệu Markdown duy nhất có tiêu đề, văn bản, bảng và biểu đồ nhúng.

Báo cáo có thể là bảng điều khiển hoặc bản trình chiếu không?

Có. Skill điều chỉnh cấu trúc theo định dạng bạn yêu cầu, như bản tóm tắt ngắn, FAQ hoặc tổng quan kiểu bảng điều khiển.

Agent có kiểm tra dữ liệu trước khi viết không?

Có. Nó kiểm tra các biểu đồ và dữ liệu cần thiết trước khi viết báo cáo.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
18k
Vị trí xếp hạng
#10739
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự