返回 Skill 列表
数据分析进阶
数据可视化 Skill
根据数据自动选择最佳图表类型,生成美观的交互式图表。
📋 SKILL.md 完整代码
--- name: dataviz-skill description: >- 根据数据自动选择最佳图表类型,生成美观的交互式图表。 Use when working on dataviz skill tasks. allowed-tools: Read,Write,Bash --- # 数据可视化 Skill ## Quick Start 1. Save as `~/.claude/skills/dataviz-skill/SKILL.md` 2. Restart Claude Code 3. Type `/dataviz-skill` or describe your task naturally 4. Claude auto-triggers when your task matches the description ## Instructions - Understand the user's specific context and needs - Apply domain best practices consistently - Provide actionable, specific guidance with examples - Verify all outputs before presenting to user ## Gotchas - Test with a fresh Claude instance after changes - Keep SKILL.md under 500 lines; use references/ for details - Description is the trigger key — make it specific and keyword-rich
🚀 怎么用
1. 复制上面的 SKILL.md 代码 2. 保存为 ~/.claude/skills/dataviz-skill/SKILL.md 3. 重启 Claude Code 4. 输入 /dataviz-skill 或直接描述任务触发 5. AI 自动按 Skill 流程执行
图表选择指南
趋势→折线图。对比→柱状图。占比→饼图/环形图。分布→散点图/直方图。关系→气泡图。地理→地图。仪表盘→组合多个图表。AI 根据数据类型和问题自动推荐,不需要你自己想用什么图。