/data-report
把 CSV/Excel/JSON 数据转成漂亮的可视化报告页
Claude Code
$ npx -y skills add nexu-io/html-anything --skill data-report --agent claude-code
Codex
$ npx skills add nexu-io/html-anything --skill data-report -a codex -y
Cursor
$ npx skills add nexu-io/html-anything --skill data-report -a cursor -y
Gemini CLI
$ npx skills add nexu-io/html-anything --skill data-report -a gemini-cli -y
GitHub Copilot
$ npx skills add nexu-io/html-anything --skill data-report -a github-copilot -y
OpenCode
$ npx skills add nexu-io/html-anything --skill data-report -a opencode -y
Windsurf
$ npx skills add nexu-io/html-anything --skill data-report -a windsurf -y
SKILL.md
data-report.SKILL.mdname: data-report zh_name: "数据可视化报告" en_name: "Data Visualization Report" emoji: "📊" description: "把 CSV/Excel/JSON 数据转成漂亮的可视化报告页" category: data scenario: finance aspect_hint: "桌面长页面" featured: 10 tags: ["data", "report", "chart", "数据", "报告"] example_id: sample-data-weekly-report example_name: "数据报告 · 周报" example_format: csv example_tagline: "KPI 卡 + Chart.js 图表 + 表格" example_desc: "9 个月增长数据自动渲染成可视化报告, 内联 Chart.js"
【模板: 数据可视化报告】
- 头部: 报告标题 + 时间区间 + 数据来源说明。
- KPI 卡片网格: 3-5 个最重要指标, 每个卡片显示数值 + 同比变化 + 微型趋势线。
- 主图表区: 至少 2 个图表 (柱状 / 折线 / 饼 / 散点), 使用 Chart.js 或 ECharts (jsdelivr CDN 引入), 数据从用户输入解析得到。
- **图表容器必须有固定高度**: 每个 `<canvas>` 外层包一个 `<div style="position:relative;height:NNNpx">` (KPI 迷你图 ~40px, 主图表 ~240–280px)。Chart.js 用 `responsive:true, maintainAspectRatio:false` 时若父容器没有显式高度, 会陷入 ResizeObserver 死循环, 图表无限增高直至卡死浏览器。**绝对不要**直接给 canvas 写 `height=` 属性当布局, 那个只是初始值。
- 数据表格: 用户原始数据节选, 使用 `<table>` + 现代化样式 (zebra stripe, hover, sticky header)。
- 洞察块: 3-5 条文字洞察, 用 emoji 开头, 像产品周报。
- 底部"方法论"折叠区。
- 配色克制专业: 主色 1 + 中性色阶, 图表用调色板。
- **必须解析用户提供的实际数据**, 不要捏造。
From the team behind Open Design — 40k★ · 200+ contributors, production-grade and iterating faster. html-anything is the focused agent-era HTML editor; if it clicks for you, Open Design is where the same team ships at scale.
Other skills on html-anything.
article-sketchnote-edi…
把一个概念铸成杂志专题档案——真问题→失败→转折→顿悟→命名, 6 个 layout 模具 + 4 字族对比 + 探案档案细节
More skills from other plugins.
prompt-lookup
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…
ppt-master
AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable…
morph-ppt
Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style…
frontend-slides
Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to…
Questions about data-report.
- Which coding agents can use data-report?
- data-report installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

