api-and-interface-desi…
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints,…
Create professional visual assets for GitHub repositories — architecture diagrams, social cards, and README banners.
$ npx -y skills add kevinnft/ai-agent-skills --skill github-repo-visual-assets --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/github-repo-visual-assetsContext preview
The summary Claude sees to decide when to auto-load this skill.
Create professional visual assets for GitHub repositories — architecture diagrams, social cards, and README banners.
name: github-repo-visual-assets
description: Create professional visual assets for GitHub repositories — architecture diagrams, social cards, and README banners.
version: 1.0.0
author: Hermes Agent
license: MIT
dependencies: []
metadata:
hermes:
tags: [github, visual-assets, design, branding, documentation]
related_skills: [architecture-diagram, comprehensive-public-repo-setup]
origin: original
source_repo: kevinnft/ai-agent-skills
source_url: https://github.com/kevinnft/ai-agent-skills
source_license: MIT
language: enCreate professional visual assets for GitHub repositories to improve presentation, social sharing, and documentation quality.
**Best suited for:**
**Assets covered:** 1. **Architecture Diagram** (1200x800px) — System architecture visualization 2. **Social Media Card** (1200x630px) — Twitter/LinkedIn/GitHub social preview 3. **README Banner** (1200x300px) — Repository header image
Use semantic color mapping for technical components:
| Component Type | Fill (rgba) | Stroke (Hex) | Use Case | |----------------|-------------|--------------|----------| | **Frontend/Agent** | `rgba(8, 51, 68, 0.4)` | `#22d3ee` (cyan-400) | UI, client-side, agents | | **Backend/Storage** | `rgba(6, 78, 59, 0.4)` | `#34d399` (emerald-400) | APIs, servers, storage | | **Database/Backup** | `rgba(76, 29, 149, 0.4)` | `#a78bfa` (violet-400) | Databases, backups | | **Cloud/External** | `rgba(120, 53, 15, 0.3)` | `#fbbf24` (amber-400) | Cloud services, external |
mkdir -p assets/{diagrams,images,social}Create three HTML files with inline CSS/SVG:
1. **Architecture Diagram** (`assets/diagrams/architecture.html`)
2. **Social Media Card** (`assets/social/social-card.html`)
3. **README Banner** (`assets/images/banner.html`)
**CRITICAL:** Always let user review visual assets before pushing to GitHub.
**Review workflow:** 1. Generate HTML files 2. Send files to user (via MEDIA: or file path) 3. User opens in browser to review 4. Wait for approval or change requests 5. Only after approval: convert to PNG and push
**Why:** Visual assets represent the project's brand. User must approve design before it goes public.
Use headless browser to convert HTML to PNG:
# Chrome (recommended) google-chrome --headless --screenshot=architecture.png --window-size=1200,800 assets/diagrams/architecture.html google-chrome --headless --screenshot=social-card.png --window-size=1200,630 assets/social/social-card.html google-chrome --headless --screenshot=banner.png --window-size=1200,300 assets/images/banner.html # Firefox (alternative) firefox --headless --screenshot architecture.png --window-size=1200,800 assets/diagrams/architecture.html firefox --headless --screenshot social-card.png --window-size=1200,630 assets/social/social-card.html firefox --headless --screenshot banner.png --window-size=1200,300 assets/images/banner.html # Move PNGs to assets mv architecture.png assets/diagrams/ mv social-card.png assets/social/ mv banner.png assets/images/
Add visual assets to README.md:
 # Project Title Description... ## Architecture 
1. Go to repository settings 2. Scroll to "Social preview" 3. Upload `assets/social/social-card.png` 4. Save
Now when shared on Twitter/LinkedIn, the card appears automatically.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Architecture Diagram</title>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet">
<style>
/* Dark theme styles */
body { font-family: 'JetBrains Mono', monospace; background: #020617; }
/* Component boxes, arrows, legend */
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>System Architecture</h1>
</div>
<div class="diagram-card">
<svg viewBox="0 0 1200 800">
<!-- Grid, arrows, components -->
</svg>
</div>
<div class="info-grid">
<!-- Info cards -->
</div>
</div>
</body>
</html><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Social Card</title>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&display=swap" rel="stylesheet">
<style>
/* 1200x630 card with gradient background */
.card { width: 1200px; height: 630px; }
</style>
</head>
<body>
<div class="card">
<div class="content">
<div class="header">191 attribution-first agent skills for Hermes Agent, Claude Code, Cursor — one installer, 28 categories, searchable catalog. See NOTICE for upstream attribution.
Repo: kevinnft/ai-agent-skills
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints,…
Tests in real browsers. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze…
Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test…
Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to…
Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend…
Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure…