CtrlK
BlogDocsLog inGet started
Tessl Logo

neo4j-cypher-skill

Generates, optimizes, and validates Cypher 25 queries for Neo4j 2025.x and 2026.x. Use when writing new Cypher queries, optimizing slow queries, graph pattern matching, vector or fulltext search, subqueries, or batch writes. Covers MATCH, MERGE, CREATE, WITH, RETURN, CALL, UNWIND, FOREACH, LOAD CSV, SEARCH, expressions, functions, indexes, and subqueries. Does NOT handle driver migration or API changes — use neo4j-migration-skill. Does NOT cover DB administration or server ops — use neo4j-cli-tools-skill.

98

1.60x
Quality

100%

Does it follow best practices?

Impact

96%

1.60x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

96%

25%

Supplier Network Import

Bulk CSV import with MERGE and batch writes

Criteria
Without context
With context

CYPHER 25 prefix

0%

100%

Schema file used

25%

100%

MERGE on id only

100%

100%

Correct label: Supplier

100%

100%

Correct rel type: PARTNERS_WITH

100%

100%

CALL IN TRANSACTIONS used

100%

100%

No PERIODIC COMMIT

100%

100%

SET += for property update

50%

60%

Bound endpoints before rel MERGE

100%

100%

ON CREATE / ON MATCH usage

0%

100%

Input stream outside subquery

100%

100%

92%

50%

Corporate Ownership Chain Analysis

Shortest-path QPE query with schema guardrail

Criteria
Without context
With context

CYPHER 25 prefix on each query

0%

100%

QPE syntax for shortest path

0%

100%

No legacy shortestPath function

0%

100%

No legacy variable-length syntax

0%

100%

ACYCLIC gated to 2026.03+

41%

100%

LIMIT applied

0%

0%

Named properties returned

37%

100%

Parameters used ($from, $to, etc.)

100%

100%

PascalCase label: Company

100%

100%

SCREAMING_SNAKE_CASE rel type: OWNS

100%

100%

No label-free MATCH

100%

100%

Directed relationships used

100%

100%

100%

33%

Query Performance Review and Rewrite

Query performance optimization review

Criteria
Without context
With context

CYPHER 25 on rewrites

0%

100%

Eager diagnosis (Query A)

20%

100%

Eager fix applied (Query A)

0%

100%

count() replaces size(collect()) (Query B)

100%

100%

TEXT index flagged (Query C)

50%

100%

PERIODIC COMMIT replaced (Query D)

80%

100%

No apoc.periodic.iterate in fix

100%

100%

elementId() replaces id() (Query A or D)

100%

100%

Directed relationship fix (Query E)

100%

100%

SQL-style comments replaced

100%

100%

AllNodesScan flagged where applicable

100%

100%

EXPLAIN workflow mentioned

100%

100%

Repository
neo4j-contrib/neo4j-skills
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.