Skills for Real Engineers. Straight from my .agents directory.
mermaid-diagrams
Agent skill fromsoftaworks/agent-toolkit
Comprehensive guide for creating software diagrams using Mermaid syntax. Use when users need to create, visualize, or document software through diagrams including class diagrams (domain modeling, object-oriented design), sequence diagrams (application flows, API interactions, code execution), flowcharts (processes, algorithms, user journeys), entity relationship diagrams (database schemas), C4 architecture diagrams (system context, containers, components), state diagrams, git graphs, pie charts, gantt charts, or any other diagram type. Triggers include requests to "diagram", "visualize", "model", "map out", "show the flow", or when explaining system architecture, database design, code structure, or user/application flows.
How to install mermaid-diagrams
npx skills add softaworks/agent-toolkit# or add only this skill to Claude Code: copy the folder
skills/mermaid-diagrams/
# into
~/.claude/skills/mermaid-diagrams/ (all projects)
.claude/skills/mermaid-diagrams/ (one project)
1# Mermaid Diagramming23Create professional software diagrams using Mermaid's text-based syntax. Mermaid renders diagrams from simple text definitions, making diagrams version-controllable, easy to update, and maintainable alongside code.45## Core Syntax Structure67All Mermaid diagrams follow this pattern:89```mermaid10diagramType11 definition content12```1314**Key principles:**15- First line declares diagram type (e.g., `classDiagram`, `sequenceDiagram`, `flowchart`)16- Use `%%` for comments17- Line breaks and indentation improve readability but aren't required18- Unknown words break diagrams; parameters fail silently1920## Diagram Type Selection Guide2122**Choose the right diagram type:**23241. **Class Diagrams** - Domain modeling, OOP design, entity relationships25 - Domain-driven design documentation26 - Object-oriented class structures27 - Entity relationships and dependencies28292. **Sequence Diagrams** - Temporal interactions, message flows30 - API request/response flows31 - User authentication flows32 - System component interactions33 - Method call sequences34353. **Flowcharts** - Processes, algorithms, decision trees36 - User journeys and workflows37 - Business processes38 - Algorithm logic39 - Deployment pipelines40414. **Entity Relationship Diagrams (ERD)** - Database schemas42 - Table relationships43 - Data modeling44 - Schema design45465. **C4 Diagrams** - Software architecture at multiple levels47 - System Context (systems and users)48…
Excerpt shown under the repository's MIT license.
More skills in agent-toolkit
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
