social-media-matrix-tracker-template
它能做什么
这个模板会生成一个可视化仪表盘,用来分析你的社交媒体表现。它会以交互式、易于理解的图表,展示多个平台的数据。
适用场景
- ✓当你想在一个地方查看社交媒体的表现时。
- ✓需要对比不同平台的表现时。
- ✓当你需要一份详细的可视化指标报告时。
技能链接
https://github.com/nexu-io/open-design/blob/main/design-templates/social-media-matrix-tracker-template/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“创建一个社交媒体数据分析仪表盘,带有交互式图表和深色主题。”
每周 5 个新技能,1 分钟读完。
工作原理
它的工作方式是获取社交媒体数据,并以图表和表格的形式,把数据展示在一个 HTML 文件中。你可以与图表互动,查看更多细节。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Social Media Matrix Tracker Template
Ship a premium, cinematic social-media analytics template with high data density and production-grade micro-interactions.
Resource map
social-media-matrix-tracker-template/
├── SKILL.md
├── assets/
│ └── template.html
├── references/
│ └── checklist.md
└── example.html
Workflow
- Read active
DESIGN.mdfirst, map tokens to CSS variables, then adaptassets/template.html. - Keep the structural information architecture intact: hero + platform matrix + KPI strip + multi-chart deep sections.
- Preserve interaction fidelity:
- dark/light theme toggle
- hover tooltip on charts (auto-clamps inside viewport)
- click-to-pin chart point
- drag interval analysis
- Shift+drag multi-range compare
- insights panel live updates on every chart (line / stack / donut / geo)
- touch + keyboard arrow-key support for line charts (a11y)
- Ensure template remains self-contained (single HTML with inline CSS/JS, no framework dependency).
- Keep default sample data realistic and internally consistent across cards/charts.
- Validate with
references/checklist.mdbefore emitting the artifact.
Adapting the sample data safely
assets/template.html ships with hand-tuned sample arrays. When swapping in real data, follow this contract so charts and insights stay coherent:
- Replace whole arrays at once, not individual indices — line charts assume
values[]andxLabels[]are the same length and aligned by index. - Match the existing unit + decimals:
hourChart(engagements /decimals: 0),slaChart(minutes /decimals: 0),roiChart(multiplier x /decimals: 1),cohortChart(% /decimals: 0). Mismatched units break tooltip + A/B insight copy. - Keep all four line series the same length (default 7 points). Different lengths leak into the A/B compare which expects shared indices.
- For
mixChart, everybars[i].stackmust remain a 3-element array ([Video, Thread, Carousel]). ForsentimentChart,arcs[]percentages should sum to 100. - Update KPI strip + platform card metrics in lock-step — the artifact's "Live overview" insight derives from the same numbers.
- Single-data-point datasets are guarded (drawn as a labelled dot) but degrade UX; prefer ≥ 3 points per chart when adapting.
Output contract
Emit one short sentence before the artifact (e.g. "Cinematic social media matrix tracker — dark theme by default, all interactions live.") and then a single self-contained HTML artifact.
- The artifact must use the
<artifact>wrapper exactly as shown below — the daemon parser keys on the wrapper element. identifier="social-media-matrix-tracker"is the canonical id (don't suffix with project name).type="text/html"andtitleare required.- Inline CSS + JS only. No external framework / CDN. No external font imports beyond what
template.htmlalready declares. - The final document is the adapted
template.html(with DESIGN.md tokens applied), not a verbatim copy and not a separateindex.html. Do not emit both.
<artifact identifier="social-media-matrix-tracker" type="text/html" title="Social Media Matrix Tracker">
<!doctype html>
<html>...</html>
</artifact>
常见问题
什么是“微交互”?
这些是你与仪表盘互动时出现的小动画或视觉反馈,比如把鼠标悬停在图表上时,会显示更多细节。
我可以更改仪表盘的颜色吗?
可以,这个模板支持在浅色和深色主题之间切换。
我该如何放入自己的数据?
你需要替换 HTML 文件中的示例数据,并按照说明操作,以确保图表和分析结论保持正确。
详情
作者的原始描述
社媒矩阵数据追踪面板模板(Social Media Matrix Tracker)。 Use when users ask for a cinematic, data-dense social media analytics dashboard with multi-platform metrics, interactive charts, hover insights, range compare, and dark/light theme switching in a single HTML artifact.
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #959
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …