Consolidates market and data analysis skills; adds chart viz (#36)

Unifies market analysis, data analysis, and consulting reporting into a comprehensive consulting-analysis skill, enabling a two-phase workflow from analysis framework design to professional report generation. Introduces a DuckDB-based data analysis utility for Excel/CSV files and a chart-visualization skill with a flexible JS interface and extensive chart type documentation. Removes the legacy market analysis skill to streamline report generation and improve extensibility for consulting and data-driven workflows.
This commit is contained in:
JeffJiang
2026-02-12 11:08:09 +08:00
committed by GitHub
parent 300e5a519a
commit 4d5fdcb8db
33 changed files with 2326 additions and 206 deletions

View File

@@ -0,0 +1,25 @@
# generate_dual_axes_chart — 双轴图
## 功能概述
在同一画布上叠加柱状与折线(或两条不同量纲曲线),用于同时展示趋势与对比,如营收 vs 利润、温度 vs 降雨。
## 输入字段
### 必填
- `categories`: string[],按顺序提供 X 轴刻度(如年份、月份、品类)。
- `series`: array<object>,每项至少包含 `type``column`/`line`)与 `data`number[],长度与 `categories` 一致),可选 `axisYTitle`string描述该系列 Y 轴含义。
### 可选
- `style.backgroundColor`: string自定义背景色。
- `style.palette`: string[],配置多系列配色。
- `style.texture`: string默认 `default`,可选 `default`/`rough`
- `theme`: string默认 `default`,可选 `default`/`academy`/`dark`
- `width`: number默认 `600`
- `height`: number默认 `400`
- `title`: string默认空字符串。
- `axisXTitle`: string默认空字符串。
## 使用建议
仅在确有不同量纲或图例对比需求时使用;保持系列数量 ≤2 以免阅读复杂;若两曲线差值巨大可使用次坐标轴进行缩放。
## 返回结果
- 返回双轴图图像 URL并随 `_meta.spec` 给出详细参数。