diagramar
БесплатноБез исполняемых скриптовНе проверенUse in discovery to draw the HIGH-LEVEL architecture in Mermaid — context diagram (C4 L1), containers (C4 L2), and the bounded contexts map (DDD). It reads…
от adriannoes★ 108 звёзд на GitHubОб этом скилле
Translation note: Originally authored in Portuguese (pt-BR) by Igor Uehara (igoruehara/spec-driven, MIT). Translated to English by this hub to keep the repository language consistent. Original content unchanged in meaning; see the upstream repo for the pt-BR source.
Skill: Diagram architecture (Mermaid, high level)
Generates the architecture diagrams in Mermaid (they render on GitHub and in Claude Code) from the
discovery artifacts. Keep it high level: actors, systems, containers, and contexts — never classes,
tables, or implementation detail (that is the scope of the feature's design.md).
Inputs (pull only what exists and cite the source)
docs/product/vision.md— actors/personas and the system's purpose.docs/architecture/context-map.md— bounded contexts and relationships (DDD).specs/*/design.md— containers, services, and integrations.docs/architecture/assessment.md— as-is, in brownfield.- Gaps → ask (
AskUserQuestion): external actors, neighboring systems, the main containers (UI/services/data/queues), and the critical journey to illustrate.
Diagrams (high level, aligned with C4 + DDD)
- System context (C4 L1): the system at the center + personas + external systems.
- Containers (C4 L2): apps/services, data, queues, and how they talk.
- Bounded contexts map (DDD): contexts and relationship patterns (ACL, Customer/Supplier, Conformist, Shared Kernel).
- (optional) Key flow: a critical journey in a
sequenceDiagram.
Use
flowchart(renders everywhere) or Mermaid's native C4 diagrams (C4Context,C4Container) if the renderer supports it. Labels in the ubiquitous language ofglossary.md.
Output
- Write/update
docs/architecture/diagrams.md(already exists as a placeholder; keep the frontmatteralwaysApply: false). Each diagram in a```mermaidblock, with a title and 1 line of context. - Ensure the back-link in
context-map.md. Regenerate when the architecture changes — an outdated diagram misleads more than it helps.
Rules
- High level only. Asked for class/table detail? Say it's the scope of
design.md. - Validate the syntax before delivering — run the deterministic gate (don't trust the eye only):
It catches empty blocks, missing/unknown diagram types, and unbalanced quotes/delimiters. Fix the errors before saving; it's the same gate that runs in CI (node scripts/validate-mermaid.mjs .esteira.yml). - Do not invent components that aren't in the inputs — ask (see knowledge verification in
CLAUDE.md).
Установить diagramar в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл diagramar?
Use in discovery to draw the HIGH-LEVEL architecture in Mermaid — context diagram (C4 L1), containers (C4 L2), and the bounded contexts map (DDD). It reads vision, context-map, design, and assessment, and generates/updates docs/architecture/diagrams.md. It keeps a high level, with no implementation detail. Trigger with /diagramar.
Как установить скилл diagramar?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл diagramar запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic