with one click
github-repo-cards
// Fetching GitHub repo or trending info via gh CLI and rendering beautiful SVG/PNG card images. Use when asked to visualize repo stats, trending repos, or generate GitHub-style cards.
// Fetching GitHub repo or trending info via gh CLI and rendering beautiful SVG/PNG card images. Use when asked to visualize repo stats, trending repos, or generate GitHub-style cards.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | github-repo-cards |
| description | Fetching GitHub repo or trending info via gh CLI and rendering beautiful SVG/PNG card images. Use when asked to visualize repo stats, trending repos, or generate GitHub-style cards. |
Generate beautiful GitHub-style SVG card images for repositories or trending projects, then convert them to PNG.
Repo Card — given <org>/<repo>, produce a card showing:
Trending Card — fetch today's trending repos and render a list card with:
uv run scripts/gh_repo_card.py <org>/<repo> [--top-n 5] [--analysis "Your analysis text here"] [--output card.svg]
The script path is relative to this skill directory:
skills/github-repo-cards/scripts/gh_repo_card.py
This will:
gh to fetch repo metadata, stargazer counts, commit activity, and top contributors.rsvg-convert (falls back to ImageMagick convert).uv run scripts/gh_trending_card.py [--language python] [--since daily] [--limit 10] [--output trending.svg]
The script path is relative to this skill directory: scripts/gh_trending_card.py
This will:
gh api search with recent star sorting).SVG and PNG files are written to the current working directory (or the path given by --output). The PNG file shares the same base name.
gh CLI authenticated (gh auth status)rsvg-convert (librsvg) or ImageMagick convert for SVG→PNGuv run (PEP 723 inline metadata)