Space Architecture Diagram

创建专业、支持深色/浅色双主题切换的系统架构图,输出为独立的 HTML 文件(内含 SVG 图形)。当用户需要系统架构图、基础设施拓扑图、云架构可视化、安全架构图、网络拓扑图,或任何展示系统组件及其关系的技术图表时使用此技能。支持中文标注和说明,内置主题切换按钮。

189 stars 37 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add SpaceZephyr/design-buddy --skill space-architecture-diagram
Manual install
git clone --depth 1 https://github.com/SpaceZephyr/design-buddy.git /tmp/design-buddy
mkdir -p ~/.claude/skills
cp -r /tmp/design-buddy/space-architecture-diagram ~/.claude/skills/space-architecture-diagram

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 架构图生成技能

创建专业的技术架构图,输出为独立的 HTML 文件,包含内联 SVG 图形和 CSS 样式。

## 触发条件

当用户提到以下任何场景时,主动使用此技能:
- "画一个架构图" / "生成架构图" / "画个图"
- "系统架构" / "部署架构" / "技术架构"
- "画一个流程图" / "组件关系图" / "拓扑图"
- "infrastructure diagram" / "architecture diagram"
- 用户粘贴了代码并要求分析架构
- 用户描述了系统组件和它们之间的关系

## 工作流程

### 第一步:收集信息

如果用户没有提供完整的架构描述,主动询问以下信息:
- 系统包含哪些主要组件/服务?
- 组件之间的连接关系和数据流?
- 使用了哪些技术栈和云服务?
- 是否有安全组、网络分区等边界?

如果用户提供了代码库或项目文件,自行分析提取架构信息。

### 第二步:生成架构图

根据收集到的信息,使用本技能的设计规范和模板生成 HTML 文件。

### 第三步:输出结果

输出一个完整的、可直接在浏览器中打开的 `.html` 文件。

## 设计系统

### 主题系统

架构图支持 **深色(Dark)** 和 **浅色(Light)** 两种主题,通过页眉右侧的切换按钮一键切换。用户选择会保存到 localStorage,下次打开自动恢复。

**实现方式:** CSS 自定义属性 + `data-theme` 属性切换。SVG 元素通过 CSS class(`text-primary`、`text-secondary`、`mask-bg`、`grid-line`、`arrowhead-color`)适配主题。

**关键原则:**
- 组件描边色(青/绿/紫/琥珀/玫红/橙)在两种主题下保持不变,确保视觉一致性
- 仅切换背景、文字、网格、边框等基础色
- 使用 CSS `transition` 实现平滑切换动画

#### 深色主题(默认)

融合 Cursor 暖色深底 + Claude 暖白文字。温暖不冰冷,告别冷蓝色 slate。

| 元素 | 颜色 |
|------|------|
| 页面背景 | `#141413` (温暖近黑) |
| 卡片背景 | `rgba(20, 20, 19, 0.5)` |
| 遮罩背景 | `#1a1a18` (暖深色) |
| 边框 | `rgba(38, 37, 30, 0.2)` (oklab 暖边框) |
| 主文字 | `#faf9f5` (Ivory 暖白) |
| 副文字 | `#b0aea5` (暖银) |
| 网格线 | `rgba(38, 37, 30, 0.12)` |
| 箭头头 | `rgba(38, 37, 30, 0.45)` |

#### 浅色主题

融合 Claude 羊皮纸 `#f5f4ed` + Airtable 深海军蓝文字。

| 元素 | 颜色 |
|------|------|
| 页面背景 | `#f5f4ed` (羊皮纸) |
| 卡片背景 | `rgba(250, 249, 245, 0.85)` |
| 遮罩背景 | `#faf9f5` (Ivory) |
| 边框 | `#f0eee6` (暖奶油) |
| 主文字 | `#141413` (暖近黑) |
| 副文字 | `#5e5d59` (橄榄灰) |
| 网格线 | `#f0eee6` (暖奶油) |
Read the full skill on GitHub

Details

Skill name
space-architecture-diagram
Path
space-architecture-diagram/SKILL.md
Repo updated
6 July 2026

FAQ

What does the Space Architecture Diagram skill do?

创建专业、支持深色/浅色双主题切换的系统架构图,输出为独立的 HTML 文件(内含 SVG 图形)。当用户需要系统架构图、基础设施拓扑图、云架构可视化、安全架构图、网络拓扑图,或任何展示系统组件及其关系的技术图表时使用此技能。支持中文标注和说明,内置主题切换按钮。

How do I install the Space Architecture Diagram skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add SpaceZephyr/design-buddy --skill space-architecture-diagram. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Space Architecture Diagram popular?

It lives in SpaceZephyr/design-buddy, which has 189 GitHub stars and 37 forks.

Related skills

Space AI Article Illustration

189

SpaceZephyr/design-buddy

分析文章结构并批量生成AI配图,调用Gemini API为每个段落创建专业逻辑图/概念图。当用户说"批量配图"、"给文章配图"、"生成文章插图"、"为这篇文章配图"时触发。支持两种风格:简约手绘风和建筑蓝图编辑风。自动保存到Obsidian图片目录并插入文档。

AI, LLMs & Agents37

Space Brand UI Design

189

SpaceZephyr/design-buddy

根据品牌名称从 getdesign.md 自动获取设计规范并生成匹配风格的 UI 代码。支持 62 个顶级品牌风格(苹果/Apple、Notion、Claude、Stripe 等),支持中英文品牌名、混搭风格。当用户提到"XX风格"、"做成XX的感觉"、"参考XX设计"时触发。

Frontend & Design37

Space Canvas Art

189

SpaceZephyr/design-buddy

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

Frontend & Design37

Trust Wallet API

111

trustwallet/tw-agent-skills

Trust Wallet API for crypto data — token search, prices, trending tokens, swap quotes, market data, security checks, address validation, asset info, and coin status across 100+ blockchains. Use whenever the user asks about crypto prices, token info, swap rates, market cap, trending coins, token risk, honeypot detection, address validation, or wants to call the Trust Wallet / tws.trustwallet.com API directly. Covers HMAC-SHA256 authentication, supported chains, and all REST endpoints.

Software Development97

Mc Rhythm Section

224

jtydhr88/music-composition-skills

Rhythm section arranging and MIDI programming (节奏组与打ち込み) - drums, bass and harmony instruments as one unit, and how to make programmed parts sound played. Includes a style-by-style drum pattern and tempo lookup (rock, funk, R&B, hip hop, jazz, blues, Afro-Cuban, Brazilian, country, metal, techno); kick/snare/cymbal roles, tempo ranges, straight/swing/shuffle/half-time feel, signature fills and hi-hat handling; groove classification by feel and subdivision; the order in which to pick a pattern; partial and percentage quantization; push/pull with real magnitudes; linear drumming; ghost notes; th

Software Development25

Trust Wallet CLI

111

trustwallet/tw-agent-skills

Trust Wallet CLI (`twak`) — install, create wallets, check balances, send tokens, swap, view history, set price alerts, DCA automations, limit orders, manage ERC-20 approvals, check token risk, browse trending/DApps, and run x402 micropayments. Use whenever the user wants to use the twak CLI, manage a crypto wallet from the terminal, send or swap tokens via command line, check portfolio, create price alerts, set up DCA, create limit orders, approve ERC-20 spenders, or interact with Trust Wallet from a shell. Also covers MCP server setup for AI agents.

Software Development97

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.