[{"data":1,"prerenderedAt":546,"buildId":547},["ShallowReactive",2],{"-docs-getting-started-ai-skills-description":3,"docs--docs-getting-started-ai-skills":16,"docs-navigation-zh-CN":300,"mdc--kyryde-key":527,"surround--docs-getting-started-ai-skills":543},{"data":4,"body":5},{},{"type":6,"children":7},"root",[8],{"type":9,"tag":10,"props":11,"children":12},"element","p",{},[13],{"type":14,"value":15},"text","文档站发布 movk-sigma Agent Skill，让 AI 工具一条命令即可学会用本库声明式地构建知识图谱。",{"id":17,"title":18,"body":19,"category":289,"description":15,"difficulty":290,"extension":291,"index":292,"keywords":290,"links":290,"meta":293,"navigation":290,"path":294,"requires":290,"seo":295,"sitemap":297,"stem":298,"__hash__":299},"docs\u002Fdocs\u002F1.getting-started\u002Fai\u002F3.skills.md","Agent Skills",{"type":20,"value":21,"toc":278},"minimark",[22,27,36,63,66,71,115,122,138,143,153,182,191,195,204,207,224,228,237,244,248,254,274],[23,24,26],"h2",{"id":25},"什么是-skills","什么是 Skills？",[10,28,29,30,35],{},"Skills 是为 AI 编码代理提供库\u002F框架专属知识的结构化文件。与 ",[31,32,34],"a",{"href":33},"\u002Fdocs\u002Fgetting-started\u002Fai\u002Fmcp","MCP Server"," 提供实时工具访问不同，Skill 直接加载进代理上下文，使其在整段对话中都能参考。",[10,37,38,39,43,44,48,49,52,53,58,59,62],{},"文档站提供一个 ",[40,41,42],"strong",{},"usage skill"," ",[45,46,47],"code",{},"movk-sigma","，教 AI 代理用 ",[45,50,51],{},"@movk\u002Fsigma"," 构建知识图谱：遵循 ",[31,54,18],{"href":55,"rel":56},"https:\u002F\u002Fdocs.claude.com\u002Fen\u002Fdocs\u002Fagents-and-tools\u002Fagent-skills",[57],"nofollow"," 规范，自动发布到 ",[45,60,61],{},"\u002F.well-known\u002Fskills\u002F"," 端点。",[23,64,65],{"id":65},"用法",[10,67,68,70],{},[45,69,47],{}," skill 涵盖：",[72,73,74,86,92,99,112],"ul",{},[75,76,77,78,81,82,85],"li",{},"安装与 peer 依赖（",[45,79,80],{},"sigma"," \u002F ",[45,83,84],{},"graphology","）、Nuxt 模块配置",[75,87,88,91],{},[45,89,90],{},"SigmaGraph"," 声明式核心范式，显式容器高度",[75,93,94,95,98],{},"SSR 下的动态 import 约束、",[45,96,97],{},"useSigma()"," 必须在子树内调用",[75,100,101,81,104,107,108,111],{},[45,102,103],{},"data",[45,105,106],{},"graph"," 双通道、",[45,109,110],{},"styles"," 合成、渲染原语与自定义形状",[75,113,114],{},"一组必须遵守的约定（settings 整体透传、图层生命周期等）",[10,116,117,118,121],{},"Skill 附带按需加载的 ",[45,119,120],{},"references\u002F","（components \u002F composables \u002F conventions \u002F recipes），让代理只在需要时拉取细节，保持上下文精简。",[123,124,125,126,133,134,137],"note",{},"查看本站已发布的 Skills：",[31,127,130],{"href":128,"rel":129},"https:\u002F\u002Fsigma.mhaibaraai.cn\u002F.well-known\u002Fskills\u002Findex.json",[57],[45,131,132],{},"\u002F.well-known\u002Fskills\u002Findex.json","。安装后可在代理聊天中输入 ",[45,135,136],{},"\u002Fmovk-sigma"," 调用。",[139,140,142],"h3",{"id":141},"skills-cli","Skills CLI",[10,144,145,152],{},[31,146,149],{"href":147,"rel":148},"https:\u002F\u002Fskills.sh",[57],[45,150,151],{},"skills"," CLI 是安装 Skill 最简单的方式，会自动检测已安装的 Claude Code、Cursor、Windsurf 等代理并一并安装：",[154,155,161],"pre",{"className":156,"code":157,"filename":158,"language":159,"meta":160,"style":160},"language-bash shiki shiki-themes github-light github-light github-dark","npx skills add https:\u002F\u002Fsigma.mhaibaraai.cn\n","Terminal","bash","",[45,162,163],{"__ignoreMap":160},[164,165,168,172,176,179],"span",{"class":166,"line":167},"line",1,[164,169,171],{"class":170},"snPdu","npx",[164,173,175],{"class":174},"sIIMD"," skills",[164,177,178],{"class":174}," add",[164,180,181],{"class":174}," https:\u002F\u002Fsigma.mhaibaraai.cn\n",[183,184,185,186,190],"tip",{},"访问 ",[31,187,189],{"href":147,"rel":188},[57],"skills.sh"," 了解 Skills 生态与更多可用技能。",[139,192,194],{"id":193},"claude-code","Claude Code",[123,196,197,198,203],{},"确保已安装 Claude Code，安装说明见 ",[31,199,202],{"href":200,"rel":201},"https:\u002F\u002Fdocs.anthropic.com\u002Fen\u002Fdocs\u002Fclaude-code\u002Fquickstart",[57],"Anthropic 文档","。",[10,205,206],{},"用 CLI 添加技能：",[154,208,210],{"className":156,"code":209,"filename":158,"language":159,"meta":160,"style":160},"claude skill add https:\u002F\u002Fsigma.mhaibaraai.cn\n",[45,211,212],{"__ignoreMap":160},[164,213,214,217,220,222],{"class":166,"line":167},[164,215,216],{"class":170},"claude",[164,218,219],{"class":174}," skill",[164,221,178],{"class":174},[164,223,181],{"class":174},[139,225,227],{"id":226},"cursor","Cursor",[229,230,231,234],"ol",{},[75,232,233],{},"打开 Cursor，进入「Settings」>「Skills」",[75,235,236],{},"点击「Add skill」并填入站点地址：",[154,238,242],{"className":239,"code":241,"language":14,"meta":160},[240],"language-text","https:\u002F\u002Fsigma.mhaibaraai.cn\n",[45,243,241],{"__ignoreMap":160},[139,245,247],{"id":246},"其他-ai-工具","其他 AI 工具",[10,249,250,251,253],{},"Skill 文件公开发布于 ",[45,252,61],{},"，任何支持自定义上下文的工具都可直接引用：",[72,255,256,264],{},[75,257,258,259],{},"技能索引：",[31,260,262],{"href":128,"rel":261},[57],[45,263,132],{},[75,265,266,267],{},"技能入口：",[31,268,271],{"href":269,"rel":270},"https:\u002F\u002Fsigma.mhaibaraai.cn\u002F.well-known\u002Fskills\u002Fmovk-sigma\u002FSKILL.md",[57],[45,272,273],{},"\u002F.well-known\u002Fskills\u002Fmovk-sigma\u002FSKILL.md",[275,276,277],"style",{},"html pre.shiki code .snPdu, html code.shiki .snPdu{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":160,"searchDepth":279,"depth":279,"links":280},2,[281,282],{"id":25,"depth":279,"text":26},{"id":65,"depth":279,"text":65,"children":283},[284,286,287,288],{"id":141,"depth":285,"text":142},3,{"id":193,"depth":285,"text":194},{"id":226,"depth":285,"text":227},{"id":246,"depth":285,"text":247},"ai",null,"md",false,{},"\u002Fdocs\u002Fgetting-started\u002Fai\u002Fskills",{"title":18,"description":296},"Install the movk-sigma Agent Skill into Claude Code, Cursor or Windsurf to teach AI assistants how to build knowledge graphs with the declarative @movk\u002Fsigma components.",{"loc":294},"docs\u002F1.getting-started\u002Fai\u002F3.skills","vexCy7dmqngcOGs5S63EFnX3KGEFr8Hh8HgckzzYQXQ",[301],{"title":302,"path":303,"stem":304,"children":305,"page":292},"Docs","\u002Fdocs","docs",[306,340,402,491],{"title":307,"path":308,"stem":309,"children":310,"category":290,"description":290,"icon":339},"开始","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[311,314,319,324],{"title":312,"path":308,"stem":309,"category":290,"description":313},"简介","Movk Sigma 是基于 sigma v4 的知识图谱可视化 Nuxt 模块，为 Vue 3 \u002F Nuxt 4 提供声明式组件与 composables。",{"title":315,"path":316,"stem":317,"category":290,"description":318},"安装","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation","安装 Movk Sigma 与必需的 peer 依赖，按需补装布局、分析、渲染程序等可选包。",{"title":320,"path":321,"stem":322,"category":290,"description":323},"Vue + Vite","\u002Fdocs\u002Fgetting-started\u002Fvue","docs\u002F1.getting-started\u002F3.vue","在纯 Vue 3 + Vite 项目中经 @movk\u002Fsigma\u002Fvite、@movk\u002Fsigma\u002Fvue 与 vue-plugin 使用同一套组件与 composables。",{"title":325,"category":290,"description":290,"icon":326,"path":327,"stem":328,"children":329,"page":292},"AI 集成","i-lucide-bot","\u002Fdocs\u002Fgetting-started\u002Fai","docs\u002F1.getting-started\u002Fai",[330,333,338],{"title":34,"path":33,"stem":331,"category":289,"description":332},"docs\u002F1.getting-started\u002Fai\u002F1.mcp","文档站内置 MCP Server，供 AI 智能体检索本库组件、composables、示例，并提供 styles 绑定与渲染原语等增强工具。",{"title":334,"path":335,"stem":336,"category":289,"description":337},"llms.txt","\u002Fdocs\u002Fgetting-started\u002Fai\u002Fllms-txt","docs\u002F1.getting-started\u002Fai\u002F2.llms-txt","文档站自动生成 llms.txt 与 llms-full.txt，为大模型提供结构化的库能力与文档索引。",{"title":18,"path":294,"stem":298,"category":289,"description":15},"i-lucide-square-play",{"title":341,"category":290,"description":290,"icon":342,"path":343,"stem":344,"children":345,"page":292},"组件","i-lucide-box","\u002Fdocs\u002Fcomponents","docs\u002F2.components",[346,351,356,361,366,371,377,382,387,392,397],{"title":90,"path":347,"stem":348,"category":349,"description":350},"\u002Fdocs\u002Fcomponents\u002Fgraph","docs\u002F2.components\u002F01.graph","core","根组件。创建 Sigma 实例与 graphology 图，下发上下文，透传配置，转发全部 sigma 事件。",{"title":352,"path":353,"stem":354,"category":349,"description":355},"SigmaOverlay","\u002Fdocs\u002Fcomponents\u002Foverlay","docs\u002F2.components\u002F02.overlay","跟随画布定位的 DOM 覆盖层，可锚定到节点或图坐标，缩放平移时自动同步位置。",{"title":357,"path":358,"stem":359,"category":349,"description":360},"SigmaTooltip","\u002Fdocs\u002Fcomponents\u002Ftooltip","docs\u002F2.components\u002F03.tooltip","悬浮或点击节点与边时弹出的提示层，默认展示 label，可用插槽完全接管内容。",{"title":362,"path":363,"stem":364,"category":349,"description":365},"SigmaPopover","\u002Fdocs\u002Fcomponents\u002Fpopover","docs\u002F2.components\u002F04.popover","锚定到节点的常驻浮层，内部可交互，开合状态由 v-model:open 控制。",{"title":367,"path":368,"stem":369,"category":349,"description":370},"SigmaContextMenu","\u002Fdocs\u002Fcomponents\u002Fcontext-menu","docs\u002F2.components\u002F05.context-menu","右键节点、边或空白处弹出的菜单，自动压掉浏览器原生菜单。",{"title":372,"path":373,"stem":374,"category":375,"description":376},"SigmaControls","\u002Fdocs\u002Fcomponents\u002Fcontrols","docs\u002F2.components\u002F06.controls","controls","控件容器，负责八向停靠与排布方向，替使用方做掉绝对定位这件事。",{"title":378,"path":379,"stem":380,"category":375,"description":381},"SigmaZoomControl","\u002Fdocs\u002Fcomponents\u002Fzoom-control","docs\u002F2.components\u002F07.zoom-control","放大、缩小、复位三个按钮，图标可经具名插槽替换，行为与无障碍结构由库提供。",{"title":383,"path":384,"stem":385,"category":375,"description":386},"SigmaFullscreenControl","\u002Fdocs\u002Fcomponents\u002Ffullscreen-control","docs\u002F2.components\u002F08.fullscreen-control","全屏开关。整个 .sigma-root 一起进入全屏，覆盖层与其他控件都跟随。",{"title":388,"path":389,"stem":390,"category":375,"description":391},"SigmaSearchControl","\u002Fdocs\u002Fcomponents\u002Fsearch-control","docs\u002F2.components\u002F09.search-control","带防抖、键盘导航与命中高亮的检索框，四个插槽可逐层接管外观，作用域连行为一起给。",{"title":393,"path":394,"stem":395,"category":375,"description":396},"SigmaLegend","\u002Fdocs\u002Fcomponents\u002Flegend","docs\u002F2.components\u002F10.legend","按节点属性聚合的图例，点击条目切换该组显隐，插槽同时给出数据与切换行为。",{"title":398,"path":399,"stem":400,"category":375,"description":401},"SigmaMiniMap","\u002Fdocs\u002Fcomponents\u002Fmini-map","docs\u002F2.components\u002F11.mini-map","缩略图与视口框，点击任意位置把相机平移过去。",{"title":403,"category":290,"description":290,"icon":404,"path":405,"stem":406,"children":407,"page":292},"Composables","i-lucide-plug","\u002Fdocs\u002Fcomposables","docs\u002F3.composables",[408,414,419,424,429,434,439,445,450,455,460,465,470,475,481,486],{"title":409,"path":410,"stem":411,"category":412,"description":413},"useSigma","\u002Fdocs\u002Fcomposables\u002Fuse-sigma","docs\u002F3.composables\u002F01.use-sigma","base","注入当前 SigmaGraph 的上下文，拿到原生 Sigma 与 graphology 实例。",{"title":415,"path":416,"stem":417,"category":412,"description":418},"useSigmaById","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-by-id","docs\u002F3.composables\u002F02.use-sigma-by-id","按 id 取实例上下文，用于组件树之外或跨路由访问；useSigmaIds 列出全部已登记的 id。",{"title":420,"path":421,"stem":422,"category":412,"description":423},"useSigmaGraph","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-graph","docs\u002F3.composables\u002F03.use-sigma-graph","把 graphology 的变更桥接成 Vue 的响应式信号，提供 version、order、size 与变更回调。",{"title":425,"path":426,"stem":427,"category":412,"description":428},"useSigmaEvents","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-events","docs\u002F3.composables\u002F04.use-sigma-events","声明式绑定 sigma 事件，作用域销毁时自动解绑，接受根组件 emits 未覆盖的任意事件名。",{"title":430,"path":431,"stem":432,"category":412,"description":433},"useSigmaSettings","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-settings","docs\u002F3.composables\u002F05.use-sigma-settings","把响应式的配置同步到 sigma，源变化即调用 setSettings，整体透传不做键过滤。",{"title":435,"path":436,"stem":437,"category":412,"description":438},"useSigmaState","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-state","docs\u002F3.composables\u002F06.use-sigma-state","读写 sigma 的交互状态，把悬停、高亮、隐藏这些纯展示态存在实例内部而不污染图数据。",{"title":440,"path":441,"stem":442,"category":443,"description":444},"useSigmaCamera","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-camera","docs\u002F3.composables\u002F07.use-sigma-camera","interaction","相机操作。缩放、复位、聚焦节点、避开浮层遮挡地容纳节点，以及图坐标到屏幕坐标的换算。",{"title":446,"path":447,"stem":448,"category":443,"description":449},"useSigmaSelection","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-selection","docs\u002F3.composables\u002F08.use-sigma-selection","悬浮与选中的状态机，把焦点及其邻居写进 isHighlighted 状态，其余元素由库内规则淡出。",{"title":451,"path":452,"stem":453,"category":443,"description":454},"useSigmaNeighborhood","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-neighborhood","docs\u002F3.composables\u002F09.use-sigma-neighborhood","以某节点为中心逐层扩散的 BFS 邻域计算，以及「点击展开」的远端增量合入。",{"title":456,"path":457,"stem":458,"category":443,"description":459},"useSigmaDrag","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-drag","docs\u002F3.composables\u002F10.use-sigma-drag","把 sigma 的 enableNodeDrag 接进 Vue 的响应式，开关跟随 enabled，过程暴露为 dragged 与 isDragging。",{"title":461,"path":462,"stem":463,"category":443,"description":464},"useSigmaSearch","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-search","docs\u002F3.composables\u002F11.use-sigma-search","按属性检索节点与边，结果随图变更自动重算，可把相机聚焦到命中项。",{"title":466,"path":467,"stem":468,"category":443,"description":469},"useSigmaFilter","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-filter","docs\u002F3.composables\u002F12.use-sigma-filter","声明式过滤，落到 sigma 的 isHidden 状态上，不改动图数据本身。",{"title":471,"path":472,"stem":473,"category":443,"description":474},"useSigmaLabelTiers","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-label-tiers","docs\u002F3.composables\u002F13.use-sigma-label-tiers","按相机比例分级显示标签，视野越广只留下越重要的那几档。",{"title":476,"path":477,"stem":478,"category":479,"description":480},"useSigmaLayout","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-layout","docs\u002F3.composables\u002F14.use-sigma-layout","analysis","五种布局算法的统一入口，支持按连通分量分别布局，并托管 ForceAtlas2 与 Noverlap 的 worker 生命周期。",{"title":482,"path":483,"stem":484,"category":479,"description":485},"useSigmaMetrics","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-metrics","docs\u002F3.composables\u002F15.use-sigma-metrics","图的度数、中心性与社区划分，按图版本缓存避免重复计算。",{"title":487,"path":488,"stem":489,"category":479,"description":490},"useSigmaExport","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-export","docs\u002F3.composables\u002F16.use-sigma-export","把当前画面导出为 PNG，可取 Blob 自行处理，也可直接触发浏览器下载。",{"title":492,"category":290,"description":290,"icon":493,"path":494,"stem":495,"children":496,"page":292},"工具函数","i-lucide-wrench","\u002Fdocs\u002Futils","docs\u002F4.utils",[497,502,507,512,517,522],{"title":498,"path":499,"stem":500,"category":290,"description":501},"applyGraphDiff","\u002Fdocs\u002Futils\u002Fapply-graph-diff","docs\u002F4.utils\u002F1.apply-graph-diff","把 SerializedGraph 增量同步到 graphology 实例，替代 clear() 加 import()，保留已有节点的布局坐标。",{"title":503,"path":504,"stem":505,"category":290,"description":506},"composeStyles","\u002Fdocs\u002Futils\u002Fcompose-styles","docs\u002F4.utils\u002F2.compose-styles","按序拼接多份 styles 声明，让用户规则与 DEFAULT_STYLES 共存而不是互相顶掉。",{"title":508,"path":509,"stem":510,"category":290,"description":511},"labelPlacements","\u002Fdocs\u002Futils\u002Flabel-placements","docs\u002F4.utils\u002F3.label-placements","给每个节点选一个背离邻居的标签方位，返回节点 key 到方位的映射表。",{"title":513,"path":514,"stem":515,"category":290,"description":516},"degreeToTier","\u002Fdocs\u002Futils\u002Fdegree-to-tier","docs\u002F4.utils\u002F4.degree-to-tier","按度数排名给节点分标签档位，返回节点 key 到档位的映射表，档位越小越重要。",{"title":518,"path":519,"stem":520,"category":290,"description":521},"sdfPolygon \u002F sdfStar","\u002Fdocs\u002Futils\u002Fsdf-shapes","docs\u002F4.utils\u002F5.sdf-shapes","把节点画成正多边形或星形的 SDF 形状声明，形状是与颜色正交的第二个编码维度。",{"title":523,"path":524,"stem":525,"category":290,"description":526},"defineSigmaPrimitives","\u002Fdocs\u002Futils\u002Fdefine-sigma-primitives","docs\u002F4.utils\u002F6.define-sigma-primitives","声明一份延迟加载的渲染原语，绕开 sigma 在模块顶层读取 WebGL 全局导致的 SSR 崩溃。",{"data":528,"body":529},{},{"type":6,"children":530},[531],{"type":9,"tag":10,"props":532,"children":533},{},[534,536],{"type":14,"value":535},"Copyright © 2026 - 2026 YiXuan - ",{"type":9,"tag":164,"props":537,"children":540},{"className":538},[539],"text-highlighted",[541],{"type":14,"value":542},"MIT License",[544,545],{"title":334,"path":335,"stem":336,"description":337,"children":-1},{"title":90,"path":347,"stem":348,"description":350,"children":-1},1795515180211,"63cc32bb-ed0d-4a02-83fd-40ba6fe4b04e"]