Dashboard Auto-Configuration
Core Principles
- Comprehensive Analysis: Systematically analyze all available data without omitting key dimensions
- Real-time Awareness: Metric system design supports real-time monitoring and rapid response
- Automated Attribution: Anomalous fluctuations are automatically attributed to specific causes, reducing manual investigation
- Explicit Decision Rules: Every alert and escalation condition has clear quantitative rules
Interaction Mode
🤖→👤 AI suggests, human approves
Input
| Input Item |
Type |
Required |
Source |
Description |
| metric_system |
JSON |
Yes |
output/pm-metrics-design/metrics-system/metric_system.json |
Metric system (including North Star, L1/L2/actionable metrics) |
| tracking_plan |
JSON array |
Yes |
output/pm-metrics-design/tracking-plan/tracking_plan.json |
Tracking plan |
| user_roles |
string[] |
○ |
User provided |
Dashboard user roles |
| dashboard_platform |
string |
○ |
User provided |
Visualization platform (amplitude/grafana/datadog) |
{
"metric_system": {
"north_star": {...},
"l1_metrics": [...],
"l2_metrics": [...],
"actionable_metrics": [...]
},
"tracking_plan": [...],
"user_roles": ["Product Manager", "Operations", "Management"],
"dashboard_platform": "amplitude|grafana|datadog"
}
Execution Steps
Step 1: Dashboard Structure Design [Core]
Task: Design Dashboard structure based on metric hierarchy
Rules:
- Strategic Dashboard (1): Display North Star metric and L1 metric trends, for management
- Tactical Dashboard (N): Divided by user lifecycle (AARRR) or business line, for PMs
- Operational Dashboard (N): Divided by feature module or team, for specific executors
Execution:
- Design Dashboard quantity and type based on metric hierarchy
- Determine the theme and positioning of each Dashboard
- Plan navigation relationships between Dashboards
Step 2: Metric Auto-Assignment [Core]
Task: Automatically assign metrics to each Dashboard
Rules:
- North Star metric -> Strategic Dashboard
- L1 metrics -> Tactical Dashboard
- L2 metrics -> Assign to Tactical or Operational Dashboard based on L1 ownership
- Actionable metrics -> Operational Dashboard
Execution:
- Traverse the metric system and assign by hierarchy rules
- Mark the data source for each Widget
- Determine refresh frequency (Strategic: daily, Tactical: hourly, Operational: minutely)
Step 3: Alert Rule Configuration [Core]
Task: Configure alert rules for key metrics
Rules:
- North Star metric: Configure daily MoM alert (threshold: ±15%)
- L1 metrics: Configure weekly MoM alert (threshold: ±10%)
- Anomaly detection triggered metrics: Automatically inherit anomaly detection alert configuration
Execution:
- Generate alert rules based on statistical thresholds (mean±2σ) or historical baselines
- Determine alert severity (P0/P1/P2/P3)
- Configure notification channels and recipients
Step 4: Dashboard Configuration Generation [Core]
Task: Generate Dashboard configurations for each platform
Supported Platforms:
- Amplitude / Mixpanel / GrowingIO
- Grafana / Datadog (technical monitoring)
- Custom JSON configuration
Execution:
- Generate platform-specific configuration format based on target platform
- Generate Widget definitions (type, position, size)
- Configure Dashboard layout and theme
Output Depth Grading
| Depth Level |
Output Scope |
Description |
| quick |
core metrics dashboard design |
Core conclusions + minimum viable deliverable |
| standard |
Full deliverables (default) |
Complete output including all Steps |
| deep |
Full dashboard + drill-down analysis design + alert rule system + data governance specs |
Full deliverables + extended analysis + deep simulation |
Output
Storage Path: output/pm-metrics-design/metrics-dashboard/
Output File: dashboard_config.json
Output Schema:
{
"type": "object",
"required": ["dashboards", "configuration_files"],
"properties": {
"dashboards": {"type": "array", "description": "Dashboard configuration list, including strategic/tactical/operational dashboards"},
"configuration_files": {"type": "object", "description": "Platform configuration files, including platform type and Dashboard JSON configuration"}
}
}
{
"dashboards": [
{
"name": "Strategic Dashboard",
"type": "strategic",
"owner": "Product Lead",
"widgets": [
{
"type": "kpi",
"metric": "north_star_metric",
"visualization": "number_with_trend",
"refresh_interval": "daily"
},
{
"type": "chart",
"metric": "l1_metrics",
"visualization": "line_chart",
"refresh_interval": "daily"
}
],
"alerts": [
{
"metric": "north_star_metric",
"condition": "daily_change",
"threshold": 0.15,
"severity": "P0",
"notification": "slack:#product-alerts"
}
]
}
],
"configuration_files": {
"platform": "amplitude",
"dashboard_json": {...}
}
}
Output Validation Rules
| Field Path |
Type |
Required |
Description |
| dashboards |
array |
Yes |
Dashboard configuration list, at least 1 strategic dashboard |
| dashboards[].name |
string |
Yes |
Dashboard name, cannot be empty |
| dashboards[].type |
string |
Yes |
Dashboard type, enum: strategic/tactical/operational |
| dashboards[].owner |
string |
Yes |
Dashboard owner |
| dashboards[].widgets |
array |
Yes |
Widget list, at least 1 Widget |
| dashboards[].widgets[].type |
string |
Yes |
Widget type, enum: kpi/chart/table/funnel |
| dashboards[].widgets[].metric |
string |
Yes |
Associated metric name |
| dashboards[].widgets[].visualization |
string |
Yes |
Visualization type |
| dashboards[].widgets[].refresh_interval |
string |
Yes |
Refresh frequency |
| dashboards[].alerts |
array |
No |
Alert rule list |
| dashboards[].alerts[].metric |
string |
Conditionally required |
Alert associated metric, required when alerts exist |
| dashboards[].alerts[].threshold |
number |
Conditionally required |
Alert threshold, required when alerts exist |
| dashboards[].alerts[].severity |
string |
Conditionally required |
Alert severity, enum: P0/P1/P2/P3 |
| configuration_files |
object |
Yes |
Platform configuration files |
| configuration_files.platform |
string |
Yes |
Platform type |
| configuration_files.dashboard_json |
object |
Yes |
Dashboard JSON configuration |
Upstream Change Response
When upstream inputs change, this Skill's response strategy:
| Upstream Change |
Impact Scope |
Response Strategy |
| North Star metric change |
Strategic Dashboard KPI Widget and alert rules |
Update Strategic Dashboard core Widget, recalculate alert thresholds, flag for human confirmation |
| L1/L2 metric addition/removal |
Tactical/Operational Dashboard Widget assignment |
Re-execute metric auto-assignment, flag added/removed Widgets, preserve human-confirmed layouts |
| Actionable metric change |
Operational Dashboard Widgets and alerts |
Update Operational Dashboard, re-evaluate alert configuration |
| Tracking event addition/removal |
Widget data source markers |
Update Widget data source status, mark as "pending configuration" or "ready" |
| Metric definition modification |
Associated Widget calculation logic |
Update Widget display logic, flag for human confirmation |
When Dashboard configuration itself changes, notification mechanism to downstream:
| Configuration Change Type |
Notification Scope |
Notification Method |
| Dashboard structure change |
Module 7 (Product Metrics Operations) |
Flag dashboard structure change, trigger monitoring configuration update |
| Alert rule change |
Ops team, Product team |
Flag alert change, trigger alert notification configuration update |
| Widget addition/removal |
Module 7 (Product Metrics Operations) |
Flag Widget change, trigger data source verification |
Decision Rules
Automatic Execution Rules
- Metric assignment executes automatically based on hierarchy rules
- Alert thresholds configured with default values
Human Decision Points
- Dashboard layout requires human confirmation (🤖→👤)
- Alert thresholds can be adjusted based on actual conditions
- Dashboard naming and ownership determined by humans
Escalation Rules
- When alert count exceeds 50, prompt to simplify alerts
- When Dashboard count exceeds 10, prompt to merge or archive
Quality Checks
P0 Checks (must pass for quick/standard/deep)
P1 Checks (must pass for standard/deep)
P2 Checks (must pass for deep only)
Degradation Strategy
Upstream File Missing Degradation Plan
| Missing Scope |
Degradation Plan |
Output Impact |
Data Acquisition Instructions |
| Metric system missing |
Prompt user to provide core metric list, generate basic Dashboard configuration based on metric list |
Dashboard hierarchy simplified, no strategic/tactical/operational layering |
Request user to provide core metric names and definitions, or upload metrics-system.json |
| Tracking plan missing |
Skip data source marking step, Widget data source marked as "pending configuration" |
Cannot confirm data collection feasibility |
Request user to provide tracking event list, or upload tracking-plan.json |
| Metric system + Tracking plan both missing |
User provides core metric list -> generate basic Dashboard configuration |
Output basic Dashboard configuration, data source and refresh frequency marked as "to be confirmed" |
Request user to provide core metric list and target user roles, or execute metrics-system and tracking-plan first |
| user_roles missing |
If user does not provide user_roles, prompt user to provide or skip related steps |
Dashboard role layering missing, use default role configuration |
Prompt user to specify Dashboard user roles (Management/PM/Operations) |
| dashboard_platform missing |
If user does not provide dashboard_platform, prompt user to provide or skip related steps |
Use generic JSON configuration format, platform-specific configuration marked as "to be specified" |
Prompt user to specify visualization platform (Amplitude/Grafana/Datadog, etc.) |
Data Acquisition Instructions
When upstream files are missing, the user needs to provide the following information to support degraded generation:
- Core metric list: Key metric names and definitions to monitor
- Target user roles (optional): Primary Dashboard user roles (Management/PM/Operations)
- Dashboard platform (optional): Visualization platform to use (Amplitude/Grafana/Datadog, etc.)
Context Dependencies
- Depends on preceding Pipeline: Pipeline 1 (Metric System Auto-Construction), Pipeline 2 (Tracking Plan Auto-Generation)
- Consumed by subsequent Pipeline: Module 7 (Product Metrics Operations) Dashboard monitoring
Key Principles
Data-Driven Visualization
- Select chart types best suited for displaying metric trends
- KPI cards display current value and trend
- Line charts display time series changes
Alert Layering
- P0: Core metric anomaly, requires immediate handling
- P1: Important metric anomaly, must be handled same day
- P2: General metric anomaly, needs attention
- P3: Minor deviation, can be ignored
High Actionability
- Each Dashboard has a clear target user
- Each Widget has a clear data source description
- Each alert has a clear handling guide
1---2name: metrics-dashboard3description: "Use when configuring product metrics dashboards. Dashboard auto-configuration based on metric hierarchy, auto-assigning metrics to dashboards, configuring alert rules and thresholds. Keywords: Dashboard configuration, data dashboard, metric visualization, alert configuration, monitoring panel, dashboard setup, data reports."4metadata:5 source: https://skillmd.com/skills/luckyonetwothree/metrics-dashboard6 module: "Product Metrics Design"7 sub-module: "Metrics Design"8 type: "pipeline"9 version: "2.1"10 domain_tags: ["Internet", "SaaS", "General"]11 trigger_examples:12 - "Help me build a data dashboard"13 - "Configure a monitoring panel"14 - "Create a Dashboard to display all key metrics"15 interaction_mode: "ai_suggest_human_approve"16execution_depth:17 default: standard18 quick_description: "Output core metrics dashboard design"19 deep_description: "Full dashboard + drill-down analysis design + alert rule system + data governance specs"20---2122# Dashboard Auto-Configuration2324## Core Principles25261. **Comprehensive Analysis**: Systematically analyze all available data without omitting key dimensions272. **Real-time Awareness**: Metric system design supports real-time monitoring and rapid response283. **Automated Attribution**: Anomalous fluctuations are automatically attributed to specific causes, reducing manual investigation294. **Explicit Decision Rules**: Every alert and escalation condition has clear quantitative rules3031## Interaction Mode3233🤖→👤 AI suggests, human approves3435## Input3637| Input Item | Type | Required | Source | Description |38|--------|------|------|------|------|39| metric_system | JSON | Yes | output/pm-metrics-design/metrics-system/metric_system.json | Metric system (including North Star, L1/L2/actionable metrics) |40| tracking_plan | JSON array | Yes | output/pm-metrics-design/tracking-plan/tracking_plan.json | Tracking plan |41| user_roles | string[] | ○ | User provided | Dashboard user roles |42| dashboard_platform | string | ○ | User provided | Visualization platform (amplitude/grafana/datadog) |4344```json45{46 "metric_system": {47 "north_star": {...},48 "l1_metrics": [...],49 "l2_metrics": [...],50 "actionable_metrics": [...]51 },52 "tracking_plan": [...],53 "user_roles": ["Product Manager", "Operations", "Management"],54 "dashboard_platform": "amplitude|grafana|datadog"55}56```5758---5960## Execution Steps6162### Step 1: Dashboard Structure Design [Core]6364**Task**: Design Dashboard structure based on metric hierarchy6566**Rules**:67- Strategic Dashboard (1): Display North Star metric and L1 metric trends, for management68- Tactical Dashboard (N): Divided by user lifecycle (AARRR) or business line, for PMs69- Operational Dashboard (N): Divided by feature module or team, for specific executors7071**Execution**:721. Design Dashboard quantity and type based on metric hierarchy732. Determine the theme and positioning of each Dashboard743. Plan navigation relationships between Dashboards7576---7778### Step 2: Metric Auto-Assignment [Core]7980**Task**: Automatically assign metrics to each Dashboard8182**Rules**:83- North Star metric -> Strategic Dashboard84- L1 metrics -> Tactical Dashboard85- L2 metrics -> Assign to Tactical or Operational Dashboard based on L1 ownership86- Actionable metrics -> Operational Dashboard8788**Execution**:891. Traverse the metric system and assign by hierarchy rules902. Mark the data source for each Widget913. Determine refresh frequency (Strategic: daily, Tactical: hourly, Operational: minutely)9293---9495### Step 3: Alert Rule Configuration [Core]9697**Task**: Configure alert rules for key metrics9899**Rules**:100- North Star metric: Configure daily MoM alert (threshold: ±15%)101- L1 metrics: Configure weekly MoM alert (threshold: ±10%)102- Anomaly detection triggered metrics: Automatically inherit anomaly detection alert configuration103104**Execution**:1051. Generate alert rules based on statistical thresholds (mean±2σ) or historical baselines1062. Determine alert severity (P0/P1/P2/P3)1073. Configure notification channels and recipients108109---110111### Step 4: Dashboard Configuration Generation [Core]112113**Task**: Generate Dashboard configurations for each platform114115**Supported Platforms**:116- Amplitude / Mixpanel / GrowingIO117- Grafana / Datadog (technical monitoring)118- Custom JSON configuration119120**Execution**:1211. Generate platform-specific configuration format based on target platform1222. Generate Widget definitions (type, position, size)1233. Configure Dashboard layout and theme124125---126127### Output Depth Grading128129| Depth Level | Output Scope | Description |130|----------|----------|------|131| quick | core metrics dashboard design | Core conclusions + minimum viable deliverable |132| standard | Full deliverables (default) | Complete output including all Steps |133| deep | Full dashboard + drill-down analysis design + alert rule system + data governance specs | Full deliverables + extended analysis + deep simulation |134135## Output136137**Storage Path**: `output/pm-metrics-design/metrics-dashboard/`138139**Output File**: `dashboard_config.json`140141**Output Schema**:142143```json144{145 "type": "object",146 "required": ["dashboards", "configuration_files"],147 "properties": {148 "dashboards": {"type": "array", "description": "Dashboard configuration list, including strategic/tactical/operational dashboards"},149 "configuration_files": {"type": "object", "description": "Platform configuration files, including platform type and Dashboard JSON configuration"}150 }151}152```153154```json155{156 "dashboards": [157 {158 "name": "Strategic Dashboard",159 "type": "strategic",160 "owner": "Product Lead",161 "widgets": [162 {163 "type": "kpi",164 "metric": "north_star_metric",165 "visualization": "number_with_trend",166 "refresh_interval": "daily"167 },168 {169 "type": "chart",170 "metric": "l1_metrics",171 "visualization": "line_chart",172 "refresh_interval": "daily"173 }174 ],175 "alerts": [176 {177 "metric": "north_star_metric",178 "condition": "daily_change",179 "threshold": 0.15,180 "severity": "P0",181 "notification": "slack:#product-alerts"182 }183 ]184 }185 ],186 "configuration_files": {187 "platform": "amplitude",188 "dashboard_json": {...}189 }190}191```192193---194195## Output Validation Rules196197| Field Path | Type | Required | Description |198|----------|------|------|------|199| dashboards | array | Yes | Dashboard configuration list, at least 1 strategic dashboard |200| dashboards[].name | string | Yes | Dashboard name, cannot be empty |201| dashboards[].type | string | Yes | Dashboard type, enum: strategic/tactical/operational |202| dashboards[].owner | string | Yes | Dashboard owner |203| dashboards[].widgets | array | Yes | Widget list, at least 1 Widget |204| dashboards[].widgets[].type | string | Yes | Widget type, enum: kpi/chart/table/funnel |205| dashboards[].widgets[].metric | string | Yes | Associated metric name |206| dashboards[].widgets[].visualization | string | Yes | Visualization type |207| dashboards[].widgets[].refresh_interval | string | Yes | Refresh frequency |208| dashboards[].alerts | array | No | Alert rule list |209| dashboards[].alerts[].metric | string | Conditionally required | Alert associated metric, required when alerts exist |210| dashboards[].alerts[].threshold | number | Conditionally required | Alert threshold, required when alerts exist |211| dashboards[].alerts[].severity | string | Conditionally required | Alert severity, enum: P0/P1/P2/P3 |212| configuration_files | object | Yes | Platform configuration files |213| configuration_files.platform | string | Yes | Platform type |214| configuration_files.dashboard_json | object | Yes | Dashboard JSON configuration |215216## Upstream Change Response217218When upstream inputs change, this Skill's response strategy:219220| Upstream Change | Impact Scope | Response Strategy |221|----------|----------|----------|222| North Star metric change | Strategic Dashboard KPI Widget and alert rules | Update Strategic Dashboard core Widget, recalculate alert thresholds, flag for human confirmation |223| L1/L2 metric addition/removal | Tactical/Operational Dashboard Widget assignment | Re-execute metric auto-assignment, flag added/removed Widgets, preserve human-confirmed layouts |224| Actionable metric change | Operational Dashboard Widgets and alerts | Update Operational Dashboard, re-evaluate alert configuration |225| Tracking event addition/removal | Widget data source markers | Update Widget data source status, mark as "pending configuration" or "ready" |226| Metric definition modification | Associated Widget calculation logic | Update Widget display logic, flag for human confirmation |227228When Dashboard configuration itself changes, notification mechanism to downstream:229230| Configuration Change Type | Notification Scope | Notification Method |231|-------------|----------|----------|232| Dashboard structure change | Module 7 (Product Metrics Operations) | Flag dashboard structure change, trigger monitoring configuration update |233| Alert rule change | Ops team, Product team | Flag alert change, trigger alert notification configuration update |234| Widget addition/removal | Module 7 (Product Metrics Operations) | Flag Widget change, trigger data source verification |235236---237238## Decision Rules239240### Automatic Execution Rules241- Metric assignment executes automatically based on hierarchy rules242- Alert thresholds configured with default values243244### Human Decision Points245- Dashboard layout requires human confirmation (🤖→👤)246- Alert thresholds can be adjusted based on actual conditions247- Dashboard naming and ownership determined by humans248249### Escalation Rules250- When alert count exceeds 50, prompt to simplify alerts251- When Dashboard count exceeds 10, prompt to merge or archive252253---254255## Quality Checks256257### P0 Checks (must pass for quick/standard/deep)258259- [ ] All metrics assigned to Dashboards260- [ ] Each Dashboard has at least 1 Widget261262### P1 Checks (must pass for standard/deep)263264- [ ] North Star metric appears in Strategic Dashboard265- [ ] Alert rules configured completely266- [ ] Dashboard configuration parses correctly267- [ ] Dashboard layout reasonableness268- [ ] Alert threshold setting reasonableness269- [ ] Access permission configuration270- [ ] Navigation structure clarity271272### P2 Checks (must pass for deep only)273274- [ ] Extended analysis complete (deep simulation and roadmap generated)275- [ ] Decision records complete (key decisions have rationale and alternatives)276277---278279## Degradation Strategy280281### Upstream File Missing Degradation Plan282283| Missing Scope | Degradation Plan | Output Impact | Data Acquisition Instructions |284|----------|----------|----------|------------|285| Metric system missing | Prompt user to provide core metric list, generate basic Dashboard configuration based on metric list | Dashboard hierarchy simplified, no strategic/tactical/operational layering | Request user to provide core metric names and definitions, or upload metrics-system.json |286| Tracking plan missing | Skip data source marking step, Widget data source marked as "pending configuration" | Cannot confirm data collection feasibility | Request user to provide tracking event list, or upload tracking-plan.json |287| Metric system + Tracking plan both missing | User provides core metric list -> generate basic Dashboard configuration | Output basic Dashboard configuration, data source and refresh frequency marked as "to be confirmed" | Request user to provide core metric list and target user roles, or execute metrics-system and tracking-plan first |288| user_roles missing | If user does not provide user_roles, prompt user to provide or skip related steps | Dashboard role layering missing, use default role configuration | Prompt user to specify Dashboard user roles (Management/PM/Operations) |289| dashboard_platform missing | If user does not provide dashboard_platform, prompt user to provide or skip related steps | Use generic JSON configuration format, platform-specific configuration marked as "to be specified" | Prompt user to specify visualization platform (Amplitude/Grafana/Datadog, etc.) |290291### Data Acquisition Instructions292293When upstream files are missing, the user needs to provide the following information to support degraded generation:294- **Core metric list**: Key metric names and definitions to monitor295- **Target user roles** (optional): Primary Dashboard user roles (Management/PM/Operations)296- **Dashboard platform** (optional): Visualization platform to use (Amplitude/Grafana/Datadog, etc.)297298---299300## Context Dependencies301302- **Depends on preceding Pipeline**: Pipeline 1 (Metric System Auto-Construction), Pipeline 2 (Tracking Plan Auto-Generation)303- **Consumed by subsequent Pipeline**: Module 7 (Product Metrics Operations) Dashboard monitoring304305---306307## Key Principles308309### Data-Driven Visualization310- Select chart types best suited for displaying metric trends311- KPI cards display current value and trend312- Line charts display time series changes313314### Alert Layering315- P0: Core metric anomaly, requires immediate handling316- P1: Important metric anomaly, must be handled same day317- P2: General metric anomaly, needs attention318- P3: Minor deviation, can be ignored319320### High Actionability321- Each Dashboard has a clear target user322- Each Widget has a clear data source description323- Each alert has a clear handling guide