| name | github-dashboard |
| 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.
|
| triggers | ["github dashboard","repo dashboard","repository dashboard","github analytics","open source dashboard","github growth","ไปๅบ็ๆฟ","GitHub ็ๆฟ"] |
| od | {"mode":"prototype","platform":"desktop","scenario":"operation","preview":{"type":"html","entry":"index.html"},"design_system":{"requires":true,"sections":["color","typography","layout","components"]},"outputs":{"primary":"index.html","secondary":["template.html","data.json","artifact.json","provenance.json"]},"capabilities_required":["shell","file_write"],"example_prompt":"Build a GitHub dashboard for nexu-io/open-design โ stars, forks, contributors, issues, PRs, recent activity, and top contributors."} |
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/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.
-
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.
-
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.
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.