360 Secure SkillHub
360 安全技能中心

Report Generator

核心功能:从CSV/Excel/JSON文件或用户描述的数据集,生成含执行摘要、KPI仪表盘、可视化图表、分析建议的规范报告,自动计算营收、订单量等默认KPI。典型场景:月度/周度KPI报告、销售/绩效总结、高管简报等。输入为结构化数据文件或数据集描述,输出HTML/PDF就绪的专业报告,注重业务可读性,会校验数据一致性并标注脏数据。

plgonzalezrx8
plgonzalezrx8
热度 74.79
最近更新 2026-05-11 17:27:50
分类:数据依赖:代码执行 / 读写文件 / 内部调用大模型应用场景:数据处理 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add report-generator-pedro
Metadata
name
report-generator
description
Generate professional data reports (HTML/PDF-ready) with KPI summaries, charts, tables, executive insights, and recommendations from CSV, Excel, or JSON data. Use when asked to create dashboards, monthly/weekly KPI reports, sales/performance summaries, executive briefs, or analytical reports with visualizations.

Report Generator

Overview

Create clean, decision-ready reports from structured data files or user-described datasets. Prioritize business readability: clear KPIs, trend visuals, concise narrative insights, and practical recommendations.

Workflow

  1. Validate input data source (CSV/XLSX/JSON or user-provided schema description).
  2. Identify report goal and audience (executive summary vs operational detail).
  3. Compute KPIs and trends relevant to the goal.
  4. Generate visuals (bar + line at minimum; add breakdown charts as needed).
  5. Produce formatted report sections in this order:
    • Executive summary
    • KPI dashboard
    • Detailed analysis
    • Charts/tables
    • Recommendations
  6. Sanity-check numbers and narrative consistency before returning deliverable.

Report Blueprint

Use this canonical structure unless user asks otherwise:

report = {
    "title": "Monthly Sales Report",
    "period": "January 2024",
    "sections": [
        "executive_summary",
        "kpi_dashboard",
        "detailed_analysis",
        "charts",
        "recommendations",
    ],
}

KPI Defaults

Use these by default when fields exist; adapt names via user mapping when needed:

  • Revenue total / average
  • Order count and average order value
  • Growth rate (period-over-period)
  • Top category/product/customer by contribution
  • Trend direction (up/down/flat)

Output Rules

  • Keep narrative concise and business-facing.
  • Highlight 3-5 key findings max in executive summary.
  • Flag missing/dirty data explicitly.
  • Never claim causality without supporting data.

Implementation Resources

  • Use scripts/generate_report.py for deterministic report generation.
  • Use references/report-templates.md for section templates and phrasing patterns.
  • Use references/chart-guidelines.md for chart selection and formatting standards.