business-architecture-diagram
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "business-architecture-diagram" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-30a9b9036fce6c254d961c19ea62f28c5b7ea8ec72f5264a743b6fb10852bda6. Verify the upstream source and version against https://skillhub.cn/skills/user_9f772957/business-architecture-diagram before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Generate business-style system architecture diagrams and flowcharts in multiple formats (PNG/SVG/HTML/PPTX). Invoke when the user needs system architecture diagrams, technical architecture diagrams, business process flowcharts, module relationship diagrams, or any business charts showing hierarchical structures and component connections.
Introduction source: third_party · user_9f772957 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Generate business-style system architecture diagrams and flowcharts in multiple formats (PNG/SVG/HTML/PPTX). Invoke when user needs system architecture diagrams, technical architecture diagrams, business process flowcharts, module relationship diagrams, or any business charts showing hierarchical structures and component connections.
- Testing
- Not tested
Browse files
Frontmatter
name: business-architecture-diagram
description: Generate business-style system architecture diagrams and flowcharts in multiple formats (PNG/SVG/HTML/PPTX). Invoke when user needs system architecture diagrams, technical architecture diagrams, business process flowcharts, module relationship diagrams, or any business charts showing hierarchical structures and component connections.Business Architecture Diagram Skill V3
This skill generates high-quality, layered system architecture diagrams in multiple export formats (PNG, SVG, HTML, PPTX) using Python Pillow, with enhanced Chinese font support and clear visual hierarchy.
Key Features
- Multi-format Export: PNG (raster), SVG (vector), HTML (interactive), PPTX (editable slides)
- Enhanced Chinese Support: Auto-detects system fonts (Microsoft YaHei, PingFang SC, WenQuanYi, etc.)
- Clear Visual Hierarchy: Layer badges (L1-L5), icons, flow labels, legends
- Interactive HTML: Hover tooltips, clickable modules, responsive layout
- Editable PPTX: Native PowerPoint output via PptxGenJS
Visual Style Specification
Color Scheme
- Background:
#F0F7FF(Light blue, professional and clean) - Card Background:
#FFFFFF(Pure white, content highlight) - Header Bar:
#4A90D9(Business blue, for module titles) - Accent:
#2E5C8A(Deep blue, for important modules or sidebars) - Border:
#D0D8E0(Light gray-blue, thin outline) - Arrows/Lines:
#5B9BD5(Medium blue, directional indicators) - Text:
#333333(Primary),#666666(Secondary) - Group Box: Dashed border
#A0B4C8, light blue fill#E8F1FA - Layer Badge:
#4A90D9with gradient per layer (L1-L5) - Sidebar:
#2E5C8Adark blue background,#1E3A5Fheader
Graphic Elements
- Cards: Rounded rectangles, 8px radius, 1px border, subtle shadow (2px offset)
- Header Bar: Top color block of card, ~30px height, white text + icon
- Group Box: Dashed rounded rectangle wrapping each layer, with layer badge and name
- Layer Badge: "L1"-"L5" numbered badge at top-left of each layer group
- Icons: Business-style glyph icons in card headers
- Flow Labels: Small rounded labels on connection lines describing data flow
Connection Lines
- Solid Arrows: Main flow/data direction, 2px width, 8px arrowhead, with flow label
- Dashed Arrows: Auxiliary connections/monitoring flow, dash pattern (6, 3), 1px width
- Color:
#5B9BD5solid,#A0B4C8dashed - Labels: White background pill with blue text on midpoint of connection
Layout Principles
- Compact: Minimize whitespace, module spacing 16-20px
- Hierarchical: Top-to-bottom layer arrangement with numbered badges (L1, L2, L3...)
- Aligned: Grid alignment, auto-calculated card widths based on module count
- Grouped: Each layer wrapped in dashed group box with layer number badge and name
- Sidebar: Optional right sidebar for cross-cutting concerns (security, monitoring, etc.)
- Legend: Bottom-left corner with visual explanations of line types and symbols
Fonts
- Chinese: Microsoft YaHei (
msyh.ttc) or SimHei (simhei.ttf) - English/Numbers: Arial or Segoe UI
- Title: 22px bold, dark text with underline accent
- Subtitle: 13px, gray-blue
- Card Header: 13px bold, white on color block
- Body Items: 11px, regular, dark text with bullet points
- Layer Name: 12px bold, accent color
- Flow Labels: 10px, blue text
Available Icon Types
| Icon Type | Use Case |
|---|---|
user |
User-facing modules (student, teacher, admin portals) |
monitor |
Dashboard, management console, display endpoints |
server |
Infrastructure components (databases, cache, storage) |
brain |
AI/ML modules (NLP, analysis, intelligence) |
database |
Data stores, data platforms, repositories |
shield |
Security, compliance, protection modules |
gear |
Engine, processing, configuration modules |
cloud |
Cloud services, external APIs |
chart |
Reporting, analytics, visualization |
link |
Integration, connection, communication modules |
mobile |
Mobile app, mobile-specific modules |
api |
API gateway, API management |
lock |
Authentication, authorization, access control |
mail |
Notification, messaging, email services |
Export Formats
PNG (Raster Image)
- Best for: Embedding in documents, presentations, websites
- Resolution: 150 DPI, configurable canvas size
- Features: Full visual effects (shadows, gradients, anti-aliasing)
SVG (Vector Graphics)
- Best for: Scalable output, print, further editing in Illustrator/Figma
- Features: Clean vector paths, editable in design tools
- Limitations: Simplified effects compared to PNG
HTML (Interactive)
- Best for: Web display, interactive exploration, sharing via browser
- Features:
- Hover tooltips showing module names
- Clickable module cards
- Responsive container layout
- CSS animations on hover
- Output: Single self-contained HTML file
PPTX (PowerPoint)
- Best for: Business presentations, editable slides
- Requirements: Node.js + PptxGenJS (
npm install pptxgenjs) - Features: Native PowerPoint shapes, editable text, theme colors
- Fallback: If Node.js unavailable, generates JS template for manual execution
JSON Config Format
{
"title": "System Architecture Title",
"subtitle": "English Subtitle",
"width": 1800,
"height": 1300,
"layers": [
{
"name": "Layer Name",
"modules": [
{
"name": "Module Name",
"icon": "brain",
"items": ["Feature 1", "Feature 2", "Feature 3"]
}
]
}
],
"connections": [
{
"from": "Module A",
"to": "Module B",
"style": "solid",
"label": "Data Flow Description"
}
],
"sidebar": {
"title": "Sidebar Title",
"icon": "shield",
"items": [
{
"name": "Category Name",
"items": ["Sub-item 1", "Sub-item 2"]
}
]
},
"legend": [
{"type": "solid", "label": "Data Flow", "color": "#5B9BD5"},
{"type": "dashed", "label": "Auxiliary Connection", "color": "#A0B4C8"},
{"type": "badge", "label": "Layer Number", "color": "#4A90D9"},
{"type": "rect", "label": "Module", "color": "#E8F1FA"}
]
}
Usage
Python API
from generate_arch_v3 import generate_all, generate_png, generate_svg, generate_html, generate_pptx
# Generate all formats at once
results = generate_all(config, "output_path", formats=['png', 'svg', 'html', 'pptx'])
# Or generate individual formats
generate_png(config, "output.png")
generate_svg(config, "output.svg")
generate_html(config, "output.html")
generate_pptx(config, "output.pptx") # Requires Node.js + PptxGenJS
As Skill Invocation
When user requests an architecture diagram, follow these steps:
- Understand Requirements: Clarify the system/business process to display
- Design Structure: Plan layers (typically 4-6), modules per layer, sidebar, and connections
- Choose Icons: Select appropriate icon types for each module
- Define Connections: Map data flow between layers with descriptive labels
- Add Legend: Include visual legend for line types and symbols
- Generate Image: Use Python script following the visual specification
- Deliver Result: Return generated file paths for all requested formats
Key Design Rules
- Layer count: 4-6 layers is optimal; each layer should have 3-6 modules
- Module items: 2-5 items per module; keep descriptions concise (2-6 Chinese characters)
- Connections: Connect modules across adjacent layers; add descriptive flow labels
- Sidebar: Use for cross-cutting concerns (security, monitoring, DevOps)
- Canvas size: 1600x1200 for simple diagrams; 1800x1300 for complex ones
- Always include: Title, subtitle, layer badges, flow labels, and legend
Chinese Font Support
The script auto-detects available Chinese fonts in this priority order:
Windows: Microsoft YaHei > SimHei > SimSun > KaiTi > FangSong macOS: PingFang SC > STHeiti > Hiragino Sans GB > Arial Unicode Linux: WenQuanYi Micro Hei > Droid Sans Fallback > Noto Sans CJK > DejaVu Sans
If no Chinese font is found, falls back to system default. To verify font detection:
from generate_arch_v3 import get_font_info
print(get_font_info()) # Shows detected font family and path
Dependencies
- Python: Pillow (
pip install Pillow) - PPTX export: Node.js + PptxGenJS (
npm install pptxgenjs) - Fonts: System Chinese fonts (auto-detected)
Example Scenarios
- E-commerce system architecture
- Microservices architecture
- Data platform architecture
- AI platform architecture
- Business process flowchart
- Network topology diagram
- Cloud-native architecture
- Education technology system
- Healthcare information system
- Financial technology platform
Notes
- Ensure Pillow is installed:
pip install Pillow - Chinese text requires system font support (auto-detected)
- Increase canvas size when there are many modules
- Keep hierarchy clear, avoid too many crossing lines
- Compact layout but not crowded, ensure readability
- For PPTX export, install Node.js and run
npm install pptxgenjsfirst - HTML output is self-contained and can be opened directly in browser
- SVG output can be imported into Figma, Illustrator, or other design tools
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 支持多格式导出(PNG/SVG/HTML/PPTX),满足不同场景需求
- 提供完整的视觉规范与中文字体支持,输出专业美观
- 适用于电商、微服务、AI平台等多种系统架构场景
Highlights
- 触发词覆盖全面,包括系统架构图、技术架构图、业务流程图等
- 边界清晰,不易与其他Skill混淆
Highlights
- 文档结构清晰,分章节详述功能、规范、用法与示例
- 提供完整的JSON配置格式与Python API说明
- 包含端到端使用示例与关键设计规则
Highlights
- 依赖明确(Pillow、Node.js + PptxGenJS),参数说明完整
- 提供字体检测与异常处理建议
- PPTX导出有fallback方案(JS模板)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 106, 212, 213, 231, 236
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.