Agent Skillsryantsai/KKTerm › dashboard-data-visualization

dashboard-data-visualization

GitHub

指导设计KKTerm仪表盘组件,涵盖图表选择、操作语义、色彩编码及数据完整性规范。强调直观展示指标、趋势与健康状态,确保数据准确且无误导,适配小尺寸窗口并处理各类数据状态。

assistant-skills/dashboard-data-visualization/SKILL.md ryantsai/KKTerm

Trigger Scenarios

需要设计仪表盘图表或指标展示时 询问如何可视化运维数据、日志或健康状态时

Install

npx skills add ryantsai/KKTerm --skill dashboard-data-visualization -g -y
More Options

Non-standard path

npx skills add https://github.com/ryantsai/KKTerm/tree/main/assistant-skills/dashboard-data-visualization -g -y

Use without installing

npx skills use ryantsai/KKTerm@dashboard-data-visualization

指定 Agent (Claude Code)

npx skills add ryantsai/KKTerm --skill dashboard-data-visualization -a claude-code -g -y

安装 repo 全部 skill

npx skills add ryantsai/KKTerm --all -g -y

预览 repo 内 skill

npx skills add ryantsai/KKTerm --list

SKILL.md

Frontmatter
{
    "name": "dashboard-data-visualization",
    "description": "Design KKTerm Dashboard widgets that show metrics, charts, logs, timelines, gauges, health states, trends, and operational data without misleading users."
}

Dashboard Data Visualization

Use this skill when a Dashboard widget needs charts, metrics, service health, trends, logs, gauges, timelines, counters, or operational summaries. Pair it with dashboard-widget-builder for implementation and dashboard-widget-designer for broader visual polish.

Visualization Workflow

  1. Identify the user's question before choosing a chart: current value, trend, comparison, distribution, threshold, incident, or history.
  2. Choose the simplest representation that answers that question inside the widget's available size.
  3. Preserve source units, timestamps, and uncertainty. Do not invent precision.
  4. Prefer glanceable summaries with drill-down details only when the widget has room.
  5. Include empty, loading, error, stale, and partial-data states for live or external data.

Chart Selection

  • Single important value: metric tile with unit, trend delta, and freshness.
  • Status across resources: compact status list with severity chips and counts.
  • Short time trend: sparkline or mini area chart with clear last value.
  • Threshold monitoring: gauge, progress bar, or banded meter with explicit threshold labels.
  • Event sequence: timeline or log strip with severity and timestamp.
  • Comparison across a few items: horizontal bars, not tiny pies.
  • Dense logs: latest-events list with filtering or grouping, not a chart.

Avoid charts that look impressive but do not answer the user question.

Operational Semantics

  • Use consistent severity order: healthy, info, warning, critical, unknown.
  • Make unknown or stale data visually distinct from healthy data.
  • Show last updated time for live data.
  • Label units directly near numbers.
  • Do not hide failed fetches behind optimistic green status.
  • Do not show fake sample data unless the user explicitly asked for a mock.

Color and Encoding

  • Color must reinforce meaning, not carry it alone.
  • Use shape, label, icon, position, or text alongside color for health states.
  • Avoid rainbow palettes for operational dashboards.
  • Reserve red/orange for real warnings and failures.
  • Use neutral tones for background gridlines and non-critical context.

Scale and Integrity

  • Do not truncate axes in a way that exaggerates small differences unless the label makes the scale obvious.
  • For sparklines without axes, label the current value and the time window.
  • Keep moving averages, smoothing, or derived scores explicit.
  • If data is missing, show missing rather than drawing a continuous line through it.
  • Prefer exact numbers for small counts and rounded values for noisy telemetry.

KKTerm Widget Constraints

  • Keep charts compact and legible at Dashboard widget sizes.
  • Prefer SVG or canvas drawn from the widget viewport.
  • Recompute dimensions on resize.
  • Stop animation loops when a chart is static or when the widget no longer needs live rendering.
  • Use curated local libraries only when their documented globals are actually needed.

Version History

  • b4e2eb1 Current 2026-07-05 14:38

Same Skill Collection

assistant-skills/dashboard-widget-builder/SKILL.md
assistant-skills/dashboard-widget-designer/SKILL.md
assistant-skills/desktop-accessibility-ui/SKILL.md
assistant-skills/dns-dhcp-troubleshooter/SKILL.md
assistant-skills/firewall-port-troubleshooter/SKILL.md
assistant-skills/network-connectivity-troubleshooter/SKILL.md
assistant-skills/remote-desktop-helper/SKILL.md
assistant-skills/sftp-transfer-helper/SKILL.md
assistant-skills/ssh-troubleshooter/SKILL.md
assistant-skills/terminal-command-planner/SKILL.md
assistant-skills/tls-certificate-troubleshooter/SKILL.md

Metadata

Files
0
Version
bcfe776
Hash
34eb1541
Indexed
2026-07-05 14:38

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-22 07:19
浙ICP备14020137号-1 $お客様$