Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问许可证需确认审计通过

diagram-creator图表创建者

Agent Skill

diagram-creator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

16,720

周安装

683

GitHub Stars

89

下载量

5,409
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:diagram-creator(图表创建者)
来源仓库:https://github.com/claude-office-skills/skills
仓库路径:skills/diagram-creator
安装命令:
npx skills add https://github.com/claude-office-skills/skills --skill diagram-creator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/claude-office-skills/skills --skill diagram-creator

简介

diagram-creator 使用 Mermaid 和 PlantUML 等文本化图表工具生成专业级图表,适用于文档和演示材料中的视觉表达。

  • 适用于流程图、序列图、架构图、ER 图、甘特图等多种图表类型的创建需求。
  • 提供结构化的图表生成流程,支持多种 UML 和流程图语法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Diagram Creator Skill

Overview

I help you create professional diagrams using text-based diagram tools like Mermaid and PlantUML. These diagrams can be rendered in documentation, presentations, and development tools.

What I can do:

  • Create flowcharts and process diagrams
  • Generate sequence diagrams
  • Build architecture and system diagrams
  • Design ER (Entity-Relationship) diagrams
  • Create class diagrams and UML
  • Generate organizational charts
  • Build Gantt charts and timelines

What I cannot do:

  • Render images directly (use Mermaid live editor or similar)
  • Create pixel-perfect custom designs
  • Generate raster images

How to Use Me

Step 1: Describe Your Diagram

Tell me:

  • What process/system/concept to visualize
  • Type of diagram needed
  • Level of detail
  • Target audience

Step 2: Choose Format

  • Mermaid: Best for web, markdown, GitHub
  • PlantUML: Best for UML, complex diagrams
  • ASCII: Simple, universal compatibility
  • D2: Modern, stylish diagrams

Step 3: Specify Style

  • Colors and themes
  • Direction (top-down, left-right)
  • Level of detail

Diagram Types

1. Flowchart / Process Diagram

Use for: Business processes, decision trees, workflows

flowchart TD
    A[Start] --> B{Decision?}
    B -->|Yes| C[Action 1]
    B -->|No| D[Action 2]
    C --> E[End]
    D --> E

2. Sequence Diagram

Use for: API calls, user interactions, system communication

sequenceDiagram
    participant U as User
    participant A as App
    participant S as Server
    participant D as Database

    U->>A: Click Login
    A->>S: POST /auth/login
    S->>D: Query user
    D-->>S: User data
    S-->>A: JWT token
    A-->>U: Redirect to dashboard

3. Architecture Diagram

Use for: System design, infrastructure, component relationships

flowchart TB
    subgraph Client
        A[Web App]
        B[Mobile App]
    end

    subgraph Backend
        C[API Gateway]
        D[Auth Service]
        E[User Service]
        F[Order Service]
    end

    subgraph Data
        G[(PostgreSQL)]
        H[(Redis)]
        I[(S3)]
    end

    A & B --> C
    C --> D & E & F
    D --> H
    E --> G
    F --> G & I

4. Entity-Relationship Diagram

Use for: Database design, data models

