neo4j-cypher-guide

Write modern Neo4j Cypher read queries avoiding deprecated syntax.

127|8|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/hanamizuki/solopreneur --skill neo4j-cypher-guide-hanamizuki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neo4j-cypher-guide
Source: https://github.com/hanamizuki/solopreneur/tree/main/plugins/neo4j-dev/skills/neo4j-cypher-guide
Command: npx skills add https://github.com/hanamizuki/solopreneur --skill neo4j-cypher-guide-hanamizuki

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to writing modern Neo4j Cypher read queries, helping developers avoid deprecated syntax and optimize traversal patterns for robust graph data retrieval.

Core Features & Use Cases

  • Modern Cypher patterns: Promote Quantified Path Patterns (QPP), CALL subqueries, and explicit grouping for reliable reads.
  • Performance guidance: Early filtering, null handling in sorts, and efficient aggregations for large graphs.
  • Use Case: Design queries for complex reads in enterprise graphs, such as fetching top employees by relationship metrics or summarizing departmental connections.

Quick Start

Write a sample modern Cypher query that avoids deprecated features and uses a QPP pattern to fetch a 1-5 hop path between two stations.

Frequently Asked Questions about neo4j-cypher-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write modern Neo4j Cypher queries that avoid deprecated syntax?

Modern Neo4j Cypher queries avoid deprecated syntax by adopting Quantified Path Patterns (QPP), explicit grouping, and CALL subqueries for reliable graph data retrieval and complex pattern matching.

What is a Quantified Path Pattern in Neo4j and when do I need it?

A Quantified Path Pattern (QPP) in Neo4j matches variable-length graph traversals concisely. You need QPP to fetch multi-hop paths, such as querying a 1-5 hop route between two stations, without older iterative syntax.

How do I optimize Neo4j graph queries for large datasets?

Optimize Neo4j graph queries by applying early filtering to reduce traversal scope, handling nulls in sort operations, and structuring efficient aggregations to minimize performance bottlenecks during large graph data retrieval.

How do I use CALL subqueries for complex pattern matching in Neo4j?

Use CALL subqueries in Neo4j to isolate complex pattern matching logic into scoped read blocks. This approach ensures explicit grouping and allows targeted retrieval of specific relationship metrics without scanning the entire graph.

Does this Cypher guide support explicit grouping for enterprise graph reads?

Yes, this Cypher guide satisfies requirements for explicit grouping, ensuring robust read queries for enterprise graphs. It helps summarize departmental connections and fetch top employees by relationship metrics reliably.