run-migration-assessment
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRun Migration Assessment
运行迁移评估
The bundled references define the routing contracts for Azure, local readiness, and local SKU
sizing.
随附参考定义了 Azure、Local 就绪性和 Local SKU 选型的路由契约。
When to Use
使用时机
Use as the entry point for migration assessment requests when Azure versus Local,
or readiness versus SKU, still needs to be determined.
当仍需确定使用 Azure 还是 Local,或需区分就绪性评估与 SKU 选型时,使用此 skill 作为迁移评估请求的入口。
Workflow
工作流
Step 1: Identify the Server
第 1 步:识别服务器
Reuse known inputs. Determine only whether the source is Azure or Local:
- Azure identifiers or an Azure SQL Server resource URI -> Azure.
- IP, connection string, config file, or explicit on-premises/local wording -> Local.
- Bare server or instance name -> ask:
"Is a Local/on-premises SQL Server or an Azure SQL Server?"
{serverName}
Wait for the answer when the path is ambiguous. Do not resolve Azure resources,
check Local prerequisites, request credentials, select output folders, inspect
existing results, or run commands in this skill.
复用已知输入。只需确定源环境是 Azure 还是 Local:
- Azure 标识符或 Azure SQL Server 资源 URI -> Azure。
- IP、连接字符串、配置文件,或明确的本地部署/Local 表述 -> Local。
- 仅提供服务器或实例名称 -> 询问:
"是 Local(本地/本地部署)SQL Server,还是 Azure SQL Server?"
{serverName}
路径存在歧义时,等待用户回答。不要在此 skill 中解析 Azure 资源、检查 Local 先决条件、请求凭据、选择输出文件夹、检查现有结果或运行命令。
Step 2: Route Azure
第 2 步:路由至 Azure
Delegate to with all known context and the
user's original intent. That skill owns resource resolution, existing-result
handling, fresh execution, and output.
evaluate-azure-migration-assessment将所有已知上下文和用户原始意图委派给 。该 skill 负责资源解析、现有结果处理、全新执行和输出。
evaluate-azure-migration-assessmentStep 3: Route Local
第 3 步:路由至 Local
- Readiness or general assessment request -> delegate to
.
evaluate-offline-migration-readiness - Explicit performance collection or SKU-sizing request -> delegate to
.
recommend-sku-sizing
Pass all known context and the user's original intent. The delegated skill owns
host checks, prerequisites, connection details, output-folder selection,
existing-result handling, execution, and output.
- 就绪性或通用评估请求 -> 委派给 。
evaluate-offline-migration-readiness - 明确的性能数据收集或 SKU 选型请求 -> 委派给 。
recommend-sku-sizing
传递所有已知上下文和用户原始意图。被委派的 skill 负责主机检查、先决条件、连接详情、输出文件夹选择、现有结果处理、执行和输出。
Check it worked
检查是否成功
- Positive verification: Confirm exactly one owning skill was selected from the known source type and intent, and that all existing context was passed to it unchanged.
- Cleanup verification: Confirm this router created no credentials, temporary files, resources, or command executions before delegation.
- **正向验证:**确认已根据已知源类型和意图选择且仅选择一个负责的 skill,并且所有现有上下文均已原样传递。
- **清理验证:**确认在委派之前,此路由 skill 未创建凭据、临时文件或资源,也未执行任何命令。
Notes
注意事项
- Ask only whether the source is Azure or Local when that choice is ambiguous.
- Do not duplicate delegated-skill prerequisites or workflows here.
- Delegated skills own commands, errors, follow-up choices, and output formatting.
- 仅当 Azure 或 Local 的选择存在歧义时,才询问源环境。
- 不要在此处重复被委派 skill 的先决条件或工作流。
- 被委派的 skill 负责命令、错误、后续选项和输出格式。
Error Handling
错误处理
- Cannot determine Azure versus Local -> ask the user to select Azure or Local.
- Missing details after routing -> let the delegated skill request them.
- 无法确定 Azure 还是 Local -> 要求用户选择 Azure 或 Local。
- 路由后仍缺少必要详情 -> 由被委派的 skill 请求这些详情。