Create Mind Map Outline
Transform source material into a compact hierarchy that can be copied directly into a mind-map tool. Treat “思维导图 Markdown” as a transport request for a Tab-indented plain-text outline unless the user explicitly names another format.
Output Contract
Unless the user overrides a constraint, apply all of these rules:
- Return exactly one fenced code block labeled
text, with no prose before or after it.
- Put exactly one node on each line. Use one literal Tab character per hierarchy level; never use spaces for indentation.
- Use no blank lines, bullets, numbering, Markdown headings, block quotes, or decorative separators.
- Produce exactly one root node. Count the root as level 1 and allow at most 4 levels total.
- Allow at most 30 nodes total, counting every non-empty line, including internal nodes and the root.
- Keep every leaf at no more than 100 Unicode characters. Prefer shorter internal-node labels as well.
- Keep each node on one source line even if the renderer visually wraps it.
The payload must look like this; the indentation shown inside the block uses literal Tabs:
Community Garden Project
Goals
Grow seasonal vegetables for local residents
Reduce neighborhood food waste through composting
Planning
Site Preparation
Test the soil and install raised beds
Volunteer Schedule
Assign weekly watering and maintenance shifts
Risks
Limited water access during summer
Workflow
- Read the user's explicit format limits first. Explicit limits override the defaults above, but the single-block and literal-Tab rules remain unless the user requests another serialization format.
- Identify the intended subject and choose one concise root label.
- Retain only decision-relevant conclusions, facts, constraints, risks, recommendations, and unresolved points. Remove repetition, conversational history, rhetorical transitions, and supporting detail that does not change the conclusion.
- Group related items under short category nodes. Prefer 2–6 children per internal node. Merge overlapping branches before shortening individual leaves.
- Make leaves self-contained. Preserve uncertainty labels such as “未公开”“推测”“待验证”; never turn an inference into a fact.
- Serialize the hierarchy only after the content has been compressed to fit the depth, node, and leaf limits.
- Validate the final serialized response before sending it.
Constraint Resolution
- If the source is too large, preserve high-impact conclusions and delete low-value detail. Do not silently exceed the requested limits.
- If preserving every requested topic would exceed the node limit, merge sibling topics and compress leaves while retaining distinct decisions and risks.
- If the user requests citations, keep only the minimum decision-relevant source nodes or inline links that fit the limits. Do not fabricate shortened URLs.
- If the user supplies an existing hierarchy, preserve its meaning but repair split code blocks, blank lines, space indentation, Markdown markers, multiple roots, and depth jumps.
- If the user explicitly requests a different serialization format, follow that format instead of this skill's Tab-outline contract.
Validation
Before sending, check all of the following:
- one
text code block and nothing else;
- one root, no blank lines, and one node per line;
- leading indentation contains only literal Tabs;
- depth never jumps by more than one level;
- level count, total node count, and leaf length satisfy the active limits;
- no bullet, heading, or numbered-list prefixes remain.
When Python and file tools are available, save the complete draft response to a temporary file and run:
python3 <skill_dir>/scripts/validate_outline.py <draft-file>
Pass --max-levels, --max-nodes, or --max-leaf-chars when the user overrides the defaults. Fix every reported error before sending. If tools are unavailable, perform the same checks manually.
1---2name: create-mindmap-outline3description: Convert a conversation, document, notes, research, or a previous answer into a concise, paste-ready mind-map outline using literal Tab indentation. Use when the user asks for 思维导图格式, 可粘贴到思维导图/XMind/幕布/飞书思维导图, tab-indented outline, or asks to repair such an outline. Default to one fenced text block, one node per line, no blank lines, at most 4 levels and 30 nodes, and leaves no longer than 100 characters. Do not use when the user explicitly requests Mermaid, OPML, a vendor-native mind-map file, Markdown headings, or a bulleted/numbered Markdown list.4license: MIT5---67# Create Mind Map Outline89Transform source material into a compact hierarchy that can be copied directly into a mind-map tool. Treat “思维导图 Markdown” as a transport request for a Tab-indented plain-text outline unless the user explicitly names another format.1011## Output Contract1213Unless the user overrides a constraint, apply all of these rules:14151. Return exactly one fenced code block labeled `text`, with no prose before or after it.162. Put exactly one node on each line. Use one literal Tab character per hierarchy level; never use spaces for indentation.173. Use no blank lines, bullets, numbering, Markdown headings, block quotes, or decorative separators.184. Produce exactly one root node. Count the root as level 1 and allow at most 4 levels total.195. Allow at most 30 nodes total, counting every non-empty line, including internal nodes and the root.206. Keep every leaf at no more than 100 Unicode characters. Prefer shorter internal-node labels as well.217. Keep each node on one source line even if the renderer visually wraps it.2223The payload must look like this; the indentation shown inside the block uses literal Tabs:2425```text26Community Garden Project27 Goals28 Grow seasonal vegetables for local residents29 Reduce neighborhood food waste through composting30 Planning31 Site Preparation32 Test the soil and install raised beds33 Volunteer Schedule34 Assign weekly watering and maintenance shifts35 Risks36 Limited water access during summer37```3839## Workflow40411. Read the user's explicit format limits first. Explicit limits override the defaults above, but the single-block and literal-Tab rules remain unless the user requests another serialization format.422. Identify the intended subject and choose one concise root label.433. Retain only decision-relevant conclusions, facts, constraints, risks, recommendations, and unresolved points. Remove repetition, conversational history, rhetorical transitions, and supporting detail that does not change the conclusion.444. Group related items under short category nodes. Prefer 2–6 children per internal node. Merge overlapping branches before shortening individual leaves.455. Make leaves self-contained. Preserve uncertainty labels such as “未公开”“推测”“待验证”; never turn an inference into a fact.466. Serialize the hierarchy only after the content has been compressed to fit the depth, node, and leaf limits.477. Validate the final serialized response before sending it.4849## Constraint Resolution5051- If the source is too large, preserve high-impact conclusions and delete low-value detail. Do not silently exceed the requested limits.52- If preserving every requested topic would exceed the node limit, merge sibling topics and compress leaves while retaining distinct decisions and risks.53- If the user requests citations, keep only the minimum decision-relevant source nodes or inline links that fit the limits. Do not fabricate shortened URLs.54- If the user supplies an existing hierarchy, preserve its meaning but repair split code blocks, blank lines, space indentation, Markdown markers, multiple roots, and depth jumps.55- If the user explicitly requests a different serialization format, follow that format instead of this skill's Tab-outline contract.5657## Validation5859Before sending, check all of the following:6061- one `text` code block and nothing else;62- one root, no blank lines, and one node per line;63- leading indentation contains only literal Tabs;64- depth never jumps by more than one level;65- level count, total node count, and leaf length satisfy the active limits;66- no bullet, heading, or numbered-list prefixes remain.6768When Python and file tools are available, save the complete draft response to a temporary file and run:6970```bash71python3 <skill_dir>/scripts/validate_outline.py <draft-file>72```7374Pass `--max-levels`, `--max-nodes`, or `--max-leaf-chars` when the user overrides the defaults. Fix every reported error before sending. If tools are unavailable, perform the same checks manually.