Logo Metrics Dashboard

Metrics Dashboard

Cộng đồng
LuckyOneTwoThree
metrics-dashboard

Dùng khi thiết lập dashboard chỉ số sản phẩm. Tự động cấu hình dashboard dựa trên phân cấp chỉ số, tự động gán chỉ số vào dashboard và thiết lập quy tắc cảnh báo cùng ngưỡng. Từ khóa: cấu hình Dashboard, dashboard dữ liệu, trực quan hóa chỉ số, cấu hình cảnh báo, bảng theo dõi, thiết lập dashboard, báo cáo dữ liệu.

Tổng quan

Nhà phát hànhLuckyOneTwoThree
Kho mãvibe-skill
Tên kỹ năngmetrics-dashboard
Sao
34
Bản fork
8
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được LuckyOneTwoThree công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Metrics Dashboard trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/metrics-dashboard
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LuckyOneTwoThree/vibe-skill.git /tmp/vibe-skill
mkdir -p .claude/skills
cp -r /tmp/vibe-skill/.codex/skills/metrics-dashboard .claude/skills/metrics-dashboard
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Metrics Dashboard trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Metrics Dashboard ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Metrics Dashboard với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Dashboard Auto-Configuration

Core Principles

  1. Comprehensive Analysis: Systematically analyze all available data without omitting key dimensions
  2. Real-time Awareness: Metric system design supports real-time monitoring and rapid response
  3. Automated Attribution: Anomalous fluctuations are automatically attributed to specific causes, reducing manual investigation
  4. Explicit Decision Rules: Every alert and escalation condition has clear quantitative rules

Interaction Mode

🤖→👤 AI suggests, human approves

Input

Input ItemTypeRequiredSourceDescription
metric_systemJSONYesoutput/pm-metrics-design/metrics-system/metric_system.jsonMetric system (including North Star, L1/L2/actionable metrics)
tracking_planJSON arrayYesoutput/pm-metrics-design/tracking-plan/tracking_plan.jsonTracking plan
user_rolesstring[]○User providedDashboard user roles
dashboard_platformstring○User providedVisualization platform (amplitude/grafana/datadog)
json
{
  "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:

  1. Design Dashboard quantity and type based on metric hierarchy
  2. Determine the theme and positioning of each Dashboard
  3. 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:

  1. Traverse the metric system and assign by hierarchy rules
  2. Mark the data source for each Widget
  3. 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:

  1. Generate alert rules based on statistical thresholds (mean±2σ) or historical baselines
  2. Determine alert severity (P0/P1/P2/P3)
  3. 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:

  1. Generate platform-specific configuration format based on target platform
  2. Generate Widget definitions (type, position, size)
  3. Configure Dashboard layout and theme

Output Depth Grading

Depth LevelOutput ScopeDescription
quickcore metrics dashboard designCore conclusions + minimum viable deliverable
standardFull deliverables (default)Complete output including all Steps
deepFull dashboard + drill-down analysis design + alert rule system + data governance specsFull deliverables + extended analysis + deep simulation

Output

Storage Path: output/pm-metrics-design/metrics-dashboard/

Output File: dashboard_config.json

Output Schema:

json
{
  "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"}
  }
}
json
{
  "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 PathTypeRequiredDescription
dashboardsarrayYesDashboard configuration list, at least 1 strategic dashboard
dashboards[].namestringYesDashboard name, cannot be empty
dashboards[].typestringYesDashboard type, enum: strategic/tactical/operational
dashboards[].ownerstringYesDashboard owner
dashboards[].widgetsarrayYesWidget list, at least 1 Widget
dashboards[].widgets[].typestringYesWidget type, enum: kpi/chart/table/funnel
dashboards[].widgets[].metricstringYesAssociated metric name
dashboards[].widgets[].visualizationstringYesVisualization type
dashboards[].widgets[].refresh_intervalstringYesRefresh frequency
dashboards[].alertsarrayNoAlert rule list
dashboards[].alerts[].metricstringConditionally requiredAlert associated metric, required when alerts exist
dashboards[].alerts[].thresholdnumberConditionally requiredAlert threshold, required when alerts exist
dashboards[].alerts[].severitystringConditionally requiredAlert severity, enum: P0/P1/P2/P3
configuration_filesobjectYesPlatform configuration files
configuration_files.platformstringYesPlatform type
configuration_files.dashboard_jsonobjectYesDashboard JSON configuration

Upstream Change Response

When upstream inputs change, this Skill's response strategy:

Upstream ChangeImpact ScopeResponse Strategy
North Star metric changeStrategic Dashboard KPI Widget and alert rulesUpdate Strategic Dashboard core Widget, recalculate alert thresholds, flag for human confirmation
L1/L2 metric addition/removalTactical/Operational Dashboard Widget assignmentRe-execute metric auto-assignment, flag added/removed Widgets, preserve human-confirmed layouts
Actionable metric changeOperational Dashboard Widgets and alertsUpdate Operational Dashboard, re-evaluate alert configuration
Tracking event addition/removalWidget data source markersUpdate Widget data source status, mark as "pending configuration" or "ready"
Metric definition modificationAssociated Widget calculation logicUpdate Widget display logic, flag for human confirmation

When Dashboard configuration itself changes, notification mechanism to downstream:

Configuration Change TypeNotification ScopeNotification Method
Dashboard structure changeModule 7 (Product Metrics Operations)Flag dashboard structure change, trigger monitoring configuration update
Alert rule changeOps team, Product teamFlag alert change, trigger alert notification configuration update
Widget addition/removalModule 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)

  • All metrics assigned to Dashboards
  • Each Dashboard has at least 1 Widget

