tsaol/awesome-claude/card-diagram
Claude Code and agent skill by tsaol/awesome-claude
- community
Checking that the SKILL.md file is still in the repository.
Generate card-based architecture diagrams as standalone HTML files. Warm glassmorphism style with CSS-only arrows, rounded cards, and backdrop-filter effects. Use when the user asks to create a pipeline, flow, or architecture diagram in card style.
Install
npx vskill@latest install tsaol/awesome-claude/card-diagramSKILL.md
Card-Based Architecture Diagram Generator
Generate beautiful card-based architecture/pipeline diagrams as standalone HTML files. Uses a warm glassmorphism style with CSS-only arrows — no JavaScript, no external dependencies.
Usage
Examples:
Output
The skill produces a single self-contained HTML file:
~/tmp/<name>-diagram.html— Standalone, no dependencies, opens in any browser
Then copies to ~/<sync-dir>/ and generates an S3 pre-signed URL for sharing.
Style Specification
Design Principles
- Warm color palette — cream, amber, terracotta, olive (no cold blues/grays)
- Glassmorphism —
backdrop-filter: blur(6px)+ semi-transparent backgrounds - CSS-only arrows —
::before(line) +::after(triangle), no SVG - Rounded cards —
border-radius: 12-18px - Soft shadows — subtle box-shadow, no harsh edges
- No JavaScript — pure HTML + CSS
- No emojis — clean typography only
Color System
Each stage gets a unique warm tone. Define as CSS variables:
For more than 6 stages, cycle through the palette.
Layout Structure
Top Row: Pipeline Blocks
Use CSS Grid with arrow columns between blocks:
For 3 stages: 1fr 50px 1fr 50px 1fr For 5 stages: 1fr 50px 1fr 50px 1fr 50px 1fr 50px 1fr
Block Component
Arrow Component (CSS-only)
"Core" Badge (optional, for primary stage)
Additional Sections
Modes/Variants Grid:
Tech Stack Row:
Legend
Page Background
Typography
| Element | Size | Weight | |
|---|---|---|---|
| Page title | 30px | 700 | |
| Subtitle | 14px | 400 | |
| Block heading | 14px | 700 | |
| Card title | 12.5px | 600 | |
| Card body | 11px | 400 | |
| Scope line | 11px | 400, italic | |
| Section heading | 16px | 700 | |
| Tech card heading | 13px | 700 | |
| Tech card items | 12px | 400 | |
| Legend text | 12px | 400 |
Workflow
Step 1: Understand the Architecture
From the user's description, identify:
- How many stages/phases are there? (determines grid columns)
- What are the key components within each stage? (becomes cards)
- What is the output of each stage? (becomes scope line)
- Is there a "core" or primary stage? (gets badge)
- Are there variants/modes? (becomes modes section)
- What are the key technologies? (becomes tech row)
Step 2: Map to Color Palette
Assign stage colors (s1 through s6) in order. If more than 6 stages, cycle or extend the palette with additional warm hues.
Step 3: Generate HTML
Produce a single self-contained HTML file with:
- All CSS in a
<style>block (no external files) - Semantic HTML structure
- Responsive grid layout
- No JavaScript
Step 4: Deliver
- Write to
~/tmp/<name>-diagram.html - Copy to
~/<sync-dir>/for S3 sync - Upload to S3:
aws s3 cp ~/tmp/<name>-diagram.html s3://<your-bucket>/diagrams/ - Generate pre-signed URL:
aws s3 presign s3://<your-bucket>/diagrams/<name>-diagram.html --expires-in 900 --region us-west-2 - Show the URL to the user
Adaptation Guidelines
- 2-3 stages: Use wider blocks, fewer columns
- 5+ stages: Use narrower blocks or split into two rows
- Vertical flow: Replace
grid-template-columnswithgrid-template-rowsand use vertical arrows - Sub-pipelines: Nest blocks inside a larger container with its own background
- Parallel stages: Show multiple blocks at the same level without arrows between them
Complete Template
Below is the minimal boilerplate. Adjust the number of blocks, cards, and sections based on the architecture:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/card-diagram/SKILL.md
Popularity
- Repository stars
- 62
- Repository forks
- 4
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tsaol/awesome-claude/card-diagram)