본문으로 건너뛰기
cccskills
무료GitHub에 공개한국어 소개

beautiful-mermaid

글이나 Mermaid 코드로 작업 흐름과 데이터 관계를 도표로 만듭니다. 배색 테마를 선택하고 확대해도 선명한 SVG와 고해상도 PNG를 함께 저장합니다.

원문원문 설명 보기

Render Mermaid diagrams as SVG and PNG using the Beautiful Mermaid library. Use when the user asks to render a Mermaid diagram.

실행 점수 미검증

설치 방법 보기

이럴 때 유용합니다

  • 업무 절차와 판단 분기를 도식화할 때
  • API 요청과 응답을 설명할 때
  • 데이터베이스 관계를 시각화할 때
  • 배색을 골라 도표를 내보낼 때

한국어 소개

할 수 있는 일

글로 설명한 내용이나 Mermaid 코드로 도표를 만들고 SVG와 PNG를 모두 저장합니다. 처리 분기를 보여 주는 순서도, 상호 작용의 순서를 나타내는 시퀀스 다이어그램, 상태 전이도, 클래스 다이어그램, 데이터 관계를 나타내는 개체 관계도를 지원합니다. Beautiful Mermaid를 사용하며 밝거나 어두운 배색 등의 테마를 선택할 수 있습니다.

이럴 때 유용합니다

업무 절차, API 호출, 데이터베이스 구조를 도표로 설명할 때 적합합니다. Mermaid 코드가 없어도 글에서 도표 코드를 만드는 과정이 포함됩니다. 확대해서 쓸 SVG와 이미지로 다루기 편한 PNG를 함께 준비할 때도 유용합니다.

사용 예시

  • “이 승인 절차를 순서도로 만들고 SVG와 PNG로 저장해 주세요.”
  • “이 Mermaid 코드를 github-dark 테마로 이미지로 만들어 주세요.”

주의 사항

PNG 생성에는 agent-browser 스킬이 필요합니다. 스크립트는 Bun 실행 예시 외에 tsx와 Deno 예시도 제공합니다. 테마를 지정하지 않으면 default를 사용하고, 저장 위치를 지정하지 않으면 현재 작업 디렉터리에 출력합니다.

이 소개문은 공개된 SKILL.md를 바탕으로 AI(OpenAI Codex)가 작성했습니다. 정확한 사양은 아래 원문을 확인하세요.

문서 점검

AI가 SKILL.md의 내용에서 주의가 필요한 작업과 도입 전제를 확인했습니다. 점수는 실제로 실행한 결과(실행 검증)만으로 매깁니다.

안전성전송·삭제·명령 실행 등을 명시하고 있는가
A양호rm 삭제 대상을 생성한 중간 파일로 제한하며 최종 이미지를 남기도록 명시합니다.
도입의 용이성필요한 도구나 API 키가 적고 적혀 있는가
B일부 부족agent-browser와 실행 환경 선택지는 제시하지만 설치 절차는 없습니다.

점수에는 넣지 않았습니다. 2026년 10월 23일 기준으로 AI(OpenAI Codex)가 판정했습니다. 참고용이므로 설치 전에 원문도 확인해 주세요.

평가가 다르다고 생각되면 재검토를 요청하기

어느 항목이 왜 다르다고 생각하는지 적어 주세요. 로그인은 필요 없습니다. SKILL.md와 대조해 평가를 다시 만들고 이곳에 반영합니다.

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

포함된 파일(4)

  • SKILL.md5.0 KB
  • references/mermaid-syntax.md4.3 KB
  • scripts/create-html.ts4.2 KB
  • scripts/render.ts5.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Beautiful Mermaid Diagram Rendering

Render Mermaid diagrams as SVG and PNG images using the Beautiful Mermaid library.

Dependencies

This skill requires the agent-browser skill for PNG rendering. Load it before proceeding with PNG capture.

Supported Diagram Types

  • Flowchart - Process flows, decision trees, CI/CD pipelines
  • Sequence - API calls, OAuth flows, database transactions
  • State - State machines, connection lifecycles
  • Class - UML class diagrams, design patterns
  • Entity-Relationship - Database schemas, data models

Available Themes

Default, Dracula, Solarized, Zinc Dark, Tokyo Night, Tokyo Night Storm, Tokyo Night Light, Catppuccin Latte, Nord, Nord Light, GitHub Dark, GitHub Light, One Dark.

If no theme is specified, use default.

Common Syntax Patterns

Flowchart Edge Labels

Use pipe syntax for edge labels:

A -->|label| B
A ---|label| B

Avoid space-dash syntax which can cause incomplete renders:

A -- label --> B   # May cause issues

Node Labels with Special Characters

Wrap labels containing special characters in quotes:

A["Label with (parens)"]
B["Label with / slash"]

Workflow

Step 1: Generate or Validate Mermaid Code

If the user provides a description rather than code, generate valid Mermaid syntax. Consult references/mermaid-syntax.md for full syntax details.

Step 2: Render SVG

Run the rendering script to produce an SVG file:

bun run scripts/render.ts --code "graph TD; A-->B" --output diagram --theme default

Or from a file:

bun run scripts/render.ts --input diagram.mmd --output diagram --theme tokyo-night

Alternative runtimes:

npx tsx scripts/render.ts --code "..." --output diagram
deno run --allow-read --allow-write --allow-net scripts/render.ts --code "..." --output diagram

This produces <output>.svg in the current working directory.

Step 3: Create HTML Wrapper

Run the HTML wrapper script to prepare for screenshot:

bun run scripts/create-html.ts --svg diagram.svg --output diagram.html

This creates a minimal HTML file that displays the SVG with proper padding and background.

