neo4j-cypher-skill
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNeo4j Cypher skill
Neo4j Cypher 技能
This skill uses online guides to upgrade old Neo4j queries to newer versions. It handles all official Cypher queries.
该技能借助在线指南将旧版Neo4j查询升级到新版本,支持所有官方Cypher查询的升级处理。
When to use
适用场景
Use this skill when:
- a user wants to upgrade a database from version 4.x or 5.x to 2025.x or 2026.x
- a user asks to upgrade Cypher queries to a newer major Neo4j version
满足以下条件时可使用本技能:
- 用户需要将数据库从4.x或5.x版本升级到2025.x或2026.x版本
- 用户提出要将Cypher查询升级到Neo4j的新主版本
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 to see if there are any Neo4j Cypher queries used. If so, include cypher migration guide
Important: when you plan the upgrade, always include replacement of deprecated functions in the plan