Skip to main content

hugegraph-schema-designer

Route HugeGraph MCP schema design, validation, and dry-run preview tasks to stable public tools. Use when the user asks to design vertex labels, edge labels, properties, primary keys, indexes, or preview schema operations.

来源信息

仓库
apache/hugegraph-ai
最近来源活动
2026年10月13日 07:35
检测到的 SKILL.md 语言
英语
星标
144
Forks
91

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
hugegraph-schema-designer
description
Route HugeGraph MCP schema design, validation, and dry-run preview tasks to stable public tools. Use when the user asks to design vertex labels, edge labels, properties, primary keys, indexes, or preview schema operations.
# HugeGraph Schema Designer ## Tool Routes | Goal | Tool | | --- | --- | | Inspect current schema | `inspect_graph_tool(include_raw_schema=true)` | | Design schema operations | `design_schema_tool(operations?)` | | Validate schema operations | `apply_schema_tool(mode="validate", operations)` | | Dry-run schema operations | `apply_schema_tool(mode="dry_run", operations)` | | Execute real schema apply | `confirm_write_tool(plan_id)` in default `core`, one supported schema create per plan | | Delete or roll back schema | No V1 stable tool | The default `core` toolset permits confirmed apply only for `create_property_key`, `create_vertex_label`, and `create_edge_label`. In `HUGEGRAPH_MCP_TOOLSET=legacy`, real schema apply remains disabled. Review the dry-run response before applying it. Confirm only a returned, confirmable `plan_id` with `confirm_write_tool(plan_id)`, then query `get_write_status_tool(plan_id)`. Schema create operations use a closed field contract. Property keys accept `data_type`, `cardinality`, `aggregate_type`, and `user_data`; vertex labels accept `id_strategy`, `properties`, `primary_keys`, `nullable_keys`, `index_labels`, `enable_label_index`, and `user_data`; edge labels accept `source_label`, `target_label`, `properties`, `nullable_keys`, `sort_keys`, `frequency`, `enable_label_index`, and `user_data`. Unsupported fields, including `ttl*`, are rejected during validation instead of being silently dropped. Supported fields are forwarded and checked by a live-schema post-read. ## Order ```text inspect_graph_tool -> design_schema_tool -> apply_schema_tool(mode="validate") -> apply_schema_tool(mode="dry_run") -> review operations and preview -> confirm_write_tool(plan_id) -> get_write_status_tool(plan_id) ``` Structured query and plan lifecycle tools require the default `core` toolset. For a `legacy` deployment, enable `HUGEGRAPH_MCP_TOOLSET=core` and restart before using them. These skills describe current source. Published `1.7.1` uses `v2_core` / `v1`; see the [migration guide](../../hugegraph-mcp/README.md#toolset-naming-and-migration).
在 GitHub 查看