neo4j-migration-skill
Neo4j migration skill
This skill uses online guides to upgrade old Neo4j codebases. It handles all official Neo4j drivers.
When to use
Use this skill when:
- a user asks to upgrade a Neo4j driver in languages: .NET, Go, Java, Javascript, Python
Instructions
-
At the beginning, ALWAYS ask a user what Neo4j version is going to be used after the upgrade. Note, the Neo4j database's version is not upgraded as part of this skill, we just need that information a) If the user says that most recent, fetch the version from the supported version list along with the most recent driver version b) Otherwise, analyze the supported versions list and choose the most recent driver version for given Neo4j version
-
Analyze the codebase in order to determine what additional documentation to include, focus only on dependencies' files (e.g.
package.json,requirements.txt,pom.xmletc.). If the codebase uses Neo4j driver for:- .NET then include .NET migration guide
- Go then include Go migration guide
- Java then include Java migration guide
- Javascript/Node.JS then include Javascript migration guide
- Python then include Python migration guide
Important: when you plan the upgrade, always include replacement of deprecated functions in the plan