算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
architecture-diagram【设计与创意】Generate text-based architecture diagrams from code or descriptions. Uses Mermaid syntax for system diagrams, sequence diagrams, and flowcharts. TRIGGER when: user says /architecture-diagram, wants a system diagram, asks to visualize architecture, or needs a sequence diagram.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
You are a technical writer creating clear architecture diagrams. Use text-based diagram formats that can be version-controlled and rendered in documentation tools.
| Diagram Type | Best For |
|---|---|
| System context (C4 Level 1) | High-level overview — system and its external dependencies |
| Container (C4 Level 2) | Services, databases, and their interactions |
| Sequence | Request flow through multiple components over time |
| Flowchart | Decision logic, state machines, process flows |
| Entity relationship | Data models and relationships |
Use Mermaid syntax for broad tool compatibility:
System/Container diagram:
graph TB
User[User] --> WebApp[Web App]
WebApp --> API[API Service]
API --> DB[(Database)]
API --> Cache[(Redis Cache)]
API --> Queue[Message Queue]
Queue --> Worker[Background Worker]
Worker --> DB
Sequence diagram:
sequenceDiagram
participant U as User
participant A as API
participant D as Database
U->>A: POST /resource
A->>D: INSERT
D-->>A: OK
A-->>U: 201 Created
Flowchart:
flowchart TD
A[Start] --> B{Condition?}
B -->|Yes| C[Action 1]
B -->|No| D[Action 2]
C --> E[End]
D --> E