social-media-dashboard
它能做什么
这个智能体会在一个网页上创建社交媒体数据仪表盘。它展示粉丝数、互动数据和热门帖子等关键指标,帮助创作者了解内容的表现。
适用场景
- ✓当你需要快速查看社交媒体的核心数据概览时。
- ✓当你想对比 Instagram、X 或 YouTube 等平台的表现时。
- ✓当你想找出过去一周表现最好的帖子时。
技能链接
https://github.com/nexu-io/open-design/blob/main/design-templates/social-media-dashboard/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我做一个社交媒体分析仪表盘,展示粉丝数和互动数据。”
每周 5 个新技能,1 分钟读完。
工作原理
它会从不同的社交网络收集信息,并使用预设的设计,将其整理成易于理解的可视化形式。仪表盘会生成为一个 HTML 文件,你可以直接在浏览器中打开。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Social Media Dashboard Skill
Produce a single-screen, creator-facing social media analytics dashboard.
Workflow
- Read the active DESIGN.md (injected above). Colors, typography, spacing, radii, and component styling all come from it. Do not invent new tokens; do not hard-code brand colors of the platforms — let the DESIGN.md carry the visual identity, and reference platforms only by name and monogram.
- Identify which platforms the brief calls out. Default to X / LinkedIn / YouTube / Instagram if unspecified. Keep the platform switcher to a single row, max 5 entries.
- Generate plausible data, never
Metric A / Metric Bplaceholders. Pick a creator persona (default: "AI / design indie creator") and derive consistent numbers across the page — e.g. follower counts on the switcher must match the KPI row when X is selected. - Lay out the page top-to-bottom:
- Header bar: brand mark + section label ("ANALYTICS"), a dark/light toggle, time-range tabs (7D · 30D · 90D · YTD), and a creator avatar block on the right.
- Hero strip: a one-sentence summary in display type ("You shipped 14 posts on X this week."), one supporting line of metadata, and two CTAs ("Export report", "New post →").
- Ask bar: a single-line input styled as a search field, with ghost-text suggestions ("top performing last week", "comments from verified accounts").
- Platform switcher: 4 cards in one row, each with platform
monogram, name, follower count, and a
+X.XK this weekdelta. The active platform uses an elevated surface from DESIGN.md. - KPI row: 4 cards — Followers · Engagement Rate · Likes (7D) · Reposts (7D). Each card has a label (uppercase, label-md), a big value (display or headline-lg), a delta vs prior period, and a small footnote ("vs. 4.4% last week", "Aug 9–17 · 14 posts").
- Main grid (2/3 + 1/3):
- Left: Follower Growth · 30D — a full-width inline SVG line chart with a soft area fill underneath, axis ticks at start / midpoint / end, and two labelled annotation dots ("Newsletter drop +842", "Viral thread +1.2K").
- Right: Top Post · This Week — a card showing the rendered post (avatar, handle, post body, optional 16:9 media block), with a header tag "click-through rate 5.6%" in the DS accent.
- Lower grid (1/2 + 1/2):
- Trending topics on this platform: 5–7 chip-style rows with topic name + post count + 24h delta sparkline (10 polyline points, no labels).
- Top comments: 3 cards, each with avatar, handle (verified
check if relevant), comment body (2 lines max, ellipsised), and
a small
❤ 312 · 💬 18row in muted text.
- Write one self-contained HTML document:
<!doctype html>through</html>, CSS in one inline<style>block.- CSS Grid for page-level layout; Flexbox inside cards.
- Semantic HTML:
<header>,<main>,<section>,<article>. - Tag each logical region with
data-od-id="slug"for comment mode:header,hero,ask,platform-switcher,kpis,follower-growth,top-post,trending,top-comments.
- Charts: inline SVG only, no JS libraries.
- Line chart:
<path>for the curve, a second<path>with low-alpha fill for the area, two<circle>annotation dots with text labels. - Sparklines:
<polyline>with 10 points, no axes, ~16px tall. - Use the DS accent for highlights and the DS
on-surface-variantfor muted text. Accent appears at most three times on the page.
- Line chart:
- Self-check:
- Every color resolves to a DESIGN.md token (or a documented
rgba(token, alpha)for glass surfaces). - Numbers are internally consistent (switcher follower count matches the active platform's KPI).
- Header bar and hero strip are sticky; main content scrolls.
- Density follows the DS mood: glass / cosmic DSes get more breathing room and ambient glow on the active platform; clean / corporate DSes tighten gaps and drop the glow.
- Every color resolves to a DESIGN.md token (or a documented
Output contract
Emit between <artifact> tags:
<artifact identifier="social-media-dashboard" type="text/html" title="Social Media Dashboard">
<!doctype html>
<html>...</html>
</artifact>
One sentence before the artifact, nothing after.
常见问题
仪表盘可以互动吗?
仪表盘是静态 HTML 文件。它只展示数据,不能直接在社交媒体上进行点赞或评论等操作。
我可以选择显示哪些社交平台吗?
可以。你可以指定要包含的平台,如果不指定,默认会显示 X、LinkedIn、YouTube 和 Instagram。
数据从哪里来?
该智能体会生成合理且前后一致的数据,来模拟真实的分析仪表盘。数据基于你提供的信息,或者默认的创作者人设生成。
详情
作者的原始描述
Creator-facing social media analytics dashboard in a single HTML file. A platform switcher (X / LinkedIn / YouTube / Instagram), a row of KPI cards (followers, engagement rate, likes, reposts), a follower-growth chart, a "top post this week" preview, and a trending topics / top comments side panel. Use when the brief mentions a "social media dashboard", "creator analytics", "social analytics", or
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #958
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …