主题演讲演示部署演练
run-keynote-demo-1
准备、验证、演练或排查 SQLCon EU 2026 主题演讲演示 1(Azure Local 上的 Caldova Regional Care)的问题。用于运行演示 1 的设置、检查 SQL Server 2025 和 Foundry Local、验证 Azure Local 网关、启动转运中心应用,或引导锁定的演示者流程。
- License 许可
- MIT
- 最近更新
- 2026-11-01
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- run-keynote-demo-1
- description
- Prepare, validate, rehearse, or troubleshoot SQLCon EU 2026 Keynote Demo 1, Caldova Regional Care on Azure Local. Use when running the Demo 1 setup, checking SQL Server 2025 and Foundry Local, validating the Azure Local gateway, starting the transfer-center app, or guiding the locked presenter flow.
- argument-hint
- Mode: prepare, preflight, rehearse, or troubleshoot
03 SKILL.md 正文
Run Keynote Demo 1
Guide the user through the existing Caldova Regional Care demo. Treat the package README and demo runbook as the sources of truth. Use repository scripts as written; do not recreate their logic with ad hoc commands.
Safety Rules
- Never display or read into chat the kubeconfig, Kubernetes API key, database
scoped credential secret, database master-key password, or a literal key from
chatLanguageModels.json. - Never retrieve a Kubernetes Secret directly for inspection. Only the existing setup and database wrappers may consume it.
- Do not provision, restart, scale, or modify Azure Local, AKS Arc, Foundry Local, the model deployment, or portal resources.
- Do not bypass TLS validation or add
--insecure. - Ask for explicit confirmation before running an elevated setup, restarting SQL Server, initializing the database, invoking the live model, or generating a live receiving briefing.
- Never request a secret through chat. If a terminal prompts for one, tell the user to enter it directly in the terminal.
Select a Mode
Infer the mode from the request. If it is unclear, ask the user to choose:
prepare: configure a demo VM and database using existing infrastructure.preflight: perform non-destructive readiness checks before presenting.rehearse: guide the locked presentation sequence one beat at a time.troubleshoot: diagnose one failed gate without broad environment changes.
Prepare
-
Confirm the user is on the intended Windows demo VM and read setup guidance.
-
Check, without printing sensitive contents:
- PowerShell is elevated before setup.
C:\setup\SJ-SQLAI-admin.kubeconfigexists, or record the alternate path.- SQL Server 2025 is running.
az,kubectl,kubelogin,curl.exe,sqlcmd, and the .NET 10 SDK are available.
-
Explain that setup imports a root certificate and restarts SQL Server. After explicit confirmation, run from an elevated PowerShell terminal:
Set-Location C:\setup Set-ExecutionPolicy -Scope Process RemoteSigned .\Setup.ps1Pass documented overrides only when the user supplied them.
-
Require exit code 0 and
Setup completed successfully. -
Ask before invoking the live model. If approved, run
C:\setup\test.ps1and require trusted HTTPS plus HTTP 200 through SQL Server. A successful directcurlcall is not sufficient. -
From
demo1-azure-local, determine whetherCaldovaRegionalCarealready exists. Use-InitializeDatabaseonly for an absent database and only after explicit confirmation:.\database\Setup-CaldovaDatabase.ps1 -InitializeDatabaseFor an existing database, run the repeat-safe update without that switch.
-
Run the live AI validation only after separate confirmation:
.\database\Setup-CaldovaDatabase.ps1 -TestFoundryAi -
Build the application. Start
app\run.ps1as a long-running process only when the user asks to launch it.
Preflight
Perform checks without repairing or provisioning:
- Confirm the application responds at
http://localhost:5099. - Confirm
/api/healthreportsHealthyforCaldovaRegionalCare. - Confirm the MSSQL extension can connect to
localhostand databaseCaldovaRegionalCare. - Confirm the Azure portal is already signed in and the Azure Local VM, AKS cluster, and Azure Virtual Desktop resources are ready to show.
- Confirm Phi-3.5 Mini appears in the VS Code model picker. Do not send a clinical prompt.
- Report each gate as
PASS,FAIL, orNOT CHECKED. Stop on a failed gate and offer the smallest relevant repair from the documented scripts.
Rehearse
Follow the runbook's locked order exactly:
- Transfer Center application.
- Azure portal: Azure Local VM, AKS, and Azure Virtual Desktop.
- VS Code MSSQL connection and ordered database scripts.
- Native RegEx extraction.
- Approved
ai.Skillrow. - Transfer-skill procedure, JSON payload, and
sys.sp_invoke_external_rest_endpoint. - Phi-3.5 Mini in VS Code Chat.
For each beat, present only its Say, Show, and Land guidance, then wait for the user to continue. Do not execute setup or repair commands during a rehearsal. Do not expose credential rows when showing endpoint metadata.
Troubleshoot
- Start from the failed gate and its exact error.
- Read the owning script before proposing a change.
- Prefer rerunning a documented validation over changing infrastructure.
- Do not use
Connect-AksArc.ps1unless direct kubeconfig access failed and the user explicitly asks to troubleshoot Arc Cluster Connect. - End with the failed command, the evidence found, and the next documented action.
Completion Report
Report the selected mode, checks performed, commands run, gates passed, and any remaining manual step. Never include secret values in the report.
04 同仓库更多 Skills
主题演讲演示应用开发
keynote-demo-app
构建或扩展 SQLCon EU 2026 主题演讲演示应用,使其外观和行为与其他主题演讲应用一致。适用于创建新的演示视图(发票、运营、订单)、重新设计现有应用样式以保持一致、为故障排查演示添加刻意设计的数据库反模式,或通过托管标识将应用连接到 Azure SQL 或 Fabric SQL。触发词包括“让它看起来像主题演讲应用”“构建演示视图”“添加慢查询演示”“匹配 Caldova 样式”。
迁移后数据与架构校验
validate-post-migration-data
在将 SQL Server 迁移到 Azure SQL Database、Azure SQL Managed Instance 或 Azure VM 上的 SQL Server 之后,验证数据与架构。适用于迁移、还原、BACPAC 导入、LRS 完成、割接验证、行数比对或源端与目标端对账之后使用。
SQL Server 至 SQL MI 的 LRS 迁移
sql-server-to-sql-mi-lrs-migration
使用托管身份访问 Blob,通过日志重放服务(LRS)将 SQL Server 数据库迁移至 Azure SQL 托管实例。适用于 SQL Server 至 SQL MI、LRS、日志重放、持续还原或低停机时间的备份链迁移。
SQL Server 至 Azure SQL 数据库 BACPAC 迁移
sql-bacpac-to-azure-sql-db-migration
使用离线 BACPAC 工作流,将一个或全部用户数据库从 SQL Server 迁移至 Azure SQL Database。适用于 BACPAC、SqlPackage 导出/导入、批量数据库迁移或离线 Azure SQL Database 迁移请求。
SQL Server 备份还原迁移至 Azure SQL VM
sql-backup-restore-to-azure-sql-vm-migration
将 SQL Server 2008 至 SQL Server 2025 的源端迁移到任意运行位置的 SQL Server 2025 目标端(包括 Azure VM 上的 SQL Server):创建本地完整备份,使用 AzCopy 和操作员的 Microsoft Entra 身份将其上传到 Azure Blob Storage,然后使用目标 SQL Server 的托管标识从 URL 还原。比 SQL Server 2025 更新的源端会被阻止,因为目标端还原兼容性尚未验证。适用于 SQL-to-SQL、本地备份、AzCopy、托管标识、Azure SQL VM 或 SQL Server 2025 还原等迁移场景。
SQL Server 迁移评估请求路由
run-migration-assessment
用于路由泛化或未明确的 SQL Server 评估、就绪度、兼容性、成本和 SKU 推荐请求。当仅有裸服务器名称,或 Azure 与本地/本地部署(on-premises)未明确时使用该技能;先询问适用的源端类型,再进行转交。