← 返回
未分类

generate-mindmap-new

This skill should be used when users want to automatically generate a structured mind map from a given topic/theme. It analyzes the topic, creates a hierarchical structure, and outputs a PNG image. Triggers include: "生成导图", "帮我画思维导图", "create a mind map", "自动生成结构化导图", "输入主题生成导图", and similar requests.
|这是一个输入主题 → 自动生成结构化导图的 Skill。能根据你给的主题,智能分析并输出一张精美的 PNG 格式思维导图。
user_c96f494c
未分类 community v1.0.0 1 版本 98529.4 Key: 无需
★ 0
Stars
📥 67
下载
💾 0
安装
1
版本
#latest

概述

Mind Map Generator Skill

Generate structured mind maps from any topic and export as PNG images.

Purpose

This skill transforms a given topic/theme into a well-organized hierarchical mind map.

The AI analyzes the topic, identifies key dimensions and sub-topics, structures them logically,

and renders them as a professional PNG image.

When to Use

Activate this skill when users:

  • Ask to generate a mind map for any topic
  • Request visualization of a concept, subject, or theme
  • Want to see a structured breakdown of a topic
  • Need a visual overview for studying, planning, or brainstorming

Trigger phrases: 生成导图, 思维导图, create mind map, 结构化分析, 帮我画图

Workflow

Step 1: Topic Analysis

When the user provides a topic, analyze it to identify:

  1. Core concept - The central theme
  2. Key dimensions - Major aspects or categories (typically 3-6)
  3. Sub-topics - Detailed points under each dimension
  4. Logical relationships - How elements connect

Step 2: Structure Generation

Build a hierarchical mind map structure following these principles:

                    [Central Topic]
                          |
    +--------+------------+------------+
    |        |            |            |
  [Dim 1] [Dim 2]      [Dim 3]      [Dim 4]
    |        |            |            |
 [Sub 1]  [Sub 1]      [Sub 1]      [Sub 1]
 [Sub 2]  [Sub 2]      [Sub 2]      [Sub 2]

Guidelines:

  • 1 central node (the topic)
  • 3-6 main branches (dimensions)
  • 2-4 sub-nodes per branch
  • Keep text concise (under 10 characters per node if possible)
  • Use parallel structure within each level

Step 3: Generate Mind Map

  1. Call the generate_mindmap.py script with the structured data
  2. The script uses Graphviz to render the mind map
  3. Output is saved as mindmap.png in the current workspace

Script location: mindmap-generator/scripts/generate_mindmap.py

Usage:

python mindmap-generator/scripts/generate_mindmap.py "Central Topic" "Branch1:Sub1,Sub2" "Branch2:Sub1,Sub2" -o output.png

Step 4: Deliver Result

  1. Display the PNG image to the user
  2. Explain the mind map structure briefly
  3. Offer to refine or expand specific branches

Script Details

generate_mindmap.py

Dependencies:

  • Graphviz (system package): https://graphviz.gitlab.io/download/
  • Python package: pip install graphviz

Arguments:

  • topic: Central topic text (quoted if contains spaces)
  • branches: Branch definitions in format BranchName:Item1,Item2,...
  • -o, --output: Output file path (default: mindmap.png)
  • -c, --color-scheme: Color theme (default: blues)

Example:

python mindmap-generator/scripts/generate_mindmap.py "前端开发" "基础知识:HTML,CSS,JavaScript" "框架:React,Vue,Angular" -o frontend_map.png

Color Schemes

Available color schemes for mind map aesthetics:

  • blues (default) - Professional blue tones
  • greens - Nature/organic theme
  • warm - Orange/red gradient
  • purple - Creative/purple theme
  • mono - Black and white

Best Practices

  1. Keep branches balanced - Try to have similar number of sub-items per branch
  2. Use parallel structure - Items at same level should be comparable
  3. Avoid text overflow - Short labels render better
  4. Limit depth - 2-3 levels deep is optimal for readability

Example

When user says: "帮我生成一个关于'时间管理'的思维导图"

Expected structure:

                    时间管理
                       |
    +---------+--------+--------+--------+
    |         |        |        |        |
  目标设定  优先级    工具方法   习惯养成
    |         |        |        |
  SMART原则  ABC法则  日历App   早起
  拆解任务  四象限   番茄钟    复盘

The generated PNG will display this as a visually appealing radial mind map.

版本历史

共 1 个版本

  • v1.0.0 Initial release 当前
    2026-05-17 23:08 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,238
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 712 📥 243,774
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,099