neo4j-driver-go-skill

Official

Write safe, production Go driver code for Neo4j

Authorneo4j-contrib
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Neo4j Go developers struggle to correctly initialize the Neo4j Go Driver, choose the right query execution API, and handle sessions, transactions, errors, and result type mapping without fragile boilerplate or subtle production bugs.

Core Features & Use Cases

  • Driver lifecycle and connectivity verification: Create one goroutine-safe driver per application and verify connectivity at startup.
  • Correct query execution patterns: Use neo4j.ExecuteQuery as the recommended default, and pick managed vs explicit transactions based on streaming and coordination needs.
  • Robust data handling and error checking: Map Go/Cypher types safely (including nulls), extract record values without unsafe assertions, and handle Neo4jError vs ConnectivityError.
  • Production operational guardrails: Propagate context with timeouts, specify the database explicitly, and apply batching writes using UNWIND.

Quick Start

Install and write Go code using the Neo4j Go Driver v6 to connect to your database with neo4j.NewDriver, call driver.VerifyConnectivity, and run queries via neo4j.ExecuteQuery with database routing and parameterized inputs.

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-driver-go-skill
Download link: https://github.com/neo4j-contrib/neo4j-skills/archive/main.zip#neo4j-driver-go-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.