github-dashboard
GitHub repository analytics dashboard — stars, forks, contributors, issues, pull requests, recent activity, and top contributors. Use when the brief asks for a GitHub repo dashboard, open-source growth report, repository health page, or GitHub analytics view.
- License 许可
- Apache-2.0
- 最近更新
- 2026-07-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- od
- { "mode": "prototype", "outputs": { "primary": "index.html", "secondary": [ "template.html", "data.json", "artifact.json", "provenance.json" ] }, "preview": { "type": "html", "entry": "index.html" }, "platform": "desktop", "scenario": "operation", "design_system": { "requires": true, "sections": [ "color", "typography", "layout", "components" ] }, "example_prompt": "Build a GitHub dashboard for nexu-io/open-design — stars, forks, contributors, issues, PRs, recent activity, and top contributors.", "capabilities_required": [ "shell", "file_write" ] }
- name
- github-dashboard
- triggers
- [ "github dashboard", "repo dashboard", "repository dashboard", "github analytics", "open source dashboard", "github growth", "仓库看板", "GitHub 看板" ]
- description
- GitHub repository analytics dashboard — stars, forks, contributors, issues, pull requests, recent activity, and top contributors. Use when the brief asks for a GitHub repo dashboard, open-source growth report, repository health page, or GitHub analytics view.
02 资源文件 6
- 参考文档example.html25.4 KB
- 参考文档references/artifact-example.json338 B
- 参考文档references/example-data.json3.7 KB
- 参考文档references/provenance-example.json3.2 KB
- 参考文档references/README.md677 B
- 参考文档references/template.html27.4 KB
03 SKILL.md 正文
GitHub Dashboard Skill
Create a single-screen GitHub repository analytics dashboard in the FlowAI / Soft Paper Workspace visual style: warm off-white canvas, white rounded panels, a fixed left sidebar, compact KPI cards, pastel pills, dense tables, and low-contrast hairlines.
Resource map
github-dashboard/
├── SKILL.md
├── example.html ← rendered reference dashboard
└── references/
├── template.html ← live-artifact-compatible HTML template
├── example-data.json ← normalized public GitHub data shape
├── artifact-example.json ← minimal live-artifact create input
└── provenance-example.json ← safe source/provenance example
When to use this skill
Use this when the user asks for a dashboard or report about a single GitHub repository, for example:
- repository growth dashboard
- open-source project health report
- GitHub stars / forks / contributors analytics
- issue and pull-request activity page
- maintainer / contributor dashboard
If the user asks for refreshability, source auditability, or scheduled updates, produce the live-artifact source set (template.html, data.json, artifact.json, provenance.json) and follow the live-artifact contract. If they only need a visual artifact, produce a self-contained index.html.
Workflow
-
Resolve repository scope
- Parse
owner/repofrom the brief. - This v1 skill is scoped to one repository. If multiple repositories are requested, ask the user to pick the primary repository or create one dashboard per repository.
- If the repo is missing, ask one concise question for the GitHub URL or
owner/repo.
- Parse
-
Collect public GitHub data
- Prefer GitHub CLI/API for public repository data when available.
- Current stars/forks/watchers/open issue count:
GET /repos/{owner}/{repo}(stargazers_count,forks_count,watchers_count,open_issues_count). - Contributors: paginate
GET /repos/{owner}/{repo}/contributors?per_page=100&page=N, sort bycontributionsdescending, and take the top N used by the dashboard. If only page 1 is available, label totals as first-page estimates. - Issues: use GitHub Search API (
repo:{owner}/{repo} is:issue) for total counts, or paginateGET /repos/{owner}/{repo}/issues?state=alland filter out items with apull_requestfield. - Pull requests: use GitHub Search API (
repo:{owner}/{repo} is:pr) for total counts, or paginateGET /repos/{owner}/{repo}/pulls?state=alland count pages via theLinkheader. - Recent activity: combine the newest issues and pull requests, normalize them into display-ready rows, and cap the preview list at 5–10 items.
- Growth/delta metrics: GitHub REST does not expose complete historical star/fork deltas. Use GraphQL, stargazer event snapshots, the Events API where available, or explicitly mark deltas as estimated/synthetic in
provenance.json. - Do not store auth tokens, raw HTTP envelopes, cookies, rate-limit headers, or private metadata.
-
Normalize into dashboard data
- Required
repository:name,fullName,url,description,language,license,created,lastUpdated. - Required
metrics: stars, forks, contributors, issues, pull requests. Store display-ready totals plus small deltas or growth notes. - Required
contributors: top 5–8 contributors withlogin,avatar, andcontributions. - Required
recentActivity: display-ready rows withtitle,typeText,typeClass,label,labelClass,author,authorAvatar, andupdated. Do not rely on template conditionals for issue/PR switching. - Chart data can be synthetic only when GitHub does not expose the exact history; document the transformation in provenance.
- Required
-
Apply the visual system
- Use the active
DESIGN.mdtokens when present. - If no design system is provided, use the Soft Paper defaults reflected in
references/template.html:#F2F2F0canvas, white cards,#ECECEAborders,#0A0A0Aink, Geist/Inter typography, 256px sidebar, 48px topbar, and 16px card radius. - Keep color small and semantic: green for healthy metrics, amber for warning, blue for feature/PR labels, red only for defects or risk.
- Use the active
-
Lay out the page
- Shell: 256px sidebar + main panel, both white, rounded 16px, 1px hairline border.
- Topbar: repo context on the left, refresh/export/action affordances on the right.
- Header: repository name, description, and date/settings/actions row.
- KPI strip: 5 compact cards for stars, forks, contributors, issues, PRs.
- Main grid: 2fr/1fr split with a growth chart or activity table on the left and top contributors/health cards on the right.
- Footer: provenance/last-updated note in small muted text.
-
Write the artifact
- For a static artifact, write one self-contained
index.htmlwith inline CSS and no external JS libraries. - For a live artifact, write
template.html,data.json,artifact.json, andprovenance.json;index.htmlis derived by the daemon. - Tag major regions with stable
data-od-idvalues:sidebar,topbar,repo-header,kpi-strip,growth-chart,contributors,activity,provenance.
- For a static artifact, write one self-contained
Visual rules
- Light mode only.
- 256px fixed sidebar on desktop; stack on narrow screens.
- 4 or 5 KPI cards in the first row.
- Use tabular lining numerals for all counts.
- Avatars are circular, 28–32px in tables and contributor lists.
- Tables use 13px body text, 11px uppercase column labels, 1px row dividers.
- Cards use hairline borders and a barely visible shadow at most:
0 1px 2px rgba(10,10,10,.04), 0 1px 1px rgba(10,10,10,.02). - Do not use gradients except tiny workflow/repo icon placeholders.
- Do not make the page look like GitHub itself. This is a custom operational dashboard, not a GitHub UI clone.
Self-check
- Every metric has a source or a provenance note.
- No private data or credentials are persisted.
- Data labels are specific to the repository, not placeholders.
- The screen still reads clearly at 50% zoom.
- The dashboard uses at most one solid black primary action per area.
- Status labels and issue/PR chips are pastel pills, not saturated badges.
04 同仓库更多 Skills
web-design-guidelines
Review UI code for Web Interface Guidelines compliance by the Vercel engineering team. Covers layout, typography, color, motion, and accessibility for product UI.
web-clone
网站复刻 / 克隆方法论。USE WHEN 用户说 复刻网站、克隆网站、clone website、抄个站、仿站、 照着这个站做一个、reproduce site、还原某个网页效果、把这个站搬下来改成我的、 复刻某个交互/WebGL/Canvas/Three.js 效果。提供「先拿真源码 → 判路径 → 逆向拆解 → 搭工程 → 替换内容」的可移植决策树,覆盖静态站 / React-Vue-Next 内容站 / WebGL-Canvas 重前端站三大分支,并强制核对任何 AI 二手分析里的可执行代码。
venice-video
Video generation and transcription workflows via the Venice.ai API.
venice-image-generate
Image generation endpoints and available styles via the Venice.ai API.
threejs
Three.js skills for creating 3D elements and interactive experiences in the browser — scenes, materials, controls, and post-processing.
taste
Brief-time anti-AI-slop taste checklist — read the room and set the design dials BEFORE generating a landing page, portfolio, or redesign, so the first draft doesn't need a post-generation rescue. Use at the start of a visual/creative brief, not after the artifact exists.