Community이미지github.com

softaworks/mermaid-diagrams

Mermaid 문법을 사용하여 소프트웨어 다이어그램을 생성하기 위한 종합 가이드입니다. 사용자가 다이어그램을 만들거나, 시각화하거나, 문서화해야 할 때 활용하세요.

mermaid-diagrams란 무엇인가요?

이 스킬은 Mermaid 문법을 활용하여 다양한 소프트웨어 다이어그램을 생성하는 방법을 제공합니다. 클래스 다이어그램(도메인 모델링, 객체 지향 설계), 시퀀스 다이어그램(애플리케이션 흐름, API 상호작용), 순서도(프로세스, 알고리즘, 사용자 여정), ER 다이어그램(데이터베이스 스키마), C4 아키텍처 다이어그램(시스템 컨텍스트, 컨테이너, 컴포넌트), 상태 다이어그램, Git 그래프, 파이 차트, 간트 차트 등 모든 유형을 지원합니다. 사용자가 '다이어그램', '시각화', '모델', '매핑', '흐름' 을 요청하거나, 시스템 아키텍처, 데이터베이스 설계, 코드 구조, 사용자/애플리케이션 흐름을 설명할 때 이 스킬이 트리거됩니다. 이를 통해 개발자는 복잡한 시스템 관계를 직관적으로 표현하고 문서화할 수 있습니다. 코드 블록 내에서 Mermaid 구문을 사용하며, 다양한 다이어그램 유형별 예제와 팁을 포함합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/softaworks/agent-toolkit/tree/main/skills/mermaid-diagrams

Installed? Explore more 이미지 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

mermaid-diagrams은(는) 무엇을 하나요?

Mermaid 문법을 사용하여 소프트웨어 다이어그램을 생성하기 위한 종합 가이드입니다. 사용자가 다이어그램을 만들거나, 시각화하거나, 문서화해야 할 때 사용하세요. 지원하는 다이어그램 유형은 다음과 같습니다: 클래스 다이어그램(도메인 모델링, 객체 지향 설계), 시퀀스 다이어그램(애플리케이션 흐름, API 상호작용, 코드 실행), 순서도(프로세스, 알고리즘, 사용자 여정), 엔티티 관계 다이어그램(데이터베이스 스키마), C4 아키텍처 다이어그램(시스템 컨텍스트, 컨테이너, 컴포넌트), 상태 다이어그램, Git 그래프, 파이 차트, 간트 차트 등 모든 다이어그램 유형. 트리거 요청에는 '다이어그램', '시각화', '모델', '매핑', '흐름 보기' 또는 시스템 아키텍처, 데이터베이스 설계, 코드 구조, 사용자/애플리케이션 흐름에 대한 설명이 포함됩니다.

다이어그램 유형

Mermaid는 다음과 같은 주요 다이어그램 유형을 지원합니다:

  • 순서도 - 프로세스 및 알고리즘 흐름
  • 시퀀스 다이어그램 - 시간 순서 기반 상호작용
  • 클래스 다이어그램 - 객체 지향 설계
  • 상태 다이어그램 - 상태 전이
  • 엔티티 관계 다이어그램 - 데이터베이스 스키마
  • 사용자 여정 - 사용자 경험 매핑
  • 간트 차트 - 프로젝트 스케줄링
  • 파이 차트 - 데이터 비율 시각화
  • Git 그래프 - Git 브랜치 및 커밋
  • C4 다이어그램 - 소프트웨어 아키텍처 컨텍스트, 컨테이너, 컴포넌트

예제

순서도

flowchart TD
    A[시작] --> B{결정}
    B -->|예| C[계속]
    B -->|아니요| D[종료]

시퀀스 다이어그램

sequenceDiagram
    participant 사용자
    participant 서버
    사용자->>서버: GET 요청
    서버-->>사용자: 응답 반환

클래스 다이어그램

classDiagram
    class Animal {
        +String 이름
        +int 나이
        +소리내다()
    }
    class Dog {
        +String 품종
        +꼬리흔들기()
    }
    Animal <|-- Dog

엔티티 관계 다이어그램

