xmind-file

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Xmind File

Xmind 文件

Setup

安装配置

bash
which xmind || npm install -g @xmindltd/xmind-cli
bash
which xmind || npm install -g @xmindltd/xmind-cli

Create

创建思维导图

Step 1: Discover

步骤1:查看可用技能

bash
xmind skill list
Review all available recipes, layout features, and editing helpers.
bash
xmind skill list
查看所有可用的模板、布局功能和编辑辅助工具。

Step 2: Load Skills + Execute

步骤2:加载技能并执行

Load a recipe and a feature strategy in one call:
bash
xmind skill show recipes/<name> features features/strategy/<name>
Then follow the loaded instructions:
  1. Phase 1 — Content: Follow recipe rules to plan content.
  2. Phase 2 — Render: Follow features + strategy rules to produce markdown, select skeleton and color, execute CLI.
If a subtree needs a different strategy during Phase 2:
bash
xmind skill show features/strategy/<other>
在一次调用中加载模板和功能策略:
bash
xmind skill show recipes/<name> features features/strategy/<name>
然后按照加载的说明操作:
  1. 阶段1 — 内容规划:遵循模板规则规划内容。
  2. 阶段2 — 渲染生成:遵循功能和策略规则生成markdown,选择框架和配色,执行CLI命令。
如果在阶段2中某个子树需要不同的策略:
bash
xmind skill show features/strategy/<other>

Edit

编辑思维导图

Quick Edit

快速编辑

bash
xmind read <file>
xmind add <file> --parent <title> --topic <text>
xmind update <file> --topic <old-title> --title <new-title>
xmind delete <file> --topic <title>
xmind theme <file> --skeleton <name> --color <name>
xmind marker <file> --topic <title> --marker <id>
xmind label <file> --topic <title> --labels "Label1,Label2"
xmind layout <file> --topic <title> --layout <name>
cat <<'BATCH_EOF' | xmind batch <file>
[{"op": "...", ...}]
BATCH_EOF
bash
xmind read <file>
xmind add <file> --parent <title> --topic <text>
xmind update <file> --topic <old-title> --title <new-title>
xmind delete <file> --topic <title>
xmind theme <file> --skeleton <name> --color <name>
xmind marker <file> --topic <title> --marker <id>
xmind label <file> --topic <title> --labels "Label1,Label2"
xmind layout <file> --topic <title> --layout <name>
cat <<'BATCH_EOF' | xmind batch <file>
[{"op": "...", ...}]
BATCH_EOF

Guided Edit

引导式编辑

For complex edits (optimize, review, restructure, restyle), load the edit guide:
bash
xmind skill show editing/guide
Follow the guide's analysis template, then apply changes via batch.
对于复杂编辑(优化、审阅、重构、重新设置样式),加载编辑指南:
bash
xmind skill show editing/guide
遵循指南的分析模板,然后通过批量操作应用更改。

Manual Image Attach

手动附加图片

If the user already has local image files, attach them directly to topics:
bash
xmind image <file> --topic <title> --input <path>
xmind image <file> --topic <title> --remove
For illustrated maps where the agent generates images, use xmind-illustrated-map instead.
如果用户已有本地图片文件,可直接将其附加到主题:
bash
xmind image <file> --topic <title> --input <path>
xmind image <file> --topic <title> --remove
如需由Agent生成图片的插图式思维导图,请改用xmind-illustrated-map