본문으로 건너뛰기
cccskills
OpenClaw 공식무료GitHub에 공개

mermaid-diagrams

Create or refine readable Mermaid diagrams for changes, architecture, lifecycles, and dependencies in Markdown documents and PR descriptions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md4.4 KB
  • references/flowchart-template.md2.4 KB

SKILL.md(원문)

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

Mermaid diagrams

Use a diagram when relationships, phases, or boundaries are easier to understand visually. Keep the surrounding explanation short. A simple edit or single fact usually needs only prose.

Establish the meaning

  • Check the relevant implementation or design before drawing. State whether the diagram describes current behavior, a proposal, or a before/after comparison.
  • Show the important relationships and major boundaries, not every function. Name subgraphs for the phases or boundaries they explain.
  • Use solid arrows for implemented connections and dashed arrows for pending or unconnected integration. Label arrows with short verbs or conditions. Express asynchronous behavior in words rather than repurposing dashed arrows.
  • Make blockers, missing connections, and out-of-scope work explicit. A proposed connection stays dashed even when its components already exist.
  • Match claims to the evidence: implemented source does not by itself prove a working deployment. If that distinction matters, include it in the diagram or its caption. Do not infer a completed path from neighboring components.

Draw compactly

Use a native Markdown mermaid code block. Prefer flowchart TB; choose another diagram type when it better explains the relationship, such as sequence order. Keep any alternate notation's meaning clear in the caption.

For flowcharts, start from the flowchart template. Its sample behavior is illustrative; replace its nodes and connections with the actual subject.

  • Enable htmlLabels: true in Mermaid's YAML frontmatter.
  • Give nodes short bold headings with <b>...</b> and separate supporting lines with <br/>. Aim for roughly 15–25 characters per line and 2–3 lines per node where practical. Preserve precise names when shortening would obscure meaning.
  • Avoid long single-line labels, fixed-width HTML containers, complex inline CSS, and excessive text. Split an overfull diagram into focused views.
  • Use muted, desaturated fills with dark labels and thin borders; start with 1px strokes. Keep phase outlines neutral so they do not compete with the nodes. Define reusable classDef styles and reinforce color with words and line styles.
  • Start with 14–16px text and balanced spacing. Set subGraphTitleMargin separately from node padding so phase headings have room above their nodes. Tune nodeSpacing and rankSpacing rather than adding empty label lines.
  • Align parallel phases when practical. An extra hyphen on an existing solid arrow (--->) can span another layout rank without adding a relationship. Keep its meaning and endpoints unchanged; avoid inventing edges to force layout.
ColorMeaning
BlueAPIs, configuration, persisted state
PurpleOperator inputs, secrets, external dependencies
TealProcessing, protected operations, implemented capabilities
AmberGates, blockers, conditions requiring attention
Gray with a dashed borderPending or out-of-scope integration

Verify and report

Check that every edge reflects the relevant evidence and that labels distinguish implemented behavior from pending work. Keep confidential details out of diagrams destined for a public document or PR, just as in the surrounding text.

When available, render at the intended document width and inspect label contrast, phase-title clearance, node padding, large empty areas, and confusing crossings. Compare before/after views at the same viewport; a narrower SVG may be enlarged by its viewer. Prefer the destination's renderer; local rendering can differ from the published result. Adjust labels or layout when needed.

Report validation precisely: reviewing source text, passing a Mermaid syntax check, and visually inspecting a rendered diagram are separate checks. If rendering is unavailable, say so; do not describe the diagram as visually verified. Diagram checks do not establish runtime behavior.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

autoreview

OpenClaw 공식무료

Structured code review through the shared OpenClaw agent-skills installation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

openclaw/openclaw-enterprise4322026년 10월 23일 업데이트

console-ui

OpenClaw 공식무료

Build or change Enterprise Console pages, shared styles, and interactions using the existing browser components and Storybook.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

openclaw/openclaw-enterprise4322026년 10월 23일 업데이트

design-review

OpenClaw 공식무료

Assess designs, public interfaces, state ownership, readability, and refactor proposals when the task calls for design review or structural simplification; not for unrelated routine edits.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

openclaw/openclaw-enterprise4322026년 10월 23일 업데이트

deslop

OpenClaw 공식무료

Clean only the current Enterprise diff before autoreview, preserving behavior, security boundaries, required TODOs, and useful test-intent comments.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

openclaw/openclaw-enterprise4322026년 10월 23일 업데이트

enterprise-testing

OpenClaw 공식무료

Select proportional Enterprise validation and diagnose exact CI runs, distinguishing product, harness, infrastructure, and credential failures.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

openclaw/openclaw-enterprise4322026년 10월 23일 업데이트

local-dev

OpenClaw 공식무료

Develop OpenClaw Enterprise changes with proportional verification and source-backed flow documentation for non-trivial behavior.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

openclaw/openclaw-enterprise4322026년 10월 23일 업데이트

openclaw의 스킬 모두 보기

이 스킬의 문제 신고