showdan-column-chart
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "showdan-column-chart" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-dd97af0bb365ea937d79f5022221ed462f30b45c5f7fdb34573384c427e70691. Verify the upstream source and version against https://skillhub.cn/skills/user_2d4b45bb/tongbaobiaogedanliezhuzhuang before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A single-column vertical bar chart template for showcasing performance or user shares. Converts a set of categorical business data (e.g., channel performance, member contributions, product sales) into a single-column bar chart for use in showcases, leaderboards, and dashboards. Trigger terms include “share chart”, “single-column bar chart”, “performance bar chart”, and “leaderboard bar chart”.
Introduction source: third_party · user_2d4b45bb · 1.0.1 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Limits and differences
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: showdan-column-chart
description: 晒单/业绩展示单列柱状图模板。适用于将业务数据(如各渠道业绩、各成员贡献、各产品销量等)生成为单列柱状图(纵向柱状图),用于晒单、排行榜、数据看板等展示场景。当用户提到"晒单图"、"单列柱状图"、"业绩柱状图"、"排行榜柱状图"或需要将一组分类数据生成为柱状对比图时使用此技能。晒单单列柱状图模板
描述
将用户提供的数据(Excel、CSV 或手动输入的表格数据)生成为一张精美的单列柱状图(纵向柱状图),用于晒单、业绩展示、排行榜等场景。支持自定义配色、标题、尺寸等样式参数。
使用场景
- 用户需要制作"晒单"类柱状图(如 007 七大机制晒单)
- 用户需要将一组分类数据展示为纵向柱状对比图
- 用户需要制作业绩排行榜、贡献排行等可视化图表
- 用户上传 Excel/CSV 数据并要求生成柱状图
- 用户要求在已有模板基础上修改调整后生成新图
工作流程
第一步:理解用户需求
与用户确认以下信息:
- 数据来源:用户提供 Excel/CSV 文件,还是手动输入数据?
- 图表标题:柱状图的标题是什么?(如"007七大机制晒单")
- X 轴(类别):哪个字段作为类别轴?(如人名、渠道名、产品名等)
- Y 轴(数值):哪个字段作为数值轴?(如业绩金额、订单数等)
- 是否需要排序:默认按数值从高到低排序(排行榜风格),还是按原始顺序?
- 样式偏好(可选):配色方案、背景色、是否有特殊主题需求?
第二步:读取并处理数据
- 如果用户上传了 Excel/CSV 文件,使用
data-analysis或脚本读取数据 - 如果用户手动提供数据,直接使用用户提供的数据
- 提取所需的 category(类别)和 value(数值)字段
第三步:调用柱状图生成脚本
使用 chart-visualization 技能中的 generate_column_chart 生成图表。
默认参数配置:
{
"tool": "generate_column_chart",
"args": {
"data": [
{ "category": "类别1", "value": 100 },
{ "category": "类别2", "value": 80 },
{ "category": "类别3", "value": 60 }
],
"title": "图表标题",
"group": false,
"stack": false,
"theme": "default",
"style": {
"backgroundColor": "#ffffff",
"palette": ["#FF6B6B", "#4ECDC4", "#45B7D1", "#FFA07A", "#98D8C8", "#F7DC6F", "#BB8FCE"]
},
"width": 800,
"height": 500
}
}
调用命令:
node /data/user/skills/chart-visualization/scripts/generate.js '<payload_json>'
第四步:返回结果
向用户返回:
- 生成的柱状图图片
- 使用的完整
args参数(方便用户下次在此基础上调整)
第五步(可选):基于反馈迭代调整
如果用户要求修改,可调整以下参数后重新生成:
style.palette:更换配色方案title:修改标题width/height:调整尺寸style.backgroundColor:更换背景色style.texture:切换为rough手绘风格(default为标准风格)theme:切换主题(default/academy/dark)- 数据排序方式
模板变体示例
排行榜风格(默认推荐)
- 按数值从高到低排序
- 使用渐变或区分度高的配色
- 标题突出,如"XX 业绩排行榜"
晒单对比风格
- 适合多组数据对比(如不同渠道、不同成员)
- 每根柱子用不同颜色区分
- 标题如"007 七大机制晒单"
深色主题风格
theme设为"dark"- 配合深色背景的配色方案
注意事项
- 单列柱状图不使用
group分组(group设为false) - 不使用堆叠(
stack设为false) - 当类别较多(超过 12 个)时,建议取 Top-N 或进行聚合
- 图表宽度建议 800-1200px,高度建议 400-600px,确保可读性
- 中文字符在图表中需要确保字体支持,推荐使用系统默认字体
示例
输入示例
用户说:"帮我做一个007七大机制晒单柱状图,数据如下:
- 机制A: 350
- 机制B: 280
- 机制C: 220
- 机制D: 190
- 机制E: 150
- 机制F: 120
- 机制G: 90"
对应参数
{
"tool": "generate_column_chart",
"args": {
"data": [
{ "category": "机制A", "value": 350 },
{ "category": "机制B", "value": 280 },
{ "category": "机制C", "value": 220 },
{ "category": "机制D", "value": 190 },
{ "category": "机制E", "value": 150 },
{ "category": "机制F", "value": 120 },
{ "category": "机制G", "value": 90 }
],
"title": "007七大机制晒单",
"group": false,
"stack": false,
"style": {
"palette": ["#FF6B6B", "#4ECDC4", "#45B7D1", "#FFA07A", "#98D8C8", "#F7DC6F", "#BB8FCE"]
},
"width": 800,
"height": 500
}
}
输出
生成一张纵向柱状图图片,各柱子从左到右按数据顺序排列,每根柱子使用不同颜色,顶部显示图表标题。
Current listing version
1.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供晒单/业绩展示单列柱状图生成功能,适用于业务数据可视化、排行榜展示等明确场景
- 支持多种数据来源(Excel/CSV/手动输入)和样式自定义,实用性强
Highlights
- 触发词覆盖全面,包括"晒单图"、"单列柱状图"、"业绩柱状图"、"排行榜柱状图"等,边界清晰
Highlights
- 文档结构完整,包含使用场景、工作流程、模板变体、注意事项和完整示例
- frontmatter 完整,步骤划分清晰,有端到端示例
Areas to improve
-
异常处理机制未明确说明 Reported severity: Minor
未说明数据格式错误、文件读取失败等常见异常的应对策略
Recommendation: 建议在注意事项或工作流程中补充常见异常的处理建议,如数据格式校验、错误提示等
Highlights
- 调用 chart-visualization 技能工具,参数配置完整,覆盖主要样式调整需求
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.