tech-diagram

生成技术架构图、流水线流程图、层次/堆栈图及系统示意图,输出为独立的 HTML 文件。采用深色模式设计系统,嵌入 CSS 并使用内联 SVG。适用于需要架构图、系统示意图、流程图或技术可视化图表的场景。

仓库最近推送
GitHub Stars
222
Forks
40
Issues / PRs
1

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "tech-diagram":https://skillpi.com/zh/skills/deepskill-944d771275572c01fc33270787ae46d479ea29d9a0ca98f863fb53d2f27ad5e1。安装前核对上游来源和版本:https://github.com/thatrebeccarae/claude-marketing。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

生成技术架构图、流水线流程图、层次/堆栈图及系统示意图,输出为独立的 HTML 文件。采用深色模式设计系统,嵌入 CSS 并使用内联 SVG。适用于需要架构图、系统示意图、流程图或技术可视化图表的场景。

0 下载

介绍来源: third_party · thatrebeccarae · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: tech-diagram
description: "Generate technical architecture diagrams, pipeline flows, layer/stack diagrams, and system illustrations as standalone HTML files. Uses a dark-mode design system with embedded CSS and inline SVG. Use when the user needs architecture diagrams, system illustrations, flow charts, or technical visualizations."
license: MIT
origin: custom
author: Rebecca Rae Barton
author_url: https://github.com/thatrebeccarae
metadata:
  version: 1.0.0
  category: creative
  domain: design
  updated: 2026-03-13
  tested: 2026-03-17
  tested_with: "Claude Code v2.1"

Technical Diagram Generator

Generate technical architecture diagrams and system illustrations as standalone HTML files with embedded CSS + inline SVG. No external dependencies.

Install

git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/tech-diagram ~/.claude/skills/

Core Capabilities

  • Pipeline flow diagrams (data pipelines, CI/CD, ETL)
  • Layer/stack diagrams (tech stack, OSI model, infrastructure)
  • Component diagrams (microservices, system architecture)
  • Before/after split comparisons
  • Timeline diagrams (roadmaps, migration phases)
  • Metric callout rows (KPI summaries)

Design System

Color Tokens

:root {
  /* Dark mode (default canvas) */
  --bg-deep: #0d1117;
  --bg-surface: #161b22;
  --bg-elevated: #21262d;
  --border-subtle: rgba(240, 246, 252, 0.1);
  --text-bright: #f0f6fc;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;

  /* Accent palette */
  --accent-blue: #58a6ff;
  --accent-green: #3fb950;
  --accent-purple: #bc8cff;
  --accent-orange: #d29922;
  --accent-red: #f85149;
  --accent-cyan: #39d2c0;
  --accent-pink: #f778ba;

  /* Light mode (optional, for embedded diagrams) */
  --bg-light: #ffffff;
  --bg-light-surface: #f6f8fa;
  --text-light-primary: #1f2328;
  --text-light-secondary: #656d76;
}

Color Rules

  • Dark mode is default for all diagrams
  • Each pipeline stage or layer gets a distinct accent color
  • Use --text-secondary for labels and annotations
  • Use --border-subtle for connecting lines and borders
  • Semantic colors: green = healthy/success, red = error/alert, orange = warning

Typography

Role Font Weight Size
Diagram title system-ui 600 28-32px
Section/stage label system-ui 600 16-18px
Description text system-ui 400 13-14px
Annotation monospace 400 12px
Metric value monospace 700 36-48px

Canvas

Width:  1200px (default, responsive down to 800px)
Height: auto (content-driven)
Padding: 48px

Component Library

Pipeline Flow

Horizontal or vertical sequence of stages with connecting arrows. Each stage has an icon area, label, and description.

Layer/Stack Diagram

Vertical stack of labeled layers with optional descriptions. Top = highest abstraction, bottom = lowest.

Component Diagram

Grid or freeform layout of service boxes with connection lines. Each component shows name, tech, and status.

Before/After Split

Side-by-side comparison with a vertical divider. Left = before state, right = after state.

Timeline

Horizontal or vertical sequence of milestones with dates, descriptions, and status indicators.

Metric Callout Row

Horizontal row of KPI cards with large numbers, labels, and optional trend indicators.

Key Principles

  1. One concept per diagram. If it needs two diagrams, make two files.
  2. Labels on everything. Every box, arrow, and region should be labeled.
  3. Consistent spacing. Use CSS grid or flexbox, not absolute positioning.
  4. No external deps. Everything inline — CSS in <style>, icons as inline SVG.
  5. Print-friendly. Include @media print with light background override.

Anti-Patterns

  • No raster images (PNG/JPG) — use inline SVG for all icons
  • No external CSS/JS — everything embedded
  • No gradients as primary fill — use flat colors with subtle borders
  • No more than 8 items in a single row — wrap or use grid
  • No decorative elements that do not convey information

File Conventions

  • Filename: {project}-{diagram-type}.html (e.g., pipeline-architecture.html)
  • Single file: All CSS inline in <style>, all SVG inline
  • Responsive: Works at 800-1400px width range

For complete HTML/CSS patterns and full examples, see REFERENCE.md.

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 解决技术团队日常高频需求,适用于架构设计、系统文档、项目沟通等场景
  • 支持多种图表类型(架构图、流程图、层次图等),覆盖广泛的技术可视化需求
触发精准90/100

亮点

  • 触发描述精准完整,明确覆盖架构图、系统示意图、流程图等多种技术可视化场景
  • 边界清晰,不易与其他 Skill 重叠
结构规范85/100

待提升项

  • 缺少 When to Use 章节 原报告严重程度:轻微

    文档结构完整但缺少明确的 When to Use 使用场景说明章节

    改进建议:建议添加 When to Use 章节,更清晰地说明具体使用场景和时机

  • 文档较长 原报告严重程度:轻微

    主文档内容约400行,部分内容可考虑拆分到参考文档

    改进建议:建议将详细的设计规范和组件库说明拆分到 REFERENCE.md 文件中

亮点

  • 结构清晰完整,包含核心能力、设计系统、组件库等详细章节
  • 提供完整的文件命名约定和最佳实践指南
执行可靠88/100

待提升项

  • frontmatter 版本号具体化 原报告严重程度:轻微

    tested_with 字段包含具体版本号 'Claude Code v2.1'

    改进建议:建议改为通用描述如 'Claude Code' 以避免版本绑定

亮点

  • 工具来源明确,GitHub 仓库地址清晰,安装指令完整
  • 设计系统完整,包含颜色、排版、组件等详细规范,提高执行可靠性
  • 包含反模式说明,帮助用户避免常见错误
证据可验 (前四项均值)87/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • github.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。