← 返回 Skills 市场
fisa712

Knowledge Graph - Property Graph Schema Designer

作者 Muhammad Asif · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
38
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install property-graph-schema-designer
功能描述
Design property graph schemas for knowledge graph systems using Neo4j-style node labels, relationships, and properties based on domain descriptions or develo...
使用说明 (SKILL.md)

Property Graph Schema Designer

Design Neo4j-style property graph schemas from domain descriptions.

This skill translates domain models, requirements, and entity descriptions into structured property graph schemas with node labels, relationships, properties, and constraints.

Quick Start

Use When

  • Designing property graph schemas for Neo4j
  • Converting domain documentation → graph models
  • Creating graph database data models
  • Modeling entities and relationships
  • Bootstrapping graph projects

Inputs

  • Domain descriptions
  • System architecture docs
  • Entity relationship diagrams
  • Relational schemas
  • JSON/API schemas
  • Business rules

Outputs

  • Node labels (e.g., Student, Course)
  • Relationship types (e.g., ENROLLED_IN, TEACHES)
  • Node properties with types
  • Relationship properties
  • Index recommendations
  • Constraint suggestions
  • Cypher implementation templates

Example

Input:

A university has students, professors, courses, and departments.
Students enroll in courses. Professors teach courses.
Departments manage professors and courses.

Output:

Node Labels:
- Student (properties: student_id, name, email, enrollment_year)
- Professor (properties: professor_id, name, research_area)
- Course (properties: course_id, title, credits)
- Department (properties: dept_id, name, budget)

Relationships:
- (Student)-[:ENROLLED_IN {semester}]->(Course)
- (Professor)-[:TEACHES {semester}]->(Course)
- (Department)-[:MANAGES]->(Course)
- (Department)-[:EMPLOYS]->(Professor)

Constraints:
- CREATE CONSTRAINT student_id UNIQUE on Student.student_id
- CREATE CONSTRAINT course_id UNIQUE on Course.course_id
- CREATE INDEX on Professor.name

Execution Steps

  1. Identify Entities – Extract nouns/concepts from domain text
  2. Map to Node Labels – Determine PascalCase labels
  3. Identify Relationships – Extract verbs and connections
  4. Map Relationship Types – Determine SCREAMING_SNAKE_CASE types
  5. Extract Properties – Identify node & relationship attributes
  6. Suggest Constraints – Recommend unique constraints
  7. Suggest Indexes – Recommend indexes for queries
  8. Generate Cypher – Output implementation templates

Schema Components

Node Labels

PascalCase naming
Examples: Student, Professor, Course, Department

Relationship Types

SCREAMING_SNAKE_CASE naming
Directional: A-[TYPE]->B
Examples: ENROLLED_IN, TEACHES, MANAGES

Properties

Node properties: camelCase (student_id, name, email)
Relationship properties: camelCase (semester, grade)
Include types: String, Integer, Date, Float

Constraints & Indexes

Unique constraints on identifiers
Indexes on frequently queried properties
Recommended indexes for relationships

Recommended Libraries

  • Drivers: neo4j, py2neo
  • Graph modeling: networkx
  • Visualization: pyvis, graphviz
  • Data: pandas

Best Practices

✓ Use clear, consistent naming (PascalCase, SCREAMING_SNAKE_CASE, camelCase)
✓ Avoid redundant relationships
✓ Prefer directional relationships
✓ Use unique constraints on identifiers
✓ Index frequently queried properties
✓ Keep nodes focused, avoid over-nesting
✓ Separate schema concerns from instance data
✓ Plan for query patterns upfront

References

See schema-patterns.md for property graph design patterns and example-schemas.md for domain schema examples.


Version: 1.0.0

安全使用建议
This skill appears safe to install as a documentation-heavy schema design aid. Review generated Cypher before applying it to a live Neo4j database, and avoid using real personal data in examples or tests unless you have proper privacy controls.
能力评估
Purpose & Capability
Artifacts consistently describe Neo4j-style property graph schema design, including node labels, relationships, properties, constraints, indexes, examples, and a small local schema-builder helper.
Instruction Scope
Runtime instructions are limited to modeling guidance and using included reference/example files; no prompt overrides, agent-control instructions, unrelated data access, or hidden behavior were found.
Install Mechanism
The package contains Markdown documentation and one standard-library Python helper; there are no dependency installs, post-install hooks, network fetches, or automatic execution paths.
Credentials
Examples model fields such as email, phone, shipping address, review text, and social content, which is proportionate for schema-design examples but should be handled carefully when applied to real datasets.
Persistence & Privilege
No persistence, background workers, credential access, broad filesystem indexing, privilege escalation, data deletion, or exfiltration paths were found.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install property-graph-schema-designer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /property-graph-schema-designer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of Property Graph Schema Designer. - Converts domain descriptions and requirements into Neo4j-style graph schemas. - Outputs node labels, relationship types, properties, constraints, index recommendations, and Cypher templates. - Supports input from domain documentation, ER diagrams, relational schemas, or API schemas. - Provides step-by-step modeling guidance and best practices for property graph schema design.
元数据
Slug property-graph-schema-designer
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Knowledge Graph - Property Graph Schema Designer 是什么?

Design property graph schemas for knowledge graph systems using Neo4j-style node labels, relationships, and properties based on domain descriptions or develo... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 38 次。

如何安装 Knowledge Graph - Property Graph Schema Designer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install property-graph-schema-designer」即可一键安装,无需额外配置。

Knowledge Graph - Property Graph Schema Designer 是免费的吗?

是的,Knowledge Graph - Property Graph Schema Designer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Knowledge Graph - Property Graph Schema Designer 支持哪些平台?

Knowledge Graph - Property Graph Schema Designer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Knowledge Graph - Property Graph Schema Designer?

由 Muhammad Asif(@fisa712)开发并维护,当前版本 v1.0.0。

💬 留言讨论