graph-schema
Skill by pproenca
graph-schema guides the design, review and refactoring of graph database schemas. It covers property graphs such as Neo4j, Memgraph and Amazon Neptune, with data modeling correctness placed before performance.
Install graph-schema
Built from the published package, never by AI.
git clone --depth 1 https://github.com/pproenca/dot-skills /tmp/dot-skills && mkdir -p ~/.claude/skills && cp -r /tmp/dot-skills/skills/.experimental/graph-schema ~/.claude/skills/graph-schemaRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/pproenca/dot-skills /tmp/dot-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/dot-skills/skills/.experimental/graph-schema ~/.gemini/antigravity-cli/skills/graph-schemaAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
graph-schema is an agent skill that guides the design, review and refactoring of graph database schemas for property graphs such as Neo4j, Memgraph and Amazon Neptune. It contains 46 rules across 8 categories, ordered by modeling impact, from entity classification and relationship design to constraints and scale. Each rule includes explanations and Cypher examples that compare incorrect and correct models.
The guide starts from the user's goal before choosing structure. It covers when to use nodes, relationships or properties, structural patterns such as intermediary nodes and hierarchies, and anti-patterns to avoid. It is aimed at developers and data modelers who need to translate a domain into a graph, with performance treated as a secondary concern.
Written from the project's SKILL.md and checked against it.
What it can do
- Entity classificationGuides when a domain concept should become a node, with specific labels and multi-label qualification.
- Relationship designCovers specific relationship types, meaningful direction, naming conventions and avoiding redundant reverse relationships.
- Property placementExplains where data belongs: on nodes, on relationships, or promoted to nodes.
- Query-driven refinementDesigns the model around critical traversals and read-heavy paths, and recommends testing against real queries.
- Structural patternsDescribes patterns such as intermediary nodes, hierarchies, linked lists, timeline trees, fan-out and bipartite structures.
- Anti-pattern reviewFlags issues such as relational join tables as nodes, generic RELATED_TO relationships and god nodes.
- Constraints and indexesAdvises on uniqueness, existence and node key constraints, and on indexing traversal entry points without over-indexing.
- Scale and evolutionCovers supernode mitigation, temporal versioning, label and type migrations and batched refactoring.
Try asking
- Review my Neo4j schema for modeling errors in node and relationship design
- Help me translate this relational order system into a graph model
- Should this attribute be a node, a relationship, or a property?
Good to know
- Performance is treated as a secondary concern to data modeling correctness.
- Guidance is focused on property graph databases.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/.experimental/graph-schema/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to graph-schema
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
graph-schema: common questions
Which graph databases does graph-schema support?
The source names Neo4j, Memgraph and Amazon Neptune as examples of property graph databases it applies to, followed by etc.
What is the main focus of graph-schema?
The source says data modeling correctness comes first, meaning understanding the user's goal and translating it into the right graph structure. Performance is a secondary concern.
How many rules does graph-schema include?
It contains 46 rules across 8 categories, each with explanations and Cypher examples comparing incorrect and correct models.
How do I install graph-schema?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is graph-schema free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is graph-schema safe to use?
It scores 56 of 100. Grades: maintenance C, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to graph-schema?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
