Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

mermaid-architect

bởi 1999azzar

Coding Agents & IDEs
1.1kLượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Generate beautiful, hand-drawn Mermaid diagrams with robust syntax (quoted labels, ELK layout)

Mô tả

Kỹ năng này làm gì

Generates Mermaid diagram code for flowcharts, sequence diagrams, class diagrams, and state diagrams. Enforces safe syntax rules including quoted node labels and valid node IDs to prevent rendering errors.

Enforcing quoted labels and safe node IDs avoids the syntax errors that break most hand-written Mermaid diagrams.

Khi nào nên dùng

  • Mapping an API request/response flow as a sequence diagram
  • Documenting a database schema with a class diagram
  • Visualizing a CI/CD pipeline as a flowchart
  • Drawing a user authentication state lifecycle
  • Creating a decision tree for branching business logic

Quy trình ví dụ

ĐẦU VÀO

User asks: Diagram the login flow for a web app

AGENT
  1. 1

    Identifies the request as a process flow and selects flowchart type

  2. 2

    Maps steps: user submits credentials, server validates, session created or error returned

  3. 3

    Assigns safe camelCase node IDs and quotes labels containing special characters

  4. 4

    Outputs a TD-oriented Mermaid code block with a brief explanation of each node

ĐẦU RA

A Mermaid flowchart code block showing the login sequence from form submission to session creation or error handling

Cài đặt

clawhub install 1999azzar/mermaid-architect

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết