跳到正文
Skillpedia
界面(UI/UX)101k · #879

github-dashboard

它能做什么

这个工具可以创建一个可视化仪表盘,展示某个 GitHub 仓库的信息。它会呈现 Star 数、Fork 数、贡献者、近期活动和项目整体健康度等指标。

适用场景

  • ✓当你想查看一个开源项目的统计摘要时。
  • ✓当你想分析某个仓库的增长和受欢迎程度时。
  • ✓当你想快速了解一个项目的活跃度和贡献者时。

技能链接

https://github.com/nexu-io/open-design/blob/main/design-templates/github-dashboard/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/nexu-io/open-design/blob/main/design-templates/github-dashboard/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“为“facebook/react”仓库创建一个仪表盘。”

每周 5 个新技能,1 分钟读完。

工作原理

该工具会收集 GitHub 上的公开数据,比如 Star 数、Fork 数和贡献者数量。然后,它会将这些信息整理成具有特定设计风格的可视化仪表盘。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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

  1. Resolve repository scope

    • Parse owner/repo from 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.
  2. 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 by contributions descending, 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 paginate GET /repos/{owner}/{repo}/issues?state=all and filter out items with a pull_request field.
    • Pull requests: use GitHub Search API (repo:{owner}/{repo} is:pr) for total counts, or paginate GET /repos/{owner}/{repo}/pulls?state=all and count pages via the Link header.
    • 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.
  3. 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 with login, avatar, and contributions.
    • Required recentActivity: display-ready rows with title, typeText, typeClass, label, labelClass, author, authorAvatar, and updated. 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.
  4. Apply the visual system

    • Use the active DESIGN.md tokens when present.
    • If no design system is provided, use the Soft Paper defaults reflected in references/template.html: #F2F2F0 canvas, white cards, #ECECEA borders, #0A0A0A ink, 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.
  5. 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.

…

常见问题

“Star”和“Fork”是什么?

Star 相当于用户给项目点的“收藏”。Fork 则是其他用户复制一份项目,用来修改或作为基础进行开发。

这个工具会显示私有数据吗?

不会。它只使用 GitHub 上公开可用的信息,不会保存任何凭据或私有数据。

可以同时查看多个仓库的数据吗?

当前版本一次只专注于一个仓库。如果你同时要求多个,工具可能会先询问哪一个是主要仓库,或者为每个仓库分别创建一个仪表盘。

详情

作者的原始描述

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.

repo: nexu-io/open-design

热度

GitHub 星标
101k
排名
#879
许可证
Apache-2.0
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能