AGENT SKILL
code
暂无简介
适用职业开发工程师
- License 许可
- MIT
- 最近更新
- 2026-11-05
- Stars
- ★ 557
- Forks
- 62
02 资源文件 4
- 参考文档osgi-config-patterns.md4.3 KB
- 脚本skill.py—
- 参考文档test-patterns.md4.7 KB
- 参考文档wiring-and-verification.md2.4 KB
03 SKILL.md 正文
1. High-level Skill Pattern Extraction
Skill Name: Dynamic KPI Dashboard Workbook
- Tier: archetype
- Core Mechanism: A three-sheet architecture separating raw inputs ("Data"), derived metrics/targets ("Staging"), and presentation ("Dashboard"). The dashboard uses
INDEX/MATCHbound to a data validation dropdown to dynamically fetch metrics for a selected month, applying large typography and dynamic conditional formatting based on target thresholds. - Applicability: Best used for recurring monthly/quarterly financial or operational reporting. This pattern cleanly abstracts calculation logic away from the end-user, providing a clean, interactive executive summary.
2. Structural Breakdown
- Data Layout: A 3-sheet structure:
1) Data: Raw matrix of accounts/metrics (rows) by period (columns).2) Staging: Calculation layer computing final KPIs and mapping targets per period.3) Dashboard: Presentation layer with hidden gridlines and KPI "cards".
- Formula Logic:
INDEX/MATCHlooks up the selected month:=INDEX('2) Staging'!$B$2:$D$2, 1, MATCH($C$4, '2) Staging'!$B$1:$D$1, 0))- IFERROR wrappers on the staging layer handle zero-division for early months.
- Visual Design:
- Clean card design with merged title headers.
- Oversized font (size 24) for primary metrics to ensure readability.
CellIsRuleConditional Formatting dynamically applies green/red fills and fonts depending on whether the metric beats or misses the target.
- Charts/Tables: Not chart-based; relies entirely on localized KPI card clusters with inline conditional styling.
- Theme Hooks: Uses neutral borders and background fills for structure, but relies heavily on semantic green (
C6EFCE) and red (FFC7CE) for performance indication.