본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

skill-mermaid-diagrams

chunhualiao 제작

Coding Agents & IDEs
481clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Generate consistent, template-based Mermaid diagrams for technical content.

설명

이 스킬이 하는 일

Generates Mermaid diagrams from 12 pre-built templates with LLM-powered placeholder filling. Supports architecture, flowchart, sequence, Gantt, class, and state diagram types with a consistent color scheme. A subagent handles the full workflow: reading source content, selecting templates, rendering diagrams, and validating output.

Rendering diagrams locally with mermaid-cli costs 95-99% less than AI image generation services while producing consistently styled, version-controllable vector output.

사용 시점

  • Generating system architecture diagrams for technical documentation
  • Creating Gantt charts for project milestone tracking
  • Producing UML class diagrams from code structure descriptions
  • Building sequence diagrams for API interaction walkthroughs
  • Visualizing process state machines in workflow documentation

예시 워크플로

입력

User asks: Generate 3 diagrams for chapters/chapter-05.md

에이전트
  1. 1

    Reads chapter-05.md and analyzes its content

  2. 2

    Selects 3 appropriate templates from the 12 available types

  3. 3

    Fills each template's placeholders with labels derived from chapter content and writes content.json

  4. 4

    Runs generate.mjs to render .mmd source, .svg, and .png files

  5. 5

    Runs validate.mjs to confirm all outputs rendered without errors or unresolved placeholders

출력

3 diagram sets saved to diagrams/chapter-05/ as .mmd, .svg, and .png files with a summary.json metadata file

요구 사항

  • mermaid-cli >= 11.0.0 installed globally via npm install -g @mermaid-js/mermaid-cli

설치

clawhub install chunhualiao/skill-mermaid-diagrams

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크