
github-profile-beautifier
Use when creating or improving a GitHub profile README — themed stats cards, project showcase, tech-stack badges, and typing banner. 5 themes, smart project ranking (snake contribution graph needs separate setup).
- Installs
- 570
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/wu529778790/shenzjd-skills --skill github-profile-beautifier- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads github-profile-beautifier automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
GitHub Profile Beautifier
一键生成漂亮的 GitHub 个人主页 README。自动检测仓库、分析技术栈、智能推荐项目和主题。
Overview
根据用户的 GitHub 数据(仓库、语言、star),自动生成带统计卡片、项目展示、技术栈徽章的个人主页 README。依赖 gh CLI 获取数据,输出完整的 README.md 文件。提供 5 种主题和 3 种排序方式。
When to Use
- User wants to create a GitHub profile page (with or without existing README)
- User wants to generate a new GitHub profile README
- User wants to beautify an existing README
- User wants to showcase projects and tech stack
- User inputs
/github-profile-beautifier [username] - User wants to improve their GitHub profile for job applications
- User wants to add stats cards and contribution graphs
- User wants to highlight specific projects for recruiters
- User wants a professional-looking profile with tech stack visualization
When NOT to Use:
- User only wants to make small edits to an existing README
- User already has a perfect README and just wants minor tweaks
- User wants to create a personal page on a non-GitHub platform (e.g., personal website, blog)
- User wants to generate a resume or CV (different tooling)
- User wants to create a portfolio website (use GitHub Pages or Netlify)
Core Pattern
Step 0: 解析参数
从用户输入中提取 username、--sort(默认 smart)、--theme(默认 radical)。缺少参数时交互式询问。
Step 1: 获取用户信息
# 检查 gh CLI
if ! command -v gh >/dev/null 2>&1; then
echo "⚠️ gh CLI 未安装"
echo "安装方式: brew install gh"
echo "或使用 GitHub API 作为备选方案"
# 备选方案:使用 GitHub API
if command -v curl >/dev/null 2>&1 && command -v python3 >/dev/null 2>&1; then
echo "使用 GitHub API 获取用户信息..."
curl -s "https://api.github.com/users/$USERNAME" | python3 -c "
import sys,json
data=json.load(sys.stdin)
print(f'Login: {data.get(\"login\",\"N/A\")}')
print(f'Name: {data.get(\"name\",\"N/A\")}')
print(f'Bio: {data.get(\"bio\",\"N/A\")}')
"
else
echo "❌ 无法获取用户信息,请安装 gh CLI,或 curl + python3"
exit 1
fi
else
# 验证用户存在
gh api users/$USERNAME > /dev/null 2>&1 || { echo "用户不存在"; exit 1; }
# 捕获用户信息和仓库到变量(供 Step 3 模板填充)
USER_JSON=$(gh api users/$USERNAME)
LOGIN=$(echo "$USER_JSON" | jq -r '.login // ""')
NAME=$(echo "$USER_JSON" | jq -r '.name // ""')
BIO=$(echo "$USER_JSON" | jq -r '.bio // ""')
REPOS_JSON=$(gh repo list $USERNAME --limit 50 --json name,description,primaryLanguage,url,updatedAt,stargazerCount,isFork)
fi
Step 2: 分析仓库
- 筛选非 fork 仓库(全部是 fork 则用所有仓库)
- 排序方式:
stars(按 star)、updated(按更新时间)、smart(综合 star + 更新时间 + 描述质量) - 统计语言分布
Step 3: 准备模板数据
所有模板共享:username, name, bio, typing_lines, website, blog, email, linkedin
项目变量:projects(name, description, url, stars, tech)
技术栈变量区分:
- radical / tokyonight / dracula / minimalist →
languages+tools - professional →
frontend+backend+tools(需按语言分类前后端)
语言/工具颜色从 templates/themes.json 获取。联系方式字段可选,模板用 {{#if}} 处理空值。
Step 4: 生成 README
读取对应主题模板,填充变量,输出完整 README.md。
可用主题模板:templates/radical.md(炫彩)、templates/tokyonight.md(蓝紫)、templates/dracula.md(暗紫)、templates/minimalist.md(极简)、templates/professional.md(商务)。所有主题共享 templates/themes.json 颜色配置和 templates/README.md 模板文档。
Snake 贡献图: 深色主题包含蛇形贡献图,需用户先 fork platane/snk 并配置 GitHub Actions,否则显示 404。
Quick Reference
| 参数 | 说明 | 默认值 |
|---|---|---|
username | GitHub 用户名 | 交互式询问 |
--sort | stars / smart / updated | smart |
--theme | radical / tokyonight / dracula / minimalist / professional | radical |
/github-profile-beautifier username
/github-profile-beautifier username --sort stars --theme tokyonight
Common Mistakes
| 错误 | 正确做法 | 原因 |
|---|---|---|
| 使用外部 API 获取统计数据 | 使用 gh 命令本地获取 | API 可能不稳定 |
| 硬编码主题颜色 | 从 themes.json 读取 | 方便用户自定义 |
| 展示所有仓库 | 智能推荐 Top 5 | 避免信息过载 |
| 不检查 gh CLI 是否安装 | 先检查再执行 | 避免运行时错误 |
| 不处理用户不存在的情况 | 先验证用户存在性 | 避免无效操作 |
| 列出 fork 仓库作为主要项目 | 筛选非 fork 仓库 | fork 不代表个人能力 |
| 忘记配置 snake 贡献图 | 提示用户 fork platane/snk | 深色主题会显示 404 图片 |
| 语言分类前后端搞混 | professional 主题按功能分类 | 仅按语言分类无法体现架构能力 |
| 不处理空 bio 字段 | 模板用 {{#if}} 跳过空值 | 空字段显示为奇怪的占位符 |
FAQ
What does the github-profile-beautifier skill do?
Use when creating or improving a GitHub profile README — themed stats cards, project showcase, tech-stack badges, and typing banner. 5 themes, smart project ranking (snake contribution graph needs separate setup).
How do I install github-profile-beautifier?
Run npx skills add https://github.com/wu529778790/shenzjd-skills --skill github-profile-beautifier in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/github-profile-beautifier/ (personal) or .claude/skills/github-profile-beautifier/ (project).
Which AI agents can use github-profile-beautifier?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is github-profile-beautifier safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains github-profile-beautifier?
It is published by wu529778790 in wu529778790/shenzjd-skills. It has 570 recorded installs.
More from wu529778790/shenzjd-skills
docker-build-deploy
wu529778790/shenzjd-skills
Use when containerizing a Node.js app and setting up GitHub Actions CI/CD to build, push to GHCR, and deploy via SSH. Multi-stage build, non-root user, caching.
dependency-audit
wu529778790/shenzjd-skills
Use when auditing project dependencies for security vulnerabilities, outdated packages, or license compliance across npm/yarn/pnpm, pip, go, and cargo.
git-hooks-setup
wu529778790/shenzjd-skills
Use when setting up git hooks (pre-commit, commit-msg, pre-push) with husky or native hooks for linting, formatting, commit conventions, and secret scanning.
db-migration-helper
wu529778790/shenzjd-skills
Use when generating database migration SQL from model or schema changes — compares current vs desired schema, detects diffs, outputs reversible safe migrations.
api-doc-generator
wu529778790/shenzjd-skills
Use when generating OpenAPI/Swagger API docs from existing code — scans routes/annotations, extracts params and responses, outputs a YAML/JSON spec.
performance-profiler
wu529778790/shenzjd-skills
Use when profiling a Node/Go/Python project for performance bottlenecks — bundle size, dependency bloat, large files, unused code — and outputting prioritized optimization recommendations.
Popular docs & writing skills
grill-with-docs
mattpocock/skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
lark-markdown
open.feishu.cn
飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。
writing-beats
mattpocock/skills
Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.
writing-shape
mattpocock/skills
Writing, exploit: shape raw material into an article, paragraph by paragraph.
writing-fragments
mattpocock/skills
Writing, explore: mine raw fragments, no structure yet.
writing-for-agents
mattpocock/skills
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.