uml-and-software-architecture-visualization

uml-and-software-architecture-visualization is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 102 tokens per session (1,228 once invoked), scanned A, original, Apache-2.0.

A specification for drawing software architecture and UML diagrams with Mermaid or PlantUML. It covers diagrams for system context, services, components, classes, message sequences, states, and deployment, while keeping the diagram consistent with written design decisions.

In plain words
What is it for?
Use it to show module boundaries, interfaces, data flows, call order, object structure, state changes, and deployment layouts. It also supports explaining system structure to reviewers, new team members, and other teams.
Why use it?
It prevents diagrams that look plausible but do not explain a real decision or match the documentation. Choosing the diagram type first and checking that it renders makes designs easier to review and discuss.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to show module boundaries, interfaces, data flows, call order, object structure, state changes, and deployment layouts. It also supports explaining system structure to reviewers, new team members, and other teams.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/uml-and-software-architecture-visualization
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Morningstar202604/awesome-skillkit --skill uml-and-software-architecture-visualization
Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for uml-and-software-architecture-visualization

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/uml-and-software-architecture-visualization/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/uml-and-software-architecture-visualization)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/uml-and-software-architecture-visualization"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/uml-and-software-architecture-visualization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for uml-and-software-architecture-visualization

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/uml-and-software-architecture-visualization"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/uml-and-software-architecture-visualization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,228 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00102 $0.01228
Opus 5.5 $0.00041 $0.00491
Sonnet 5.5 $0.00020 $0.00246
Haiku 4.5 $0.00010 $0.00123

Measured 2mo ago against content hash fb9bdcefc609, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

uml-and-software-architecture-visualization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

expert-teams/skills/uml-and-software-architecture-visualization/SKILL.md · 78 lines

What it actually says

UML 与软件架构可视化

本 skill 供 software-architect 在设计阶段产出配套图表。图不是装饰:每张图必须服务于一个决策(边界划分、调用顺序、数据流向、部署拓扑),且与 ADR/接口契约文字严格一致,能被评审者直接照着讨论。

这是什么

一套用 Mermaid(优先,可在 Markdown 直接渲染)或 PlantUML 表达架构与设计的规范。约定图种、元素语义、命名与分层,避免画出「看不出决策」的示意图。

何时使用

  • W2 仅设计阶段:architect 产出模块边界、接口契约、备选方案,需要配图说明。
  • 评审前把关键流程画成时序图,让 reviewer/qa 一眼看懂交互。
  • 向新人或跨团队解释系统结构、部署拓扑。

核心步骤

  1. 先选图种再画图:想清这张图要回答什么问题,再选对应图,不为画图而画图。
  2. 分层表达:用 C4 思路——上下文(外部谁在用)→ 容器(进程/服务)→ 组件(模块内部分块)。
  3. 标注关系语义:依赖方向、同步/异步、调用协议、数据流向都要标出来。
  4. 与文字对齐:图中出现的每个组件/类/接口名,必须在 ADR 或接口文档里能找到。
  5. 可渲染校验:Mermaid 代码块语法正确,字段名/别名不冲突,导出后不破版。

图种选择指南

想说明的问题 用图 关键元素
系统和外部参与者关系 C4 上下文图 人、外部系统、本系统边界
进程/服务部署与技术栈 容器/部署图 服务、DB、MQ、网关、节点
模块内部分层与依赖 组件图 模块、依赖箭头方向
对象结构与职责 类图 类、属性/方法、继承/聚合
一次业务交互的步骤 时序图 参与者、消息、同步/异步、返回
状态流转 状态机图 状态、事件触发迁移

Mermaid 模板(时序图)

sequenceDiagram
    participant U as 用户
    participant GW as 网关
    participant O as 订单服务
    participant P as 支付服务
    U->>GW: 提交订单
    GW->>O: 创建订单(含幂等键)
    O->>P: 发起支付
    P-->>O: 支付结果(异步回调)
    O-->>U: 订单状态=已支付

Mermaid 模板(C4 容器图思路)

flowchart LR
    User([用户]) --> Web[前端 SPA]
    Web --> API[API 网关]
    API --> Order[订单服务]
    API --> UserSvc[用户服务]
    Order --> DB[(PostgreSQL)]
    Order -.异步.-> MQ[(消息队列)]
    MQ --> Pay[支付回调 worker]

清单

  • 每张图标题写明「它要回答的决策问题」。
  • 依赖箭头方向正确(上游 → 下游),没有成环。
  • 同步实线箭头、异步虚线箭头区分清楚。
  • 图中每个命名在文字文档里有定义,不出现孤立项。
  • 技术栈/中间件在图中标注,评审者不用猜。
  • Mermaid 代码块可直接渲染,无语法错误。

易错点

  • 画成全家桶示意图:一张图塞进所有组件,密密麻麻却没表达任何决策。应按 C4 分层拆多张。
  • 图与文不一致:图里画了「缓存层」,ADR 文字里根本没提缓存,评审对不上。
  • 箭头方向反了:把「谁调用谁」画反,误导读者对依赖方向的判断。
  • 异步画成同步:MQ 解耦的链路画成同步调用,错误表达了系统耦合度。
  • 过度 UML 仪式:内部小工具也要画全套六张图。图服务于决策,决策简单就少画。
  • 命名不统一:同一组件在不同图里叫不同名字(Order / 订单服务 / order-svc)。全程用一个名。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 78 lines · 102 tokens per session scan A fb9bdcefc609

Subscribe to this mod's changes

uml-and-software-architecture-visualization is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 102 tokens to every session and 1,228 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-27.

Related

uml-and-software-architecture-visualization compared with skills from other repositories

uml-and-software-architecture-visualization next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
uml-and-software-architecture-visualizationMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A102Claude Code, Codex
browserwing-executorMemTensor/MemOSSkill13k3d agoApache-2.0A42Claude Code, Codex
form-list-layoutserac-labs/seracSkill771mo agoApache-2.0A70Claude Code
design-an-interfacechinkan/RustFoxSkill14yesterdayMITA43Codex
llm-integrationLuuOW/meridian-mcpSkill01mo agoMITA29Claude Code, Codex
stripe-projectsNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex
archifyNousResearch/hermes-agentSkill267ktodayMITA12Claude Code, Codex