erDiagram
    CUSTOMER ||--o{ ORDER : places
    ORDER ||--|{ LINE_ITEM : contains
    PRODUCT ||--o{ LINE_ITEM : "ordered in"

    CUSTOMER {
        int id PK
        string name
        string email
    }
    ORDER {
        int id PK
        date created_at
        int customer_id FK
    }
    PRODUCT {
        int id PK
        string name
        decimal price
    }

5. Class Diagram

Use for: OOP design, code structure

classDiagram
    class Animal {
        +String name
        +int age
        +makeSound()
    }
    class Dog {
        +String breed
        +bark()
    }
    class Cat {
        +boolean indoor
        +meow()
    }

    Animal <|-- Dog
    Animal <|-- Cat

6. State Diagram

Use for: State machines, status workflows

stateDiagram-v2
    [*] --> Draft
    Draft --> Submitted: Submit
    Submitted --> InReview: Assign reviewer
    InReview --> Approved: Approve
    InReview --> Rejected: Reject
    Rejected --> Draft: Revise
    Approved --> [*]

7. Gantt Chart

Use for: Project timelines, schedules

gantt
    title Project Timeline
    dateFormat  YYYY-MM-DD

    section Planning
    Requirements    :a1, 2024-01-01, 14d
    Design          :a2, after a1, 21d

    section Development
    Backend         :b1, after a2, 30d
    Frontend        :b2, after a2, 30d

    section Testing
    QA Testing      :c1, after b1, 14d
    UAT             :c2, after c1, 7d

8. Mind Map

Use for: Brainstorming, concept organization

mindmap
    root((Project))
        Features
            Feature A
            Feature B
            Feature C
        Team
            Frontend
            Backend
            Design
        Timeline
            Q1
            Q2
            Q3

9. Git Graph

Use for: Branch visualization, git workflows

gitGraph
    commit
    commit
    branch feature
    checkout feature
    commit
    commit
    checkout main
    merge feature
    commit

Output Format

# Diagram: [Name]

**Type**: [Flowchart / Sequence / Architecture / etc.]
**Tool**: [Mermaid / PlantUML]
**Purpose**: [What it illustrates]

---

## Diagram Code

### Mermaid

[Mermaid code here]


### PlantUML (Alternative)

[PlantUML code here]


---

## Rendering Instructions

1. **Mermaid Live Editor**: [https://mermaid.live/](https://mermaid.live/)
2. **GitHub**: Paste directly in markdown files
3. **VS Code**: Install Mermaid extension
4. **Notion**: Use code block with mermaid type

---

## Customization Options

### Color Theme

Add to the beginning:

%%{init: {'theme':'forest'}}%%


Available themes: default, forest, dark, neutral

### Direction

- TB (top to bottom)
- BT (bottom to top)
- LR (left to right)
- RL (right to left)

---

## Notes

- [Any notes about the diagram]
- [Assumptions made]

PlantUML Examples

Sequence Diagram

@startuml
actor User
participant "Web App" as App
participant "API Server" as API
database "Database" as DB

User -> App: Login request
App -> API: POST /auth/login
API -> DB: SELECT user
DB --> API: User record
API --> App: JWT token
App --> User: Redirect to dashboard
@enduml

Component Diagram

@startuml
package "Frontend" {
    [React App]
    [Mobile App]
}

package "Backend" {
    [API Gateway]
    [Auth Service]
    [User Service]
}

database "PostgreSQL" as DB

[React App] --> [API Gateway]
[Mobile App] --> [API Gateway]
[API Gateway] --> [Auth Service]
[API Gateway] --> [User Service]
[User Service] --> DB
@enduml

Tips for Better Diagrams

  1. Keep it simple - Don't overcrowd
  2. Use consistent naming - Clear, descriptive labels
  3. Group related items - Use subgraphs/packages
  4. Choose appropriate type - Match diagram to concept
  5. Consider audience - Technical vs. business
  6. Use colors sparingly - For emphasis only
  7. Add legends - When using symbols/colors
  8. Maintain hierarchy - Top-down or left-right flow

Rendering Tools

ToolURLBest For
Mermaid Livemermaid.liveQuick editing
PlantUML Serverplantuml.comPlantUML rendering
Draw.iodraw.ioManual editing
Excalidrawexcalidraw.comHand-drawn style
Lucidchartlucidchart.comProfessional diagrams

Limitations

  • Cannot render images directly
  • Complex layouts may need manual adjustment
  • Limited styling compared to design tools
  • Some diagram types not supported in all tools

*Built by the Claude Office Skills community. Contributions welcome!*

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.78%
按下载量换算1,881

Claude

31.97%
按下载量换算1,729

Cursor

19.59%
按下载量换算1,060

Gemini CLI

10.6%
按下载量换算573

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills