Holds canonical source and target environment parameters and verified DataStore mappings.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-skills-eda57e313b40 ,按照其中的说明把「migration-config-skill」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
This file serves as the single source of truth for Gemini Enterprise migrations. Administrators can fully configure source-to-target resource pairings by updating the YAML metadata frontmatter above.
Set your official canonical source and target project definitions under environments:
project_number: The numeric Google Cloud Project Number (e.g., 404109417257).engine_id: The fully qualified Discovery Engine app/engine ID.datastores_mapping)Map underlying knowledge search collections and grounding data stores (assigned under dataStoreSpecs) using their exact resource ID suffix:
datastores_mapping:
# Source ID -> Target ID
example-mcp-source_12345_mcp_data: example-mcp-target_67890_mcp_data
example-drive-source_12345_google_drive: example-drive-target_67890_google_drive
Note: Always use the fully qualified ID suffix (e.g., _google_drive, _mcp_data) to prevent substring truncation.
connectors_mapping)Map display aliases and frontend extension tool chips (assigned under selectedTools) to ensure visual rendering parity in the Agent Designer UI canvas:
connectors_mapping:
# Source UI Badge -> Canonical Target UI Token
"Example Source Connector": custom_mcp
"example-drive": Drive
Once configured, run live migrations or offline GCS imports directly:
# 1. Execute live cross-environment migration
uv run ./migrate.py migrate-agent "Quarterly Business Review Generator" --force
# 2. Import agent definition from GCS offline backup
uv run ./migrate.py import-agent-gcs quarterly_business_review_export.json --target-engine <TARGET_ENGINE_ID>