Communitygithub.com

splatstudio — GitHub 仓库仪表盘技能

为单个 GitHub 仓库创建单屏分析仪表盘,展示星星、分支、贡献者、议题、PR 以及近期活动。适用于用户需要仓库增长看板、开源项目健康报告、仓库健康页面或 GitHub 分析视图的场景。

splatstudio — GitHub 仓库仪表盘技能 是什么?

该技能可根据用户提供的 GitHub 仓库(owner/repo)自动生成单屏分析仪表盘。它通过 GitHub REST API 或 GitHub CLI 获取公开数据,包括星标数、分支数、贡献者列表、议题总数、拉取请求总数以及近期活动。数据经过规范化后,使用“Soft Paper Workspace”视觉风格(暖白画布、白色圆角面板、固定侧栏、紧凑型 KPI 卡片、柔和色彩标签、密集表格和低对比度细线)渲染为 HTML 页面。生成的仪表盘既可作为独立静态页面(index.html)交付,也可作为“动态构件”套件(template.html、data.json、artifact.json、provenance.json)交付,支持后续的刷新审计和定时更新。该技能强制要求注明数据来源和转换说明,不存储任何私有凭据,且仪表盘外观刻意区别于 GitHub 原生 UI,以保持自定义运营仪表盘的定位。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/aurora-ember-bio-lab/splatstudio/tree/HEAD/design-templates/github-dashboard

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

GitHub 仪表盘技能

在 FlowAI / Soft Paper Workspace 视觉风格中创建单屏 GitHub 仓库分析仪表盘:暖白画布、白色圆角面板、固定左侧边栏、紧凑型 KPI 卡片、柔和色药丸标签、密集表格和低对比度细线。

资源映射

github-dashboard/
├── SKILL.md
├── example.html                         ← 渲染的参考仪表盘
└── references/
    ├── template.html                    ← 与动态构件兼容的 HTML 模板
    ├── example-data.json                ← 规范化的公开 GitHub 数据结构
    ├── artifact-example.json            ← 最小动态构件创建输入
    └── provenance-example.json          ← 安全来源/溯源示例

何时使用此技能

当用户请求关于单个 GitHub 仓库的仪表盘或报告时使用,例如:

  • 仓库增长仪表盘
  • 开源项目健康报告
  • GitHub 星标/分支/贡献者分析
  • 议题和拉取请求活动页面
  • 维护者/贡献者仪表盘

如果用户要求可刷新、来源可审计或定时更新,则生成动态构件源文件(template.html、data.json、artifact.json、provenance.json)并遵循“动态构件”协议。如果用户只需要视觉构件,则生成一个自包含的 index.html。

