CtrlK
BlogDocsLog inGet started
Tessl Logo

neo4j-spark-skill

Use when reading from or writing to Neo4j with Apache Spark or Databricks using the Neo4j Connector for Apache Spark 6.0 (org.neo4j.connectors:spark) or 5.x (org.neo4j:neo4j-connector-apache-spark). Covers SparkSession setup, DataFrame reads via labels/Cypher/relationship scan, DataFrame writes with SaveMode, node.keys for MERGE, relationship write mapping, partition and batch tuning, PySpark and Scala examples, Databricks cluster config, Databricks secrets for credentials, Delta Lake to Neo4j pipelines. Does NOT handle Cypher authoring — use neo4j-cypher-skill. Does NOT handle the Python bolt driver — use neo4j-driver-python-skill. Does NOT handle GDS algorithms — use neo4j-gds-skill.

89

1.35x
Quality

96%

Does it follow best practices?

Impact

95%

1.35x

Average score across 2 eval scenarios

SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Evaluation results

90%

20%

Populating a Commerce Purchase Graph in Neo4j from PySpark

Relationship write pipeline ordering and deadlock prevention

Criteria
Without this skill
With this skill

coalesce before rel write

0%

100%

Nodes written first

100%

100%

Relationship strategy = keys

100%

100%

Source node keys option

100%

100%

Target node keys option

100%

100%

Source keys rename syntax

100%

100%

Target keys rename syntax

100%

100%

Relationship properties mapping

100%

100%

Source save mode = Match

0%

0%

Target save mode = Match

0%

0%

node.keys for node writes

100%

100%

100%

30%

Product Catalog Sync Pipeline

Node upsert pipeline with MERGE constraints and performance tuning

Criteria
Without this skill
With this skill

Correct Maven coordinate

100%

100%

Correct format string

100%

100%

Overwrite SaveMode

100%

100%

node.keys option set

100%

100%

Numbered script hooks used

0%

100%

Uniqueness constraint in pre-write script

0%

100%

batch.size in valid range

100%

100%

repartition before write

50%

100%

index.await.timeout set

100%

100%

No semicolon multi-statement script

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.