mustafa-patharia

Pastel Diagrams — Development skill for Claude Code

Development community

Turn plain Mermaid into clean, modern diagrams: pastel cards, Lucide icons, straight connectors, sticky notes and emoji stickers, in light or dark.

How to install Pastel Diagrams

This entry records only its repository, not the path inside it, so there is no exact command to give. Open mustafa-patharia/pastel-diagrams and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Pastel Diagrams does

Turn plain Mermaid into clean, modern diagrams: pastel cards, Lucide icons, straight connectors, sticky notes and emoji stickers, in light or dark. A Claude Code skill and CLI that exports SVG, PNG, HTML and an auto light/dark SVG.

Alternatives in Development

  • Skills — My personal directory of skills, straight from my .claude directory 8.8k ★
  • Ian Handdrawn Ppt — 中文手绘技术 PPT 整页图像生成 Skill 21:9 封面 + 16:9 正文配图 PNG 输出 1.4k ★
  • Img To Component — /agent-input/how-it-works/2.png 이미지에 대해서 다음 작업 수행하라 395 ★

README

pastel-diagrams

Turn plain Mermaid into clean, modern diagrams: soft pastel cards, the Inter font, Lucide icons, straight connectors with rounded corners, sticky-note comments and emoji stickers, in light or dark.

It works two ways:

  • As an AI agent skill. Ask Claude Code (or any agent that reads SKILL.md) for "a diagram of the checkout flow". The agent writes the Mermaid, renders it, checks the layout and fixes problems on its own.
  • As a command-line tool. Point it at .mmd files, folders or Markdown files and get images back.

Every diagram is exported as an **SVG**, a **3x PNG**, a **self-contained HTML page** and an **SVG that follows light/dark mode**, ready for docs, READMEs, Word guides and slides. Everything works offline once installed.

⭐ If this saves you time, please [star the repo](https://github.com/mustafa-patharia/pastel-diagrams). It helps other people find it.

![Order lifecycle](examples/order-lifecycle.auto.svg)

Contents

Quick start

Requirements: Node.js 18+ and an installed Chrome, Edge or Chromium. Nothing else is downloaded.

**1. Claude Code plugin** (easiest). Inside Claude Code, run:

/plugin marketplace add mustafa-patharia/pastel-diagrams
/plugin install pastel-diagrams@pastel-diagrams

The first time you ask for a diagram, the agent runs `npm install` in the plugin folder.

**2. Claude Code skill, for all your projects:**

git clone https://github.com/mustafa-patharia/pastel-diagrams ~/.claude/skills/pastel-diagrams
cd ~/.claude/skills/pastel-diagrams && npm install

Then just ask: *"Draw our sign-up flow as a diagram and put it in docs/diagrams."*

**3. Claude Code skill, for one projec