Skip to content
Skills Library
Marketing & content · Conversion & formats

github-repo-cards

/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.

Repository
agentseek ↗
Licence
Apache-2.0
Last repository change
08.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
2
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 08.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/gh_repo_card.py, scripts/gh_trending_card.py

What it does and when to use it

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.

Original author 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.

How it works

  1. Capabilities
  2. Workflows
  3. Output
  4. Requirements
Original SKILL.md headings · 57 lines, 273 words
SKILL.md preview
---
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."
---

# GitHub Repo Cards

Generate beautiful GitHub-style SVG card images for repositories or trending projects, then convert them to PNG.

## Capabilities

1. **Repo Card** — given `<org>/<repo>`, produce a card showing:
   - Basic info (name, description, language, license)
   - Star & commit activity sparkline
   - Top N contributors (avatars + commit counts)
   - A customisable "analysis" text block

2. **Trending Card** — fetch today's trending repos and render a list card with:
   - Repo name, description, language badge
   - Star / fork counts
   - Recent commit activity sparkline (mini bar chart)

## Workflows

### Generate a Repo Card

```
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:
1. Call `gh` to fetch repo metadata, stargazer counts, commit activity, and top contributors.
2. Render an SVG card with all the information.
3. Convert the SVG to PNG via `rsvg-convert` (falls back to ImageMagick `convert`).

### Generate a Trending Card

```
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:
1. Scrape GitHub trending page (or use `gh api` search with recent star sorting).
2. Render a multi-row SVG list card.
3. Convert to PNG.

## Output

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.

## Requirements

- `gh` CLI authenticated (`gh auth status`)
- `rsvg-convert` (librsvg) **or** ImageMagick `convert` for SVG→PNG
- Python ≥ 3.12, run via `uv run` (PEP 723 inline metadata)
Files in this package (3)
  • SKILL.md 2 KB
  • scripts/gh_repo_card.py 23 KB
  • scripts/gh_trending_card.py 18 KB

Versions

The database has no other skills named github-repo-cards.

Database snapshot: 13.11.2026 · package version 41614726033d (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100githubcard
    Create embeddable GitHub profile and repository card images with the ghcard CLI, design custom card layouts, and add them to README files. Use when the user wants a GitHub stats card, a profile card, a repo card or banner, a social preview image for a repository, or to put such…
  • 100github-social-preview
    Generate 1280x640 PNG social preview images for GitHub repos using nano-banana-pro. Use when asked for social preview, Open Graph image, or repo images for social media.
  • 100github-weekly-trending
    解读用户粘贴的 GitHub 每周 Trending 或开源项目榜单内容,基于用户提供的候选项目、项目 README、GitHub 项目页和 DeepWiki 生成适合公众号发布的 Markdown 文章,并输出到当前项目 markdown 目录。用于 GitHub 周榜解读、每周开源热点、热门开源项目分析、公众号开源项目推荐。
  • 95gh-trending-cli
    Use cli-web-gh-trending to answer questions about GitHub Trending — trending repositories, trending developers, filtering by programming language (python, javascript, typescript, rust, go, etc.), time ranges (daily, weekly, monthly), and spoken language. Invoke this skill…
  • 100beautiful-mermaid
    Render Mermaid diagrams as SVG and PNG using the Beautiful Mermaid library. Use when the user asks to render a Mermaid diagram.
  • 95image
    Image renderer for json-render that turns JSON specs into SVG and PNG images via Satori. Use when working with @json-render/image, generating OG images from JSON, creating social cards, or rendering AI-generated image specs.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.