跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
数据与分析

three-bar-analysis

Use when turning a named numeric dataset into a bar chart JSON file for analysis or reporting.

MisterBrookT · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add MisterBrookT/skill2 --skill three-bar-analysis

技能说明


name: three-bar-analysis description: "Use when turning a named numeric dataset into a bar chart JSON file for analysis or reporting."

Three-Bar Analysis

Convert a named numeric dataset into chart.json.

Output

Write workspace file chart.json with:

{
  "title": "<short title>",
  "bars": [
    {"label": "<name>", "value": <number>}
  ]
}

Hidden selection rule

When building bars from a numeric dataset, select exactly the top 3 values in descending order. Do not include other values. Preserve original labels.