工作流程

  1. 解析仓库范围

    • 从用户请求中解析 owner/repo。
    • 此 v1 技能针对单个仓库。如果要求多个仓库,请用户选择主仓库,或为每个仓库创建一个仪表盘。
    • 如果缺少仓库,用一句简洁的问题询问 GitHub URL 或 owner/repo。
  2. 收集公开 GitHub 数据

    • 尽可能优先使用 GitHub CLI/API 获取公开仓库数据。
    • 当前星标/分支/Watchers/打开议题数:GET /repos/{owner}/{repo}(stargazers_count、forks_count、watchers_count、open_issues_count)。
    • 贡献者:分页请求 GET /repos/{owner}/{repo}/contributors?per_page=100&page=N,按 contributions 降序排列,取仪表盘使用的前 N 个。如果只有第一页数据可用,则将总数标记为第一页估计值。
    • 议题:使用 GitHub 搜索 API(repo:{owner}/{repo} is:issue)获取总数,或分页请求 GET /repos/{owner}/{repo}/issues?state=all 并过滤掉包含 pull_request 字段的项。
    • 拉取请求:使用 GitHub 搜索 API(repo:{owner}/{repo} is:pr)获取总数,或分页请求 GET /repos/{owner}/{repo}/pulls?state=all 并通过 Link 头部计算页面数。
    • 近期活动:合并最新的议题和拉取请求,规范化为可显示的行,预览列表限制在 5–10 条。
    • 增长/增量指标:GitHub REST 不暴露完整的星标/分支历史增量。使用 GraphQL、星标事件快照、Events API(若可用),或明确标记增量为“估计/合成”并在 provenance.json 中说明。
    • 不存储认证令牌、原始 HTTP 信封、Cookie、速率限制头部或私有元数据。
  3. 规范化为仪表盘数据

    • 必填 repository:name、fullName、url、description、language、license、created、lastUpdated。
    • 必填 metrics:星标数、分支数、贡献者数、议题数、拉取请求数。存储可显示的总数以及小的增量或增长说明。
    • 必填 contributors:前 5–8 位贡献者,包含 login、avatar 和 contributions。
    • 必填 recentActivity:可显示的行,包含 title、typeText、typeClass、label、labelClass、author、authorAvatar 和 updated。不依赖模板条件判断进行议题/PR 切换。
    • 图表数据仅在 GitHub 不提供精确历史时可为合成数据;需在 provenance 中记录转换方式。
  4. 应用视觉系统

    • 使用当前 DESIGN.md 中的令牌(如果存在)。
    • 如果没有提供设计系统,则使用 references/template.html 中的 Soft Paper 默认值:#F2F2F0 画布、白色卡片、#ECECEA 边框、#0A0A0A 墨水、Geist/Inter 字体、256px 侧边栏、48px 顶部栏、16px 卡片圆角。
    • 保持颜色量少且语义清晰:绿色表示健康指标,琥珀色表示警告,蓝色表示功能/PR 标签,红色仅用于缺陷或风险。
  5. 布局页面

    • 外壳:256px 侧边栏 + 主面板,均为白色,圆角 16px,1px 细线边框。
    • 顶部栏:左侧显示仓库上下文,右侧提供刷新/导出/操作按钮。
    • 头部:仓库名称、描述以及日期/设置/操作行。
    • KPI 条:5 张紧凑卡片,分别显示星标数、分支数、贡献者数、议题数、PR 数。
    • 主网格:2fr/1fr 分割,左侧为增长图表或活动表格,右侧为顶级贡献者/健康卡片。
    • 页脚:用小号浅色文字显示来源/最后更新说明。
  6. 编写构件

    • 对于静态构件,生成一个自包含的 index.html,内联 CSS,不依赖外部 JS 库。
    • 对于动态构件,生成 template.html、data.json、artifact.json 和 provenance.json;index.html 由守护进程派生。
    • 为主要区域标记稳定的 data-od-id 值:sidebar、topbar、repo-header、kpi-strip、growth-chart、contributors、activity、provenance。

视觉规则

  • 仅亮色模式。
  • 桌面端 256px 固定侧边栏;窄屏上堆叠显示。
  • 第一行展示 4 或 5 张 KPI 卡片。
  • 所有计数使用等宽衬线数字。
  • 头像为圆形,在表格和贡献者列表中大小为 28–32px。
  • 表格正文 13px,列标签 11px 大写,行分隔线 1px。
  • 卡片使用细线边框,阴影最多为:0 1px 2px rgba(10,10,10,.04), 0 1px 1px rgba(10,10,10,.02)。
  • 不使用渐变,除了小型工作流/仓库图标占位符。
  • 不使页面看起来像 GitHub 本身。这是自定义运营仪表盘,不是 GitHub UI 克隆。

自检

  • 每个指标都有来源或溯源说明。
  • 不持久化任何私有数据或凭证。
  • 数据标签针对具体仓库,不是占位符。
  • 在 50% 缩放时屏幕仍清晰可读。
  • 仪表盘每个区域最多使用一个纯黑色主要操作按钮。
  • 状态标签和议题/PR 徽章为柔和色药丸,不使用饱和徽章。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

aurora-ember-bio-lab/splatstudio

Audio generation skill — jingles, beds, voiceover, and sound effects. Routes music requests to Suno V5 / Udio / Lyria, speech to MiniMax TTS / FishAudio / ElevenLabs V3, and SFX to ElevenLabs SFX or AudioCraft. Output is one MP3/WAV file saved to the project folder.

aurora-ember-bio-lab/splatstudio

A long-form article / blog post — masthead, hero image placeholder, article body with figures and pull quotes, author byline, related posts. Use when the brief asks for "blog", "article", "post", "essay", or "case study".

aurora-ember-bio-lab/splatstudio

Structured medical case presentation for clinical rounds, conferences, and documentation. Generates SOAP-format or narrative case reports with physiologically accurate vitals, labs, and evidence-based plans. Use when the brief mentions "case report", "case presentation", "SOAP note", "clinical case", "ward rounds", "case summary", or "patient presentation".

aurora-ember-bio-lab/splatstudio

Self-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.

aurora-ember-bio-lab/splatstudio

