neo4j-spring-data-skill

Official

Build Neo4j Spring Boot apps with SDN

Authorneo4j-contrib
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the challenge of wiring Neo4j into a Spring Boot application correctly, including entity mapping, repository queries, transactions, and optional vector search, without resorting to raw driver code.

Core Features & Use Cases

  • Spring Data Neo4j entity mapping: Define @Node, @Relationship, and @RelationshipProperties (including relationship IDs and target node mapping) for graph-first domain models.
  • Repository development (imperative and reactive): Implement Neo4jRepository / ReactiveNeo4jRepository with derived queries and safe @Query methods using parameter binding.
  • Practical application setup: Configure application.yml for local Neo4j and Neo4j Aura/TLS, including database selection and credentials via environment variables.
  • Advanced mapping behaviors: Use projections (interface/DTO/dynamic) to control payload shape, manage transaction boundaries, and address common SDN loading and performance pitfalls.
  • Spring AI integration: Enable Spring AI Neo4jVectorStore vector search with schema initialization and similarity search use cases.

Quick Start

Use this skill when you are developing a Spring Boot app with Spring Data Neo4j and want to map graph entities, write repository methods (including @Query), configure application.yml, and optionally enable Spring AI vector search.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: neo4j-spring-data-skill
Download link: https://github.com/neo4j-contrib/neo4j-skills/archive/main.zip#neo4j-spring-data-skill

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.