360 Secure SkillHub
360 安全技能中心

Report Generator

该 Skill 面向结构化数据生成决策型报告,支持 CSV/XLSX/JSON 或用户描述的数据集输入,按执行摘要、KPI 面板、详细分析、图表与建议的组织结构输出 HTML/PDF-ready 报告,并提供脚本、模板与图表规范作为实现资源。

plgonzalezrx8
plgonzalezrx8
热度 74.77
最近更新 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.