MCPInstall

mermaid-diagram-generator

Use when users need Mermaid diagrams for Arduino code structure, state machines, timing diagrams, task architecture, or workflow documentation.

Installs
101
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/wedsamuel1230/embedded-engineering-skills --skill mermaid-diagram-generator
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads mermaid-diagram-generator automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Mermaid Diagram Generator

Generate Mermaid diagrams from Arduino and embedded-system concepts without loading unnecessary detail up front.

Resources

  • scripts/generate_diagram.py - CLI generator for diagram output
  • references/diagram-templates.md - Mermaid templates by diagram type
  • references/code-patterns.md - code-to-diagram extraction heuristics
  • references/validation-checklist.md - rendering and syntax checks

When to Use

Use this skill when the request asks to:

  • visualize a state machine
  • turn code into a flowchart
  • document timing or protocol sequences
  • show FreeRTOS task relationships
  • add a diagram to project documentation

Do not use it for tiny code snippets where a diagram adds no clarity.

Workflow

  1. Identify the diagram type:
    • state flow -> open references/code-patterns.md
    • timing or protocol sequence -> open references/diagram-templates.md
    • task architecture -> open both code-patterns.md and diagram-templates.md
  2. Prefer the simplest diagram that explains the behavior.
  3. Use scripts/generate_diagram.py when the input is structured enough for automation.
  4. Run through references/validation-checklist.md before presenting the final Mermaid output.

Verification

  • Mermaid syntax parses without errors.
  • The diagram uses the correct abstraction level for the request.
  • State names, transitions, or signals match the source material exactly.
  • The output is readable without reverse-engineering the code.

Integration

  • Pair with freertos-patterns for task and synchronization diagrams.
  • Pair with arduino-code-generator when a generated sketch also needs visual documentation.
  • Pair with readme-generator when the diagram should ship in repository docs.

Shared Output Contract

Use the shared Arduino skill contract: state assumptions, required tools and versions, implementation steps, tests/evidence by proof stage, known limitations, and recovery/security notes.

FAQ

What does the mermaid-diagram-generator skill do?

Use when users need Mermaid diagrams for Arduino code structure, state machines, timing diagrams, task architecture, or workflow documentation.

How do I install mermaid-diagram-generator?

Run npx skills add https://github.com/wedsamuel1230/embedded-engineering-skills --skill mermaid-diagram-generator in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/mermaid-diagram-generator/ (personal) or .claude/skills/mermaid-diagram-generator/ (project).

Which AI agents can use mermaid-diagram-generator?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is mermaid-diagram-generator safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains mermaid-diagram-generator?

It is published by wedsamuel1230 in wedsamuel1230/embedded-engineering-skills. It has 101 recorded installs.

More from wedsamuel1230/embedded-engineering-skills

View all →

arduino-project-builder

wedsamuel1230/embedded-engineering-skills

Build complete Arduino and embedded projects across Arduino IDE, Arduino CLI, PlatformIO, and vendor-specific toolchains. Use when users request an application combining firmware, sensors, actuators, networking, power, or deployment rather than a code snippet. The bundled scaffold targets UNO, ESP32, and Raspberry Pi Pico; use the board profile and document limitations for other targets.

DevOps & Cloud540 installs

arduino-code-generator

wedsamuel1230/embedded-engineering-skills

Generate Arduino and embedded C++ snippets for sensors, actuators, buses, state machines, timing, data logging, and hardware abstraction. Use when a user requests implementation code and provide the exact board, framework, toolchain, pins, voltage, memory, and library versions first. Bundled templates target UNO, ESP32, and RP2040; document unsupported board or vendor-framework behavior instead of guessing.

DevOps & Cloud429 installs

circuit-debugger

wedsamuel1230/embedded-engineering-skills

Open the skill to read its SKILL.md instructions.

264 installs

arduino-serial-monitor

wedsamuel1230/embedded-engineering-skills

Open the skill to read its SKILL.md instructions.

231 installs

error-message-explainer

wedsamuel1230/embedded-engineering-skills

Open the skill to read its SKILL.md instructions.

180 installs

enclosure-designer

wedsamuel1230/embedded-engineering-skills

Use when users need a 3D-printable enclosure for an Arduino, ESP32, or RP2040 project and need help with measurements, cutouts, print settings, or environmental protection.

Frontend & Design175 installs

Popular docs & writing skills

View category →

grill-with-docs

mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Docs & Writing1.2M installs

lark-markdown

open.feishu.cn

飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。

Docs & Writing778.7K installs

writing-beats

mattpocock/skills

Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.

Docs & Writing490.7K installs

writing-shape

mattpocock/skills

Writing, exploit: shape raw material into an article, paragraph by paragraph.

Docs & Writing490.2K installs

writing-fragments

mattpocock/skills

Writing, explore: mine raw fragments, no structure yet.

Docs & Writing489.6K installs

writing-for-agents

mattpocock/skills

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

Docs & Writing479.3K installs