‹ 首页

dashboard-creator

@mhattingpete · 收录于 1 周前 · 上游提交 4 个月前

Create HTML dashboards with KPI metric cards, bar/pie/line charts, progress indicators, and data visualizations. Use when users request dashboards, metrics displays, KPI visualizations, data charts, or monitoring interfaces.

适合你,如果需要快速创建数据可视化仪表盘嵌入网页

/ 下载安装
dashboard-creator.skill双击,或拖进 Claude 桌面版 / Cowork,即完成安装↓ .skill↓ .zip
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code~/.claude/skills/(项目级 .claude/skills/)
Codex CLI~/.codex/skills/
Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add mhattingpete/claude-skills-marketplace/dashboard-creator
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- mhattingpete/claude-skills-marketplace/dashboard-creator
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify mhattingpete/claude-skills-marketplace/dashboard-creator
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
644GitHub stars
~454最小装载
~454含声明引用
~12.2K文本包总量
镜像托管

怎么用

技能原文 SKILL.md作者撰写 · Apache-2.0 · 3fa16a9

Dashboard Creator

Create interactive HTML dashboards with KPI cards and charts.

When to Use
  • "Create dashboard for [metrics]"
  • "Show KPI visualization"
  • "Generate performance dashboard"
  • "Make analytics dashboard with charts"
Components
  1. KPI Cards: metric name, value, change %, trend icon
  2. Charts: bar/pie/line using SVG or CSS
  3. Progress Bars: completion indicators
  4. Data Tables: tabular data display
HTML Structure
<!DOCTYPE html>
<html>
<head>
  <title>[Project] Dashboard</title>
  <style>
    body { font-family: system-ui; background: #f7fafc; }
    .kpi-card { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
    .kpi-value { font-size: 36px; font-weight: bold; }
    .trend-up { color: #48bb78; }
    .trend-down { color: #e53e3e; }
  </style>
</head>
<body>
  <h1>[Dashboard Name]</h1>
  <div class="grid">
    <!-- KPI cards -->
    <!-- Charts -->
    <!-- Progress bars -->
  </div>
</body>
</html>
KPI Card Pattern
<div class="kpi-card">
  <div class="kpi-label">Revenue</div>
  <div class="kpi-value">$124K</div>
  <div class="trend-up">↑ 12.5%</div>
</div>
Chart Pattern (SVG Bar Chart)
<svg viewBox="0 0 400 300">
  <rect x="50" y="100" width="40" height="150" fill="#4299e1"/>
  <rect x="120" y="80" width="40" height="170" fill="#48bb78"/>
  <!-- bars for each data point -->
</svg>
Workflow
  1. Extract metrics and data
  2. Create KPI cards grid
  3. Generate charts (bar/pie/line) as SVG
  4. Add progress indicators
  5. Write to [name]-dashboard.html

Use semantic colors: green (positive), red (negative), blue (neutral).

按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。