跳到正文
cccskills
免费在 GitHub 公开中文介绍

animated-github-profile

为 GitHub 个人资料 README 制作并嵌入动画横幅、摇摆证件卡和技术图示,也可切换明暗主题,并用 GitHub Actions 自动更新活动记录可视化。

原文查看原文说明

Build high-impact, animated GitHub profile READMEs that play like mini-movies using pure SVG, CSS, and SMIL animations. Covers dark/light theme switching, swinging lanyard ID badges, tech orbits, local stat cards, and automated contribution graphs.

sickn33/agentic-awesome-skills星标 48,730(GitHub 48,730 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • 更新 GitHub 个人介绍
  • 制作适配明暗主题的图片
  • 自动更新活动记录图示
  • 用图示介绍技术和代表项目

中文介绍

功能

本技能介绍如何制作动态个人资料素材,并将其加入 GitHub 个人资料 README。它使用 SVG、CSS 和 SVG 内置的 SMIL 动画功能,制作文字逐渐出现的横幅、摇摆的证件卡,以及技术名称环绕运行的图示。内容还包括明暗主题对应图片的切换,以及通过 GitHub Actions 可视化活动记录。

适用场景

如果您要重新设计个人资料,或希望用图像展示擅长领域和代表项目,可以使用本技能。相关步骤也考虑了更新图片后仍显示旧内容、文字被截断,以及关闭动画的环境中如何显示等情况。

使用示例

  • “请制作支持明暗主题的横幅和摇摆证件卡,并将它们放入 README。”
  • “请用蛇形动画展示活动记录,并设置 GitHub Actions 每天更新。”

注意事项

GitHub README 无法运行 JavaScript。自动更新活动记录需要配置 GitHub Actions 和写入权限。复杂的 SVG 可能增加移动设备的负载。许可证为 MIT。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
B部分不足工作流示例授予 contents: write,但权限审查步骤有限。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足提到图像生成工具和 GitHub Actions,但设置说明不完整。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月24日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(1)

  • SKILL.md17.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Animated GitHub Profile Skill

A comprehensive guide and agent instruction set for designing, generating, and deploying animated GitHub profile READMEs that work within GitHub's JavaScript restrictions using pure SVG and CSS/SMIL animations.


When to Use This Skill

  • Use when designing, revamping, or generating an animated GitHub profile README (username/username).
  • Use when working within GitHub's Markdown HTML sanitization to render interactive or motion elements using pure SVG, CSS @keyframes, and SMIL.
  • Use when creating theme-adaptive assets (dark/light mode) using <picture> elements.
  • Use when automating dynamic contribution graphs, snakes, or 3D cityscapes via GitHub Actions.

Why SVG Animations?

  1. GitHub Security Model: GitHub sanitizes all Markdown files and strips out all <script> tags, inline JavaScript, and iframes. Normal web motion libraries (Framer Motion, GSAP, Three.js) cannot execute in a GitHub README.
  2. Native SVG Motion: Pure SVG with @keyframes CSS and SMIL (<animate>, <animateTransform>) is one animation option; animated GIFs are another, and SVG animation support varies by browser and image context.
  3. Zero Third-Party Downtime: Unlike external status generators (e.g., github-readme-stats, shields.io) that frequently fail when GitHub API rate-limits are reached, self-contained SVGs committed to the profile repository avoid a live third-party generator dependency, though rendering and cache behavior still need testing.

Architectural Layout

A top-tier animated profile combines the following modules stacked vertically in README.md:

┌────────────────────────────────────────────────────────┐
│ 1. HERO BANNER (Dark / Light Auto-Switching via <picture>)
│    - Typing terminal prompt & blinking cursor          │
│    - Shimmering gradient name (letter-by-letter reveal)│
│    - Cycling typed role headlines                      │
│    - Hologram scanline laser sweep                     │
│    - Live code editor typing real project snippet      │
├──────────────────────────┬─────────────────────────────┤
│ 2. SWINGING LANYARD      │ 3. 3D TECH ORBIT            │
│    - Damped pendulum     │    - Satellites orbiting    │
│      swing physics       │      an atomic core         │
│    - Holographic glare   │    - Categorized capability │
│    - Avatar & barcode    │      matrix                 │
├──────────────────────────┴─────────────────────────────┤
│ 4. FEATURED ENGINEERING & WORKFLOW PROJECTS (Markdown) │
├────────────────────────────────────────────────────────┤
│ 5. AUTOMATED CONTRIBUTION VISUALIZER                   │
│    - Snake eating contribution dots (Platane/snk) OR   │
│    - 3D Isometric Night Skyline City                   │
├────────────────────────────────────────────────────────┤
│ 6. VERIFIED TECH BADGES & CONNECT LINKS                │
└────────────────────────────────────────────────────────┘

Step-by-Step Implementation Workflow

Step 1: Character Art / Avatar Generation

Prompt any AI image generator (ChatGPT/DALL-E, Midjourney, Gemini) to generate a clean character illustration. A pure white or transparent background is critical for clean cutouts.

Master Character Prompt:

High-quality anime-style digital illustration of a young developer sitting relaxed in a sleek modern ergonomic chair with a dark laptop on their lap, softly smiling at the viewer. Sunglasses resting on head, wearing a cozy dark zip-up hoodie over a tech t-shirt, jeans. Beside them on a small glass-top table: a stack of programming books with spines reading "Python", "Agentic AI", "Docker", "System Architecture"; a takeaway coffee cup with "Code. Coffee. Repeat." written on it; and a small potted desk plant. Pure white background, warm soft rim lighting, clean detailed anime art style, vibrant colors, high resolution, full body in frame.

Tip: Generate 3–4 variations and select the one with the cleanest edges and clearest facial crop for the lanyard badge.


Step 2: Generate Core Animated SVGs

Use the master prompts below with an AI coding assistant to create standalone SVG files.

1. Hero Banner (banner.svg & banner-light.svg)

  • Dimensions: viewBox="0 0 1200 480" (responsive, width="100%").
  • Left Section:
    • macOS window control dots (#ef4444, #f59e0b, #10b981).
    • Live status pill with pulsing green indicator (OPEN TO COLLABS).
    • Terminal greeting $ whoami --verbose.
    • Bold name with animated multi-stop SVG gradient shimmer.
    • Cycling role headlines using CSS @keyframes with staggered opacities.
    • Value proposition and meta pills (Location, Experience, Roles).
  • Right Section:
    • Simulated IDE code editor window (0.95 opacity).
    • Syntax-highlighted code snippet typing out core domain logic (e.g. Python, Agentic AI, TypeScript).
    • Blinking rectangular cursor (#22d3ee).
  • Motion FX:
    • Full-width laser scanner bar sweeping top-to-bottom on a 4.5s loop.
    • Ambient blurred background orbs with subtle breathing animations.
  • Light Palette Variant (banner-light.svg):
    • Background: #ffffff to #f8fafc with slate grid.
    • Shimmer colors: #0284c7 to #7c3aed to #db2777.
    • Code card: Crisp light theme with high contrast dark text.

2. Swinging Lanyard ID Badge (lanyard.svg)

  • Dimensions: viewBox="0 0 460 380".
  • Visual Components:
    • Woven fabric strap entering from above the canvas.
    • Metallic clasp, swivel ring, and badge slot hole.
    • Glassmorphic card body with rounded corners (rx="16").
    • Golden smart-card chip IC.
    • Neon-bordered avatar circle.
    • Developer metadata (Name, Title, Clearance Level, City).
    • Vector barcode lines with unique serial tag (SN-007-PASS).
  • Physics & Motion:
    • Damped pendulum swing on initial load:
      @keyframes lanyardSwing {
        0%   { transform: rotate(11deg); }
        15%  { transform: rotate(-8deg); }
        30%  { transform: rotate(5.5deg); }
        45%  { transform: rotate(-3.5deg); }
        60%  { transform: rotate(2deg); }
        75%  { transform: rotate(-1deg); }
        100% { transform: rotate(0deg); }
      }
      
    • Infinite subtle ambient drift (±0.8deg).
    • Diagonal holographic glare bar moving across the card every 4s.

3. Tech Orbit System (stack.svg)

  • Dimensions: viewBox="0 0 680 380".
  • Visual Components:
    • Glowing central core representing the developer's primary specialization.
    • Three concentric elliptical orbits (Inner, Middle, Outer) with dashed orbital paths.
    • Planetary satellites (Python, Docker, TypeScript, Playwright, CI/CD) revolving at independent speeds (18s, 26s, 36s).
    • Right-side capability matrix detailing core architectural pillars and experience metrics.

Step 3: Setup Contribution Visualizer Workflows

Create automated GitHub Actions to regenerate contribution activity on a daily schedule.

Option A: Contribution Snake (.github/workflows/snake.yml)

name: Generate Snake Contribution Animation

on:
  schedule:
    - cron: "0 0 * * *" # Runs daily at midnight UTC
  workflow_dispatch:
  push:
    branches:
      - main

permissions:
  contents: write

jobs:
  generate:
    runs-on: ubuntu-latest
    timeout-minutes: 5

    steps:
      - name: Generate snake.svg
        uses: Platane/snk/svg-only@d8f6715049803e982ee5ff501b6b9b7d5deeb09b
        with:
          github_user_name: ${{ github.repository_owner }}
          outputs: |
            dist/github-contribution-grid-snake.svg
            dist/github-contribution-grid-snake-dark.svg?palette=github-dark&color_snake=#38bdf8&color_dots=#161b22,#0e4429,#006d32,#26a641,#39d353
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

      - name: Push snake animation to output branch
        uses: crazy-max/ghaction-github-pages@c0d7ff0487ee0415efb7f32dab10ea880330b1dd
        with:
          target_branch: output
          build_dir: dist
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Option B: 3D Contribution City Skyline (.github/workflows/profile-3d.yml)

name: GitHub 3D Contribution Calendar

on:
  schedule:
    - cron: "0 18 * * *"
  workflow_dispatch:

permissions:
  contents: write

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
        with:
          persist-credentials: true # Required only for this authorized generated-asset push.
      - uses: yoshi389111/github-profile-3d-contrib@f4cf497614310d7b45ab3e000a523e47c524b14f
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          USERNAME: ${{ github.repository_owner }}
      - name: Commit & Push
        run: |
          git config user.name github-actions
          git config user.email github-actions@github.com
          git add -- profile-3d-contrib
          if git diff --cached --quiet; then exit 0; fi
          git commit -m "Generated 3D Profile Calendar"
          git push

Step 4: Assembling the README.md

Use HTML <picture> elements for native dark/light mode switching and add cache-busting queries:

<div align="center">

  <!-- Responsive Auto-switching Hero Banner -->
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="banner.svg?v=1">
    <source media="(prefers-color-scheme: light)" srcset="banner-light.svg?v=1">
    <img src="banner.svg?v=1" width="100%" alt="Hero Banner">
  </picture>

  <br><br>

  <!-- Lanyard ID Badge & Capabilities Orbit -->
  <p align="center">
    <img src="lanyard.svg?v=1" width="41%" alt="ID Badge">
    <img src="stack.svg?v=1" width="57%" alt="Tech Orbit">
  </p>

</div>

---

### ⚡ About Me
> **[Your Role / Identity Headline]**  
> [Concise 2-sentence summary of your specialization, experience, and passions].

- 🤖 **Current Focus:** [Core projects or frameworks]
- 🎓 **Education & Mentorship:** [Courses, teaching, or open source curricula]
- 💬 **Ask Me About:** [Key technical domains]

---

### 🚀 Featured Engineering Projects

| Repository | Focus & Capabilities | Tech Stack | Link |
| :--- | :--- | :--- | :---: |
| [**Project 1**](https://github.com/user/project1) | Brief high-impact description of the problem solved. | `Python` `AI` `Docker` | [**Explore Repo →**](https://github.com/user/project1) |
| [**Project 2**](https://github.com/user/project2) | Educational tutorial or platform tool. | `TypeScript` `Playwright` | [**Explore Repo →**](https://github.com/user/project2) |

---

### 🐍 Contribution Activity

<div align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/<USER>/<USER>/output/github-contribution-grid-snake-dark.svg">
    <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/<USER>/<USER>/output/github-contribution-grid-snake.svg">
    <img src="https://raw.githubusercontent.com/<USER>/<USER>/output/github-contribution-grid-snake.svg" alt="Contribution Snake" width="100%">
  </picture>
</div>

---

### 📫 Connect & Collaborate

<p align="center">
  <a href="https://linkedin.com/in/<username>"><img src="https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white" alt="LinkedIn" /></a>
  &nbsp;&nbsp;
  <a href="mailto:<email>"><img src="https://img.shields.io/badge/Email-EA4335?style=for-the-badge&logo=gmail&logoColor=white" alt="Email" /></a>
  &nbsp;&nbsp;
  <a href="https://github.com/<username>"><img src="https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github&logoColor=white" alt="GitHub" /></a>
</p>

Critical Rules & Technical Gotchas

1. The GitHub CDN Cache-Busting Rule (?v=1 ➔ ?v=2)

  • GitHub can proxy and cache externally hosted images through Camo (camo.githubusercontent.com).
  • Symptom: You update an SVG file, push to GitHub, and the profile displays the old version.
  • Fix: Always append a query version parameter to local links in README.md (banner.svg?v=1). Whenever you edit an SVG, bump the parameter (?v=2).
  • Order of Operations:
    1. Commit and push the updated SVG files first.
    2. Commit and push the README.md with the bumped version number second.

2. Base64 Image Encoding (PNG over WebP)

  • When embedding portraits, cutouts, or textures into an SVG via <image href="data:image/png;base64,..." />, always use PNG format.
  • Safari (especially on iOS / older macOS) fails to decode Base64 WebP inside standalone SVGs.

3. XML Entity Escaping

  • Standalone SVGs are strictly parsed as XML documents.
  • Escape ampersands and less-than signs in XML text/attributes; greater-than usually need not be escaped except in restricted sequences. XML comments cannot contain --. CSS inside XML style text still needs escaping or CDATA.
  • Always escape them (&amp;, &lt;, &gt;) or wrap <style> blocks in <![CDATA[ ... ]]>.

4. Generous Text Reveal Windows (No Font Clipping)

  • Operating systems compute font line-heights and ascender/descender metrics differently (macOS vs Windows vs Linux).
  • When creating typing reveal clipping paths (<clipPath>), ensure height and padding around the text are generous (at least 8–12px padding above and below) so letters like g, y, p, and j are never sliced off.

5. Fallback States for Animation-Disabled Environments

  • Some clients disable CSS animations (e.g. prefers-reduced-motion or static vector viewers).
  • Define a complete visible static state, then animate from it. animation-fill-mode alone does not disable motion. Add @media (prefers-reduced-motion: reduce) rules to disable CSS animations; SMIL requires its own static fallback/version.

6. Unique ID Namespacing

  • If multiple SVGs share identical gradient IDs (e.g. <linearGradient id="bg-grad">), IDs can collide when SVGs are inlined into one document; separate <img> documents isolate them.
  • Namespace all IDs per file: e.g. banner-bg-grad, lanyard-card-grad, orbit-core-grad.

Limitations

  • No Arbitrary Script Execution: GitHub's HTML sanitizer permanently strips inline <script> tags, event listeners (onclick), and external JavaScript libraries; interactive games or dynamic DOM manipulation within markdown are not supported.
  • Camo CDN Caching: Dynamically updated external SVGs may experience caching delays unless appropriate Cache-Control headers are served or query parameters are bumped.
  • Rendering Performance: Large numbers of complex SVG filter primitives (e.g., <feGaussianBlur> with high radius) or deeply nested SMIL loops can increase client CPU and battery usage on mobile devices.

Security & Safety Notes

  • When using GitHub Actions to push generated assets to a profile repository, grant least-privilege token permissions (contents: write).
  • Verify third-party action SHAs and avoid exposing private tokens or email addresses in public SVG configs.

Checklist for Production Release

  • Repository created with exact username match (username/username).
  • Character image generated with high contrast and transparent/white background.
  • banner.svg and banner-light.svg tested locally in both dark and light modes.
  • All SVGs validated through an XML parser with 0 syntax errors.
  • All IDs in SVGs properly namespaced to prevent style collisions.
  • Write permissions limited to the generation job; repository branch rules and third-party action revisions reviewed before enabling the workflow.
  • Contribution workflow executed successfully and output branch populated.
  • Version query parameter (?v=1) verified on all image links in README.md.
  • Profile links (LinkedIn, Email, featured repos) verified with active URLs.

Related Skills

  • @github-presence — Comprehensive README structure, SEO, and discoverability.
  • @github-actions — Building and debugging automated CI/CD workflows.

The SVG prompts are design specifications, not bundled working assets. Test through the hosted README image path, not only a locally opened SVG. Keep descriptive alt text and a static readable fallback. Do not fabricate clearance, employment or contribution claims. The city example writes to its current branch and may be blocked by protection; publish generated assets through an approved branch/PR workflow instead of weakening protection. Review each pinned third-party action and its output paths before granting write access; a pinned SHA alone is not a safety audit.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

00-andruia-consultant

免费有简介

通过检查代码、目标和限制,评估新的或现有的 AI 项目;核对可用目录中的技能后提出建议,并制定包含依赖关系、完成条件和检查方式的任务清单与实施计划。

  • 规划新 AI 项目的启动
  • 梳理现有项目的技术问题
  • 从可用目录中挑选技能
sickn33/agentic-awesome-skills4.9万2026年10月29日 更新

007

免费有简介

检查代码和基础设施中的安全风险,梳理潜在威胁并规划防护改进。涵盖 OWASP 检查、攻击与防御验证及事件响应;操作范围需获明确授权,并结合具体环境验证结果。

  • 审查代码和基础设施安全
  • 用 STRIDE 或 PASTA 梳理威胁
  • 规划安全配置加固
sickn33/agentic-awesome-skills4.9万2026年10月29日 更新

10-andruia-skill-smith

免费有简介

将重复任务整理成 Andru.ia 技能,明确输入、输出、示例和限制;编写 `SKILL.md`,检查目录结构和验证要求,并准备供审阅的拉取请求。

  • 把重复工作整理成技能
  • 改进现有技能的示例或限制
  • 验证技能并准备拉取请求
sickn33/agentic-awesome-skills4.9万2026年10月29日 更新

项目行业确定后,整理行业背景、可能适用的法规、用户熟悉的界面模式、技术选择和风险,并区分已核实事实、假设及待专家确认的事项。

  • 设计前调查行业特有要求
  • 核对目标地区的法规
  • 研究用户熟悉的界面设计
sickn33/agentic-awesome-skills4.9万2026年10月29日 更新

2slides-ppt-generator

免费有简介

通过 2slides API 将文本、提纲或文档制作为演示稿,可参考图片风格、选择主题、添加人工智能旁白,并导出幻灯片图片或音频。

  • 将文本或提纲制作成演示稿
  • 把文档摘要整理成幻灯片
  • 参考图片风格设计幻灯片
sickn33/agentic-awesome-skills4.9万2026年10月29日 更新

360-feedback-system

免费有简介

规划360度评估或同伴反馈流程,并根据已确认的需求创建空白答复台账。可生成字段一致的CSV、SQL、JSON Schema或Notion属性映射,并将可见范围与评分配置分开整理。

  • 设计匿名同伴反馈流程
  • 创建答复记录CSV台账
  • 统一SQL与JSON Schema字段
sickn33/agentic-awesome-skills4.9万2026年10月29日 更新

查看 sickn33 的全部技能

报告此技能的问题