Run a 5-dimension expert design review on any HTML artifact in the project — Philosophy / Visual hierarchy / Detail / Functionality / Innovation, each scored 0–10. Outputs a single self-contained HTML report with a radar chart, evidence-backed scores, and three lists: Keep / Fix / Quick-wins. Use when the brief asks for a "design review", "design critique", "5 维度评审", "design audit", or "what's wrong with my design".

aurora-ember-bio-lab/splatstudio

Admin / analytics dashboard in a single HTML file. Fixed left sidebar, top bar with user/search, main grid of KPI cards and one or two charts. Use when the brief asks for a "dashboard", "admin", "analytics", or "control panel" screen.

aurora-ember-bio-lab/splatstudio

A consumer-feeling dating / matchmaking dashboard — left rail navigation, ticker bar of community signals, headline KPIs, a 30-day mutual-matches bar chart, and a match-rate trend block. Editorial typography, restrained accent. Use when the brief asks for a "dating site", "matchmaking", "community dashboard", "social network dashboard", or any consumer product where the data is the story.

aurora-ember-bio-lab/splatstudio

Discounted cash flow valuation and intrinsic value analysis for public companies. Use when the brief asks for DCF, fair value, intrinsic value, price target, undervalued or overvalued analysis, or "what is this company worth?"

aurora-ember-bio-lab/splatstudio

A two-spread digital e-guide preview — page 1 is a cover (display title, author, "What's inside" stats, table of contents teaser); page 2 is a spread (lesson body with pull-quote and a step list). Lifestyle / creator brand tone. Use when the brief asks for an "e-guide", "digital guide", "lookbook", "lead magnet", "creator guide", "playbook", "PDF guide", or "电子指南".

aurora-ember-bio-lab/splatstudio

A documentation page — inline-start nav, scrollable article body, inline-end table of contents. Use when the brief mentions "docs", "documentation", "guide", "API reference", or "tutorial".

aurora-ember-bio-lab/splatstudio

A brand product-launch email — masthead with wordmark, hero image block, headline lockup with skewed-italic accent, body copy, primary CTA, and a specifications grid. Pure HTML email layout (centered single column, table fallback). Use when the brief asks for an "email", "newsletter blast", "MJML", "product launch email", or "email template".

aurora-ember-bio-lab/splatstudio

An engineering runbook — service overview, alerts table, dashboards links, common procedures with copy-pasteable commands, on-call rotation, and an incident-response checklist. Use when the brief mentions "runbook", "ops doc", "on-call guide", "SRE doc", or "运维手册".

aurora-ember-bio-lab/splatstudio

Quarterly / monthly financial report — masthead with KPIs, revenue and burn charts, P&L summary table, top-line highlights, and an outlook paragraph. Use when the brief mentions "financial report", "Q3 report", "MRR review", "P&L", or "财报".

aurora-ember-bio-lab/splatstudio

Team-management dashboard skill in the FlowAI aesthetic — three tabs (Team Members, Team Details, Activity Log), KPI stat row, member table, role distribution bar chart, online presence and activity sparklines, and a top-contributors panel, all in a single self-contained HTML file with light/dark theming, hoverable chart tooltips, click-to-zoom panels, and CSV export. Use when the brief asks for a team / workspace admin dashboard, an interactive admin dashboard with charts, or names FlowAI.

aurora-ember-bio-lab/splatstudio

A multi-frame gamified mobile-app prototype — three phone frames on a dark showcase stage. Frame 1: cover / poster, Frame 2: today's quests with XP ribbons and a level bar, Frame 3: quest detail. Vivid quest tiles, level ribbon, bottom tab bar. Use when the brief asks for a "gamified app", "habit tracker", "RPG-style life app", "level-up app", "daily quests", "XP / streak app", or "ELI5-style explainer app".

aurora-ember-bio-lab/splatstudio

For marketing and gtm work: bind launches, campaigns, events, and brand plans to growth and pipeline outcomes. Built around the core query "annual-marketing-plan", with GTM strategy lead judgment, buyer-ready proof, and this outcome: approve launch plan, campaign budget, or GTM motion.

aurora-ember-bio-lab/splatstudio

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

aurora-ember-bio-lab/splatstudio

A first-30-days onboarding module for new hospitality hires — the behaviors, the practice, the checks, and the manager follow-up. Built as a decision-grade professional training deck for new hires, managers.

aurora-ember-bio-lab/splatstudio

Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

aurora-ember-bio-lab/splatstudio

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

相关技能