GitHubCard
БесплатноБез исполняемых скриптовНе проверен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…
от cactusinhand235 установок в других каталогахОб этом скилле
GitHubCard cards with ghcard
ghcard turns a GitHub username or owner/repo into a published card image
with stable SVG/PNG links and ready-made Markdown/HTML embeds. Card images
show live GitHub data, so a card never needs regenerating to stay current.
Before you start
- Check the CLI is installed:
ghcard --version(this skill is written for 0.1.0 or later). If it is missing and Node.js 20+ is available, run it through npx without installing: replaceghcardwithnpx -y @ghcardhq/ghcardin every command below. Suggestnpm install -g @ghcardhq/ghcardto the user if they will use it again; do not install global packages without asking. - Check auth:
ghcard auth status --json.- Exit code 3 /
NO_API_KEYorUNAUTHORIZED: the user needs a key from https://githubcard.com/dashboard. Ask them to runghcard auth loginthemselves, or to setGHCARD_API_KEY. Never ask the user to paste the key into the chat, and never echo, log, or write a key into a file in the repository. - Listing templates/palettes works without a key.
- Exit code 3 /
Always pass --json and read stdout as one JSON document:
{"ok": true, "data": ...} or
{"ok": false, "error": {"code", "message", "retryable", "hint"}}.
Main flows
Card for a profile or repo (the common case):
ghcard create octocat --json
ghcard create octocat/hello-world --json
Use data.urls.svg / data.urls.png for links and data.embed.markdown
for a README. data.created is false when the identical card already
existed, which is expected and fine.
Add it to a README (inserts after the first heading, or replaces the
existing <!-- ghcard:<subject> --> block on later runs):
ghcard create octocat --readme README.md --json
For a GitHub profile README the file lives in the repo named after the
user (<user>/<user>/README.md). Show the user the diff before
committing; do not commit or push unless they ask.
Choose a look only if the user cares about style:
ghcard templates --scope profile --free --json # or --scope repo
ghcard templates --scope profile --free --widget streak --json # must contain these widgets
ghcard palettes --json
ghcard create octocat --template pro-terminal --palette sage --json
Each template lists its widgets. --palette takes only preset ids; for
any other background colour, font, size, or widget changes, use a custom
layout (below). When several templates qualify, start from the one whose
size and widgets need the fewest edits.
Template scope must match the subject: profile templates for a user,
repo templates for owner/repo (templates with scope all fit both).
Prefer templates with "pro": false unless the user has Pro
(ghcard usage --json → data.tier).
Custom layout when the user wants specific widgets, colours, fonts, or sizes that no template has:
ghcard components --json # widget types
ghcard design init social --subject octocat -o design.json --json # template as JSON (free, no quota)
# edit design.json: artboard (width, height, background.color, style.*) and layers[]
ghcard create octocat --design design.json --dry-run --json # free check: ids, Pro features, layout
ghcard create octocat --design design.json --json # publish it
Always --dry-run an edited design first: it catches every request error
without creating a card or using quota, and data.warnings lists layers
that reach outside the artboard (they would be clipped). Fix warnings
before publishing. When you darken or lighten the background a lot, also
set artboard.style.textColor / secondaryTextColor so text stays readable.
Prefer a template that already has exactly the widgets the user wants
(--widget to filter, then check each candidate's widgets for ones to
avoid); edit layers only when no template fits.
Editing rules (ghcard design --help has the full list):
- Layers are absolutely positioned (
x,y,width,height). Removing one leaves its space empty; widen or move neighbours to fill it. - Keep each layer's
idunique and itstypefromghcard components.layeris only stacking order; gaps are fine. - The subject inside the file is ignored; the
createargument decides whose data is shown.showWatermarkis decided by the server. artboard.background.coloris a full CSS background: a hex colour, or a gradient/pattern such asradial-gradient(...) 0 0 / 22px 22px #0d1117. Replacing it with a hex removes the template's texture; to keep the texture, change only the trailing base colour.- Any plain solid colour (
"#14213d") is free; gradients and patterns are free only when they are a free preset, aghcard palettespalette, or a free template's own background. On Free, the editor's Pro fonts and background presets fail withPRO_FEATURE; fonts and backgrounds that free templates already use are fine.
To change an existing card: `
Установить GitHubCard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл GitHubCard?
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 a card in a README or profile README (github.com/<user>/<user>). Also covers listing, deleting, and checking quota for GitHubCard cards.
Как установить скилл GitHubCard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл GitHubCard запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic