Skip to content

kr7shnasomani/kairos / .agents/skills/neo4j-driver-go-skill

neo4j-driver-go-skill

Verified

Covers the Neo4j Go Driver v6 — driver lifecycle, ExecuteQuery, managed and explicit transactions, session config, error handling, data type mapping, and connection tuning. Use when writing Go code that connects to Neo4j, setting up NewDriver or ExecuteQuery, debugging sessions/transactions/result handling, or working with neo4j-go-driver v5→v6 migration. Triggers on NewDriver, ExecuteQuery, SessionConfig, ManagedTransaction, neo4j-go-driver. Does NOT handle Cypher query authoring — use neo4j-cypher-skill. Does NOT cover driver version migration steps — use neo4j-migration-skill.

FileKindSize
README.mdmarkdown1.1 KB
SKILL.mdskill md13.2 KB
references/advanced-config.mdmarkdown1.8 KB
references/repository-pattern.mdmarkdown1.6 KB
# neo4j-driver-go-skill

Skill for writing Go code with the Neo4j Go Driver v6.

## What this skill covers

- Driver setup, lifecycle, and connection verification
- `neo4j.ExecuteQuery` — the recommended default for most queries
- Managed transactions (`session.ExecuteRead/Write`) for lazy streaming
- Explicit transactions (`session.BeginTransaction`) for multi-function coordination
- Error handling (`Neo4jError`, `ConnectivityError`, retry behavior)
- Data type mapping (Go ↔ Cypher) and safe record extraction
- Context propagation and timeout patterns
- Batch write pattern with `UNWIND`
- Causal consistency and bookmark management

## Version / compatibility

- Neo4j Go Driver **v6** (current stable)
- Go >= 1.21 recommended
- v5 aliases still compile in v6; migrate before v7

## Not covered

- **Cypher query authoring** → `neo4j-cypher-skill`
- **v5→v6 migration steps** → `neo4j-migration-skill`
- Advanced connection pool tuning → `references/advanced-config.md`
- Repository wrapper pattern → `references/repository-pattern.md`

## Install

```bash
go get github.com/neo4j/neo4j-go-driver/v6
```
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 323kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 323kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 323kUpdated Claude CodeCodexVerifiedInstall