neo4j-migration-skill
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNeo4j migration skill
Neo4j迁移Skill
This skill uses online guides to upgrade old Neo4j codebases. It handles all official Neo4j drivers.
本Skill利用在线指南升级旧的Neo4j代码库,支持所有官方Neo4j驱动。
When to use
适用场景
Use this skill when:
- a user asks to upgrade a Neo4j driver in languages: .NET, Go, Java, Javascript, Python
在以下情况使用本Skill:
- 用户要求升级以下语言的Neo4j驱动:.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.txtetc.). If the codebase uses Neo4j driver for:pom.xml- .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
-
分析代码库以确定需要包含哪些额外文档,仅需关注依赖文件(例如、
package.json、requirements.txt等)。如果代码库使用的Neo4j驱动对应:pom.xml- .NET 请包含.NET迁移指南
- Go 请包含Go迁移指南
- Java 请包含Java迁移指南
- Javascript/Node.JS 请包含Javascript迁移指南
- Python 请包含Python迁移指南
重要提示:制定升级计划时,务必将废弃函数的替换逻辑纳入计划中。