P1 Checks (must pass for standard/deep)

  • North Star metric appears in Strategic Dashboard
  • Alert rules configured completely
  • Dashboard configuration parses correctly
  • Dashboard layout reasonableness
  • Alert threshold setting reasonableness
  • Access permission configuration
  • Navigation structure clarity

P2 Checks (must pass for deep only)

  • Extended analysis complete (deep simulation and roadmap generated)
  • Decision records complete (key decisions have rationale and alternatives)

Degradation Strategy

Upstream File Missing Degradation Plan

Missing ScopeDegradation PlanOutput ImpactData Acquisition Instructions
Metric system missingPrompt user to provide core metric list, generate basic Dashboard configuration based on metric listDashboard hierarchy simplified, no strategic/tactical/operational layeringRequest user to provide core metric names and definitions, or upload metrics-system.json
Tracking plan missingSkip data source marking step, Widget data source marked as "pending configuration"Cannot confirm data collection feasibilityRequest user to provide tracking event list, or upload tracking-plan.json
Metric system + Tracking plan both missingUser provides core metric list -> generate basic Dashboard configurationOutput 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 missingIf user does not provide user_roles, prompt user to provide or skip related stepsDashboard role layering missing, use default role configurationPrompt user to specify Dashboard user roles (Management/PM/Operations)
dashboard_platform missingIf user does not provide dashboard_platform, prompt user to provide or skip related stepsUse 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

Câu hỏi thường gặp

Kỹ năng AI Metrics Dashboard làm được gì?

Dùng khi thiết lập dashboard chỉ số sản phẩm. Tự động cấu hình dashboard dựa trên phân cấp chỉ số, tự động gán chỉ số vào dashboard và thiết lập quy tắc cảnh báo cùng ngưỡng. Từ khóa: cấu hình Dashboard, dashboard dữ liệu, trực quan hóa chỉ số, cấu hình cảnh báo, bảng theo dõi, thiết lập dashboard, báo cáo dữ liệu.

Vì sao nên dùng Metrics Dashboard trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Metrics Dashboard là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Metrics Dashboard trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/metrics-dashboard. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Metrics Dashboard?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Metrics Dashboard với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Metrics Dashboard với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Metrics Dashboard có miễn phí không?

Có. Kỹ năng này được LuckyOneTwoThree phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