neo4j-driver-go-skill
OfficialWrite safe, production Go driver code for Neo4j
Software Engineering#error handling#transactions#neo4j#type mapping#go driver#executequery#causal consistency
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.ExecuteQueryas 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
Neo4jErrorvsConnectivityError. - Production operational guardrails: Propagate
contextwith timeouts, specify the database explicitly, and apply batching writes usingUNWIND.
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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.