AGENT SKILL

code

暂无简介

适用职业开发工程师
License 许可
MIT
最近更新
2026-11-05
Stars
★ 557
Forks
62

02 资源文件 1

03 SKILL.md 正文

1. High-level Skill Pattern Extraction

Skill Name: Minimalist Micro Trend Chart

  • Tier: component
  • Core Mechanism: Creates a standalone LineChart and intentionally strips away all coordinate visual elements (axes, tick marks, gridlines, legends) and backgrounds. It leaves only a thickened data line with prominent markers to serve as a high-fidelity "sparkline" that can be freely positioned on a dashboard canvas.
  • Applicability: Perfect for KPI dashboards or executive summaries where you need to show the trend of a metric (like monthly returning customer rate or traffic source sales) tightly packed next to a headline metric, without the visual clutter of a full chart or the layout constraints of cell-bound sparklines.

2. Structural Breakdown

  • Data Layout: A 1D vertical range containing the time series values (e.g., 12 rows of monthly sales).
  • Formula Logic: Often backed by PivotTable aggregates or GETPIVOTDATA extracts that isolate a single trend series outside of a raw data table.
  • Visual Design: The chart and plot area fills and borders are removed to blend transparently into the worksheet background. The line is styled to pop, and markers (circles) are added with a contrasting inner fill.
  • Charts/Tables: LineChart sized down (e.g., 7x3.5 dimensions) with x_axis.delete and y_axis.delete set to True.
  • Theme Hooks: The line color and marker borders should consume the primary theme color or an accent color (e.g., accent1), while the marker inner fill uses the dashboard's background color (usually white or dark gray).

3. Reproduction Code

04 同仓库更多 Skills