xmindify

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

XMindify 思维导图生成器

XMindify Mind Map Generator

工作流程

Workflow

执行步骤

Execution Steps

  1. 确定场景 - 根据用户意图选择预设模板或自动生成
  2. 生成 XMindMark - 严格按照 SYNTAX.md 语法创建
    .xmindmark
    文件
  3. 语法检查 - 检查 XMindMark 文件是否符合语法规范,不规范要修改直到规范为止
  4. 转换导出 - 使用 CLI 转换为 XMind 和 SVG
  1. Determine Scenario - Select preset templates or generate automatically based on user intent
  2. Generate XMindMark - Strictly follow the syntax in SYNTAX.md to create
    .xmindmark
    files
  3. Syntax Check - Check if the XMindMark file complies with syntax specifications, modify it until it meets the requirements if not
  4. Conversion & Export - Use CLI to convert to XMind and SVG formats

场景路由

Scenario Routing

根据用户需求选择合适的场景模板:
用户意图场景文件触发关键词
分析学术论文paper.md论文、学术、research、paper
总结长篇内容summary.md总结、提炼、梳理、要点
创意构思/发散思维brainstorm.md头脑风暴、创意、想法、方案
问题分析/决策analysis.md分析、问题、决策、对比
项目规划project.md项目、计划、规划、roadmap
无特定场景自动生成根据内容智能推断
当用户需求不匹配预设场景时:
  1. 提取中心主题 - 从用户输入中识别核心话题
  2. 分析内容结构 - 识别关键维度和层次关系
  3. 智能组织 - 根据内容类型自动选择最佳组织方式(时间、类别、优先级等)
  4. 添加视觉元素 - 适当使用边界分组、关联连接、总结节点
Select the appropriate scenario template based on user needs:
User IntentScenario FileTrigger Keywords
Analyze academic paperspaper.mdpaper, academic, research, paper
Summarize long-form contentsummary.mdsummarize, refine, organize, key points
Creative ideation/divergent thinkingbrainstorm.mdbrainstorm, creativity, idea, solution
Problem analysis/decision makinganalysis.mdanalyze, problem, decision, comparison
Project planningproject.mdproject, plan, roadmap, planning
No specific scenarioAutomatic generationIntelligently infer based on content
When user needs do not match preset scenarios:
  1. Extract Central Topic - Identify the core topic from user input
  2. Analyze Content Structure - Recognize key dimensions and hierarchical relationships
  3. Intelligent Organization - Automatically select the best organization method (time, category, priority, etc.) based on content type
  4. Add Visual Elements - Appropriately use boundary grouping, relationship connections, and summary nodes

XMindMark 转换命令

XMindMark Conversion Commands

使用 npm 或 pnpm 安装 Xmindmark CLI:
npm install -g xmindmark
检查 Xmindmark CLI 是否已安装:
bash
xmindmark --version
如果已经安装,使用下面的脚本转换并导出为 XMind 和 SVG 格式:
bash
undefined
Install Xmindmark CLI using npm or pnpm:
npm install -g xmindmark
Check if Xmindmark CLI is installed:
bash
xmindmark --version
If already installed, use the following scripts to convert and export to XMind and SVG formats:
bash
undefined

转换为 XMind 文件

Convert to XMind file

xmindmark -f xmind topic.xmindmark
xmindmark -f xmind topic.xmindmark

转换为 SVG 图片

Convert to SVG image

xmindmark -f svg topic.xmindmark

- 可以使用 `-o` 参数指定输出目录
xmindmark -f svg topic.xmindmark

- You can use the `-o` parameter to specify the output directory

全局规则

Global Rules

  1. 遵守语法规范 - 必须严格遵守 SYNTAX.md 语法规范,生成前后都需要进行检查,不规范要修改直到规范为止
  2. 简洁优先 - 思维导图用于提炼要点,不是复制全文
  3. 层次清晰 - 中心主题 → 主分支 → 子分支 → 细节
  4. 逻辑分组 - 使用边界
    [B]
    将相关概念归类
  5. 关键连接 - 仅用 1-2 个关联标记最核心的逻辑关系
  6. 总结提炼 - 使用
    [S]
    汇总关键结论或局限性
  1. Comply with Syntax Specifications - Must strictly follow the syntax in SYNTAX.md, check before and after generation, modify until it meets the requirements if not
  2. Conciseness First - Mind maps are for extracting key points, not copying the full text
  3. Clear Hierarchy - Central Topic → Main Branch → Sub-branch → Details
  4. Logical Grouping - Use boundary
    [B]
    to categorize related concepts
  5. Key Connections - Use only 1-2 relationships to mark the most core logical connections
  6. Summary & Refinement - Use
    [S]
    to summarize key conclusions or limitations

关联 (Relationship) 使用限制

Relationship Usage Restrictions

  • 最多使用 2 个连接对 - 即最多使用
    [1]
    /
    [^1]
    [2]
    /
    [^2]
  • 只连接最重要的因果关系(如:洞察→贡献、挑战→解决方案)
  • 避免过度使用关联,保持思维导图清晰
  • Maximum 2 connection pairs - i.e., maximum use of
    [1]
    /
    [^1]
    and
    [2]
    /
    [^2]
  • Only connect the most important causal relationships (e.g., insight → contribution, challenge → solution)
  • Avoid overusing relationships to keep the mind map clear

边界 (Boundary) 使用限制

Boundary Usage Restrictions

  • 最多使用 2 个边界 - 即最多使用
    [B1]
    /
    [B2]
  • 只使用边界分组最重要的概念(如:概念1、概念2、概念3)
  • 尽量不用嵌套的边界(如:
    [B1][B2]
  • Maximum 2 boundaries - i.e., maximum use of
    [B1]
    /
    [B2]
  • Only use boundaries to group the most important concepts (e.g., concept 1, concept 2, concept 3)
  • Try not to use nested boundaries (e.g.,
    [B1][B2]
    )

结构规范

Structure Specifications

  • 每个主分支控制在 3-7 个子节点
  • 层级深度不超过 4 层
  • 使用
    [B]
    将相关节点逻辑分组
  • 使用
    [S]
    创建可展开的总结节点
  • Control each main branch to 3-7 child nodes
  • Hierarchy depth does not exceed 4 levels
  • Use
    [B]
    to logically group related nodes
  • Use
    [S]
    to create expandable summary nodes

语法规范

Syntax Specifications

  • 必须严格遵守 SYNTAX.md 语法规范,生成前后都需要进行检查,不规范要修改直到规范为止
  • 1 Tab = 4 空格
  • []
    标记后不能有空格(在主题内容后)
  • 同级子主题之间的空行会被忽略
  • Must strictly follow the syntax in SYNTAX.md, check before and after generation, modify until it meets the requirements if not
  • 1 Tab = 4 spaces
  • No spaces after
    []
    markers (after topic content)
  • Blank lines between sibling sub-topics will be ignored