Step 4: Capture High-Resolution PNG with agent-browser

Use the agent-browser CLI to capture a high-quality screenshot. Refer to the agent-browser skill for full CLI documentation.

# Set 4K viewport for high-resolution capture
agent-browser set viewport 3840 2160

# Open the HTML wrapper
agent-browser open "file://$(pwd)/diagram.html"

# Wait for render to complete
agent-browser wait 1000

# Capture full-page screenshot
agent-browser screenshot --full diagram.png

# Close browser
agent-browser close

For even higher resolution on complex diagrams, increase the viewport further or use the --padding option when creating the HTML wrapper to give the diagram more space.

Step 5: Clean Up Intermediary Files

After rendering, remove all intermediary files. Only the final .svg and .png should remain.

Files to clean up:

  • The HTML wrapper file (e.g., diagram.html)
  • Any temporary .mmd files created to hold diagram code
  • Any other files created during the rendering process
rm diagram.html

If a temporary .mmd file was created, remove it as well.

Output

Both outputs are always produced:

  • SVG: Vector format, infinitely scalable, small file size
  • PNG: High-resolution raster, captured at 4K (3840×2160) viewport with minimum 1200px diagram width

Files are saved to the current working directory unless the user explicitly specifies a different path.

Theme Selection Guide

ThemeBackgroundBest For
defaultLight greyGeneral use
draculaDark purpleDark mode preference
tokyo-nightDark blueModern dark aesthetic
tokyo-night-stormDarker blueHigher contrast
nordDark arcticMuted, calm visuals
nord-lightLight arcticLight mode with soft tones
github-darkGitHub darkMatches GitHub UI
github-lightGitHub lightMatches GitHub UI
catppuccin-latteWarm lightSoft pastel aesthetic
solarizedTan/creamSolarized colour scheme
one-darkAtom darkAtom editor aesthetic
zinc-darkNeutral darkMinimal, no colour bias

Troubleshooting

Theme not applied

Check the render script output for the bg and fg values, or inspect the SVG's opening tag for --bg and --fg CSS custom properties.

Diagram appears cut off or incomplete

  • Check edge label syntax — use -->|label| pipe notation, not -- label -->
  • Verify all node IDs are unique
  • Check for unclosed brackets in node labels

Render produces empty or malformed SVG

  • Validate Mermaid syntax at https://mermaid.live before rendering
  • Check for special characters that need escaping (wrap in quotes)
  • Ensure flowchart direction is specified (graph TD, graph LR, etc.)

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

3d-asset-generation

무료요약 있음

글이나 이미지로 3D 모델을 생성하고 카탈로그 소재와 함께 활용합니다. Blender에서 형상, 재질, 크기와 지면 접촉을 점검하고 출처를 기록한 뒤 장면에 배치합니다.

  • 글로 독자적인 3D 소품 제작
  • 콘셉트 이미지의 물체를 입체로 제작
  • 카탈로그의 식물과 바위로 배경 채우기
calesthio/OpenMontage7.1만2026년 10월 24일 업데이트

acestep

무료요약 있음

ACE-Step 1.5로 곡의 스타일, 길이, 템포 등을 지정해 영상 배경 음악과 가사가 있는 곡을 생성합니다. 참고 음원 편곡과 보컬·악기 분리도 지원합니다.

  • 영상 장면에 맞는 배경 음악 제작
  • 가사가 있는 짧은 징글 제작
  • 참고 음원을 재즈 스타일로 편곡
calesthio/OpenMontage7.1만2026년 10월 24일 업데이트

agents

무료요약 있음

ElevenLabs로 음성 대화 AI를 만들고 목소리, 응답 방침, 외부 도구 연동을 설정합니다. 웹사이트 삽입과 Twilio를 통한 전화 발신도 다룹니다.

  • 문의 응대용 음성 봇 제작
  • 웹사이트에 음성 안내 삽입
  • 대화 가능한 음성 캐릭터 시제품 제작
calesthio/OpenMontage7.1만2026년 10월 24일 업데이트

ai-video-gen

무료요약 있음

글이나 참고 이미지로 AI 영상을 생성하고 용도와 비용에 맞는 서비스를 선택합니다. 소셜 미디어용 세로 영상, 상품 사진의 영상화, 기존 클립의 대화형 편집을 지원합니다.

  • 소셜 미디어용 세로 영상 제작
  • 상품 사진에 움직임 추가
  • 예산과 표현에 맞는 생성 서비스 선택
calesthio/OpenMontage7.1만2026년 10월 24일 업데이트

ai-video-gen

무료요약 있음

텍스트나 참고 이미지로 AI 영상을 생성하고 용도와 비용에 맞는 서비스를 선택하도록 돕습니다. 화면 비율 설정, 진행 상황 확인, Gemini Omni를 통한 대화형 편집도 지원합니다.

  • 글로 설명한 장면을 영상으로 만듭니다
  • 상품 사진에 움직임을 더합니다
  • 소셜 미디어용 세로 영상을 제작합니다
calesthio/OpenMontage7.1만2026년 10월 24일 업데이트

atlas-cloud

무료요약 있음

Atlas Cloud에서 하나의 API 키로 여러 모델을 사용해 이미지와 영상을 생성하고 편집합니다. 결과물과 사용 모델, 설정, 예상 비용 기록을 저장합니다.

  • 한 서비스에서 이미지와 영상 생성
  • 참고 자료로 상품 이미지 편집
  • 이미지·영상·음성을 참고한 영상 생성
calesthio/OpenMontage7.1만2026년 10월 24일 업데이트

calesthio의 스킬 모두 보기

이 스킬의 문제 신고