mindmap

GitHub

该技能用于生成符合规范的层级思维导图。它通过编写Markdown内容,调用内置渲染器生成2400x1600的PNG图片,并进行验证和保存,确保输出简洁、结构平衡且无外部依赖。

docker/sandbox/skills/mindmap/SKILL.md MODSetter/SurfSense

Trigger Scenarios

需要创建结构化知识图谱或大纲 将复杂信息转化为可视化思维导图 生成文档摘要或章节结构的视觉展示

Install

npx skills add MODSetter/SurfSense --skill mindmap -g -y
More Options

Non-standard path

npx skills add https://github.com/MODSetter/SurfSense/tree/main/docker/sandbox/skills/mindmap -g -y

Use without installing

npx skills use MODSetter/SurfSense@mindmap

指定 Agent (Claude Code)

npx skills add MODSetter/SurfSense --skill mindmap -a claude-code -g -y

安装 repo 全部 skill

npx skills add MODSetter/SurfSense --all -g -y

预览 repo 内 skill

npx skills add MODSetter/SurfSense --list

SKILL.md

Frontmatter
{
    "name": "mindmap",
    "description": "Create concise hierarchical mind maps as canonical Markdown with a static PNG download."
}

Mind maps

Author the hierarchy as Markdown; do not author CSS, colors, HTML, SVG, renderer options, or a separate visual design. Markmap's built-in stylesheet and default options own the appearance.

Content contract

Create /workspace/<slug>.md with exactly one non-empty level-one heading and a nested unordered list beneath it. Use two spaces per nesting level.

  • Include 2–6 balanced top-level branches where the subject supports them.
  • Keep labels short and specific; do not put paragraphs in nodes.
  • Maximums include the root: 60 nodes, depth 6, 120 characters per label.
  • Do not skip nesting levels or use empty labels.
  • Do not use raw HTML, images, links, fenced code, tables, directives, remote assets, or control characters.
  • Inline emphasis and inline code are acceptable.

Render

Run the baked renderer; do not install packages, another browser, markmap-cli, or any network dependency:

node /opt/remotion/render-mindmap.mjs \
  /workspace/<slug>.md \
  /workspace/<slug>.png

The command validates the bounded hierarchy, expands every branch, fits the map, and atomically writes an exact 2400×1600 PNG. If it reports that the map is too dense, simplify or split the hierarchy instead of changing styles or renderer options.

Verify and save

Call:

verify_artifact(
  path="/workspace/<slug>.png",
  format="mindmap",
  markdown_path="/workspace/<slug>.md"
)

Fix all blocking findings together, rerender once, and reverify both exact paths. If a blocker remains, stop and explain it instead of looping.

After verification returns status="verified", call:

save_artifact(
  path="/workspace/<slug>.png",
  title="...",
  markdown_representation="<exact contents of /workspace/<slug>.md>"
)

The Markdown argument must be byte-for-byte the verified source; do not summarize it. For revisions, edit the returned markdown_path, render to expected_output_path, verify both paths together, and save with the returned artifact_id and expected_generation. Never edit or reconstruct the PNG.

Version History

  • 014e47a Current 2026-09-23 08:23

Same Skill Collection

.agents/skills/codebase-design/SKILL.md
.agents/skills/migrate-radix-to-base/SKILL.md
.agents/skills/shadcn/SKILL.md
.agents/skills/tdd/SKILL.md
.agents/skills/translate/SKILL.md
.cursor/skills/alert-manager/SKILL.md
.cursor/skills/animation-vocabulary/SKILL.md
.cursor/skills/backlink-analyzer/SKILL.md
.cursor/skills/competitor-analysis/SKILL.md
.cursor/skills/content-gap-analysis/SKILL.md
.cursor/skills/content-quality-auditor/SKILL.md
.cursor/skills/content-refresher/SKILL.md
.cursor/skills/domain-authority-auditor/SKILL.md
.cursor/skills/emil-design-eng/SKILL.md
.cursor/skills/entity-optimizer/SKILL.md
.cursor/skills/frontend-design/SKILL.md
.cursor/skills/geo-content-optimizer/SKILL.md
.cursor/skills/improve-codebase-architecture/SKILL.md
.cursor/skills/internal-linking-optimizer/SKILL.md
.cursor/skills/keyword-research/SKILL.md
.cursor/skills/memory-management/SKILL.md
.cursor/skills/meta-tags-optimizer/SKILL.md
.cursor/skills/on-page-seo-auditor/SKILL.md
.cursor/skills/performance-reporter/SKILL.md
.cursor/skills/python-patterns/SKILL.md
.cursor/skills/rank-tracker/SKILL.md
.cursor/skills/review-animations/SKILL.md
.cursor/skills/schema-markup-generator/SKILL.md
.cursor/skills/seo-content-writer/SKILL.md
.cursor/skills/serp-analysis/SKILL.md
.cursor/skills/shadcn/SKILL.md
.cursor/skills/system-architecture/SKILL.md
.cursor/skills/tdd/SKILL.md
.cursor/skills/technical-seo-checker/SKILL.md
.cursor/skills/ugc-brief/SKILL.md
.cursor/skills/vercel-react-best-practices/SKILL.md
.cursor/skills/web-design-guidelines/SKILL.md
docker/sandbox/skills/docx/SKILL.md
docker/sandbox/skills/flashcards/SKILL.md
docker/sandbox/skills/html/SKILL.md
docker/sandbox/skills/infographic/SKILL.md
docker/sandbox/skills/pdf/SKILL.md
docker/sandbox/skills/pptx/SKILL.md
docker/sandbox/skills/quiz/SKILL.md
docker/sandbox/skills/video/SKILL.md
docker/sandbox/skills/xlsx/SKILL.md
.agents/skills/frontend-workflow/SKILL.md
.cursor/skills/playwright-testing/SKILL.md

Metadata

Files
0
Version
176aed2
Hash
816f794a
Indexed
2026-09-23 08:23

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 10:12
浙ICP备14020137号-1