neo4j-cypher-guide

Generate modern Neo4j Cypher read queries from graph retrieval requirements.

1.0k|514|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/unipds-engenharia-de-ia-aplicada/engenharia-de-software-com-ia-aplicada --skill neo4j-cypher-guide-unipds-engenharia-de-ia-aplicada
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neo4j-cypher-guide
Source: https://github.com/unipds-engenharia-de-ia-aplicada/engenharia-de-software-com-ia-aplicada/tree/main/modulo03-mcp-na-pratica/04-skills/.agents/skills/neo4j-cypher-guide
Command: npx skills add https://github.com/unipds-engenharia-de-ia-aplicada/engenharia-de-software-com-ia-aplicada --skill neo4j-cypher-guide-unipds-engenharia-de-ia-aplicada

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you generate modern Neo4j Cypher read queries without relying on deprecated syntax or unsafe query patterns, reducing errors and improving query quality.

Core Features & Use Cases

  • Modern Cypher Guidance: Replaces removed features like id(), implicit grouping, legacy existence checks, and repeated relationship variables with current best practices.
  • Read Query Patterns: Supports subqueries, aggregations, sorting with null handling, and efficient COLLECT and COUNT patterns for graph retrieval tasks.
  • Performance-Oriented Traversal: Recommends quantified path patterns and early filtering for multi-hop graph exploration and text-to-Cypher generation.
  • Use Case: A developer asks for a query that finds top managers, ranks results safely, and avoids deprecated syntax, and this Skill provides a modern Cypher solution with the right constraints.

Quick Start

Ask the Neo4j Cypher guide to turn your graph retrieval requirement into a modern read query that avoids deprecated syntax and applies safe sorting and traversal best practices.

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 without deprecated syntax?

To write modern Cypher read queries, avoid deprecated features like id(), implicit grouping, and legacy existence checks. Use modern subqueries, quantified path patterns, and explicit null filtering for sorted properties to ensure safe and efficient graph traversal.

What is the best way to generate text-to-Cypher queries for graph exploration?

The best way to generate text-to-Cypher queries is to apply early filtering and use quantified path patterns for multi-hop traversal. This performance-oriented approach ensures efficient graph exploration and accurate retrieval from natural language requirements.

Why does my Neo4j Cypher query fail when sorting with null properties?

Neo4j Cypher queries fail when sorting if null properties are not explicitly filtered. Modern read queries require explicit null filtering for sorted properties to avoid errors and ensure safe, predictable query execution during graph retrieval.

How do I use quantified path patterns for multi-hop traversal in Neo4j?

Quantified path patterns in Neo4j allow efficient multi-hop graph traversal by replacing legacy variable-length relationship patterns. They provide performance-oriented traversal with early filtering, ensuring safe and modern Cypher query execution for complex graph exploration.

Can I use COLLECT and COUNT subqueries in Neo4j for aggregation reads?

Yes, you can use COLLECT{}, COUNT{}, and EXISTS{} subqueries in Neo4j for aggregation reads. These modern Cypher patterns replace implicit grouping and legacy existence checks, providing safe and efficient graph retrieval for complex data aggregation.

When do I need to migrate away from implicit grouping in Cypher?

You need to migrate away from implicit grouping in Cypher when writing modern read queries for graph retrieval. Replace deprecated implicit grouping with modern subqueries and aggregation patterns like COLLECT{} and COUNT{} to ensure safe and efficient query execution.