erDiagram
    CUSTOMER ||--o{ ORDER : "주문함"
    ORDER ||--|{ LINE-ITEM : "포함함"

C4 아키텍처 다이어그램

C4Context
    Person(사용자, "사용자", "시스템 사용자")
    System(시스템, "시스템", "주요 시스템 설명")
    System_Ext(외부시스템, "외부 시스템", "외부 시스템 설명")
    Rel(사용자, 시스템, "사용")
    Rel(시스템, 외부시스템, "호출")

상태 다이어그램

stateDiagram-v2
    [*] --> 대기
    대기 --> 실행: 시작 명령
    실행 --> 완료: 성공
    실행 --> 오류: 실패
    오류 --> 대기: 재시도
    완료 --> [*]

Git 그래프

gitGraph
    commit
    branch develop
    checkout develop
    commit
    commit
    checkout main
    merge develop
    commit

파이 차트

pie
    title 애플리케이션 컴포넌트 분포
    "프론트엔드" : 40
    "백엔드" : 35
    "데이터베이스" : 15
    "인프라" : 10

간트 차트

gantt
    title 프로젝트 일정
    dateFormat  YYYY-MM-DD
    section 개발
    설계           :a1, 2024-01-01, 10d
    구현           :a2, after a1, 20d
    테스트         :a3, after a2, 10d

사용 팁

  • 다이어그램 코드는 항상 mermaid 언어 식별자가 있는 코드 블록 안에 작성하세요.
  • 각 다이어그램 유형별로 올바른 키워드와 구조를 사용하세요.
  • 복잡한 다이어그램을 구성할 때는 하위 그래프를 활용하여 관련 노드를 그룹화하세요.
  • 가독성을 높이기 위해 각 요소에 설명적인 레이블을 추가하세요.
  • 성능과 유지보수성을 고려하여 다이어그램을 적절한 크기로 유지하세요.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

softaworks/agent-md-refactor

Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, linked documentation.

softaworks/c4-architecture

Generate architecture documentation using C4 model Mermaid diagrams. Use when asked to create architecture diagrams, document system architecture, visualize software structure, create C4 diagrams, or generate context/container/component/deployment diagrams. Triggers include "architecture diagram", "C4 diagram", "system context", "container diagram", "component diagram", "deployment diagram", "document architecture", "visualize architecture".

softaworks/codex

Use when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, refactoring, or automated editing. Uses GPT-5.2 by default for state-of-the-art software engineering.

softaworks/command-creator

This skill should be used when creating a Claude Code slash command. Use when users ask to "create a command", "make a slash command", "add a command", or want to document a workflow as a reusable command. Essential for creating optimized, agent-executable slash commands with proper structure and best practices.

softaworks/commit-work

Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message, stage changes, or split work into multiple commits.

softaworks/crafting-effective-readmes

Use when writing or improving README files. Not all READMEs are the same — provides templates and guidance matched to your audience and project type.

softaworks/daily-meeting-update

Interactive daily standup/meeting update generator. Use when user says 'daily', 'standup', 'scrum update', 'status update', 'what did I do yesterday', 'prepare for meeting', 'morning update', or 'team sync'. Pulls activity from GitHub, Jira, and Claude Code session history. Conducts 4-question interview (yesterday, today, blockers, discussion topics) and generates formatted Markdown update.

softaworks/database-schema-designer

Design robust, scalable database schemas for SQL and NoSQL databases. Provides normalization guidelines, indexing strategies, migration patterns, constraint design, and performance optimization. Ensures data integrity, query performance, and maintainable data models.

softaworks/dependency-updater

Smart dependency management for any language. Auto-detects project type, applies safe updates automatically, prompts for major versions, diagnoses and fixes dependency issues.

softaworks/difficult-workplace-conversations

Structured approach to workplace conflicts, performance discussions, and challenging feedback using preparation-delivery-followup framework. Use when preparing for tough conversations, addressing conflicts, giving critical feedback, or navigating sensitive workplace discussions.

softaworks/domain-name-brainstormer

Generates creative domain name ideas for your project and checks availability across multiple TLDs (.com, .io, .dev, .ai, etc.). Saves hours of brainstorming and manual checking.

softaworks/feedback-mastery

Navigate difficult conversations and deliver constructive feedback using structured frameworks. Covers the Preparation-Delivery-Follow-up model and Situation-Behavior-Impact (SBI) feedback technique. Use when preparing for difficult conversations, giving feedback, or managing conflicts.

softaworks/game-changing-features

Find 10x product opportunities and high-leverage improvements. Use when user wants strategic product thinking, mentions '10x', wants to find high-impact features, or says 'what would make this 10x better', 'product strategy', or 'what should we build next'.

softaworks/gemini

Use when the user asks to run Gemini CLI for code review, plan review, or big context (>200k) processing. Ideal for comprehensive analysis requiring large context windows. Uses Gemini 3 Pro by default for state-of-the-art reasoning and coding.

softaworks/gepetto

Creates detailed, sectionized implementation plans through research, stakeholder interviews, and multi-LLM review. Use when planning features that need thorough pre-implementation analysis.

softaworks/humanizer

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases. Credits: Original skill by @blader - https://github.com/blader/humanizer

softaworks/lesson-learned

Analyze recent code changes via git history and extract software engineering lessons. Use when the user asks 'what is the lesson here?', 'what can I learn from this?', 'engineering takeaway', 'what did I just learn?', 'reflect on this code', or wants to extract principles from recent work.

softaworks/marp-slide

Create professional Marp presentation slides with 7 beautiful themes (default, minimal, colorful, dark, gradient, tech, business). Use when users request slide creation, presentations, or Marp documents. Supports custom themes, image layouts, and "make it look good" requests with automatic quality improvements.

softaworks/meme-factory

Generate memes using the memegen.link API. Use when users request memes, want to add humor to content, or need visual aids for social media. Supports 100+ popular templates with custom text and styling.

softaworks/naming-analyzer

Suggest better variable, function, and class names based on context and conventions.

관련 스킬