Individual skill
graph-schema
Graph database schema design and data modeling expert. Use when designing, reviewing, or refactoring graph database schemas (Neo4j, Memgraph, Neptune, etc.). Triggers on graph modeling, node/relationship design, Cypher schema, property graph design, knowledge graph modeling, or when translating a domain into a graph structure. Focuses primarily on data modeling correctness — understanding the user's goal and translating it into the right graph structure — with performance as a secondary concern.
skills/.experimental/graph-schema/SKILL.md
Source commit cf93c57cac89d6fc3e4194686000411567f5caf3
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 222
- Repository last updated
- Aug 15, 2026
- License
- MIT
Observed agent integration: codex
- data Derived category
- design Derived category
- data-databases Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
AGENTS.mddoc · 10,964 bytesSKILL.mdcore · 8,355 bytesSKILL.mdcore · 8,355 bytesSKILL.mdcore · 8,355 bytesassets/templates/_template.mddoc · 596 bytesmetadata.jsonasset · 1,372 bytesreferences/_sections.mddoc · 2,116 bytesreferences/anti-duplicate-data.mddoc · 2,113 bytesreferences/anti-generic-relationships.mddoc · 2,291 bytesreferences/anti-join-table-nodes.mddoc · 1,776 bytesreferences/anti-over-modeling.mddoc · 1,935 bytesreferences/anti-relational-porting.mddoc · 2,156 bytesreferences/anti-string-encoded-structure.mddoc · 2,303 bytesreferences/constraint-existence.mddoc · 2,001 bytesreferences/constraint-index-traversals.mddoc · 1,996 bytesreferences/constraint-no-over-index.mddoc · 2,077 bytesreferences/constraint-node-key.mddoc · 2,814 bytesreferences/constraint-unique-identifiers.mddoc · 1,767 bytesreferences/entity-avoid-god-nodes.mddoc · 1,913 bytesreferences/entity-events.mddoc · 1,894 bytesreferences/entity-identity-state.mddoc · 1,734 bytesreferences/entity-multi-label.mddoc · 1,367 bytesreferences/entity-reify-actions.mddoc · 1,792 bytesreferences/entity-shared-values.mddoc · 1,333 bytesreferences/entity-specific-labels.mddoc · 1,180 bytesreferences/pattern-bipartite.mddoc · 2,080 bytesreferences/pattern-fan-out.mddoc · 2,004 bytesreferences/pattern-hierarchy.mddoc · 2,036 bytesreferences/pattern-intermediary-nodes.mddoc · 1,773 bytesreferences/pattern-linked-list.mddoc · 1,807 bytesreferences/pattern-timeline-tree.mddoc · 1,732 bytesreferences/prop-correct-data-types.mddoc · 1,542 bytesreferences/prop-no-arrays-for-connections.mddoc · 1,716 bytesreferences/prop-no-foreign-keys.mddoc · 1,404 bytesreferences/prop-promote-to-node.mddoc · 1,487 bytesreferences/prop-relationship-vs-node-data.mddoc · 1,827 bytesreferences/query-critical-traversals.mddoc · 1,767 bytesreferences/query-denormalize-reads.mddoc · 1,917 bytesreferences/query-filter-by-rel-props.mddoc · 1,600 bytesreferences/query-shortcut-relationships.mddoc · 1,960 bytesreferences/query-test-before-deploy.mddoc · 2,069 bytesreferences/rel-meaningful-direction.mddoc · 1,538 bytesreferences/rel-naming-conventions.mddoc · 1,615 bytesreferences/rel-no-redundant-reverse.mddoc · 1,442 bytesreferences/rel-properties-scope.mddoc · 1,502 bytesreferences/rel-single-semantic.mddoc · 1,396 bytesreferences/rel-specific-types.mddoc · 1,301 bytesreferences/rel-typed-over-filtered.mddoc · 1,974 bytesreferences/scale-batch-refactoring.mddoc · 2,305 bytesreferences/scale-dense-node-detection.mddoc · 2,509 bytesreferences/scale-schema-migration.mddoc · 2,212 bytesreferences/scale-supernode-mitigation.mddoc · 2,520 bytesreferences/scale-temporal-versioning.mddoc · 2,837 bytes
Read excerpt
# dot-skills Graph Database Schema Design Best Practices
Comprehensive graph database data modeling guide for property graphs (Neo4j, Memgraph, Amazon Neptune, etc.). Contains 46 rules across 8 categories, prioritized by modeling impact from critical (entity classification, relationship design) to incremental (scale and evolution). Each rule includes detailed explanations, real-world Cypher examples comparing incorrect vs. correct models, and specific impact descriptions.
**Philosophy:** Data modeling correctness first, performance second. Always ask "what is the user trying to achieve?" before choosing structure.
## When to Apply
Reference these guidelines when:
- Designing a new graph database schema from domain requirements
- Translating a relational schema to a graph model
- Deciding whether something should be a node, relationship, or property
- Reviewing an existing graph schema for modeling errors
- Refactoring a graph that produces awkward or slow queries